FAQ  •  Register  •  Login

upgrade to 1.9.2 on debian does not work

<<

enzephalon

Serviio newbie

Posts: 6

Joined: Wed Oct 17, 2018 1:46 pm

Post Wed Oct 17, 2018 1:50 pm

upgrade to 1.9.2 on debian does not work

Hello
I've a running serviio server 1.8 on Debian linux. Running fine and stable.
Tried today to upgrade to 1.9.2.
Stopped service. Changed the symlink to new serviio-1.9.2/ path, copied "library" from old to new path and started service.
Service shortly stops, here the part from log-file:

serviiio.log
  Code:
2018-10-17 15:26:22,976 WARN  [DBConnectionPool] Can't create a new connection for jdbc:derby:db;create=true
java.sql.SQLException: No suitable driver found for jdbc:derby:db;create=true


derby.log
  Code:
Wed Oct 17 15:22:23 CEST 2018 Thread[PlaylistMaintainerThread,2,main] Shutting down due to severe error.Cannot log transaction changes, maybe trying to write to a read only database.
----------------------------------------------------------------
Wed Oct 17 15:22:23 CEST 2018: Shutting down Derby engine
----------------------------------------------------------------
Wed Oct 17 15:22:23 CEST 2018:
Shutting down instance a816c00e-0166-8230-62f5-ffffcdc429f7 on database directory /usr/local/serviio-1.9.2/library/db with class loader sun.misc.Launcher$AppClassLoader@2ff4acd0
Wed Oct 17 15:22:23 CEST 2018 Thread[Thread-91,5,main] Cleanup action starting
java.sql.SQLException: Failed to start database 'db' with class loader sun.misc.Launcher$AppClassLoader@2ff4acd0, see the next exception for details.


All file-attributes are ok - same as for 1.8-installation!

Switched back to 1.8 -> runs stable.
switched another time to 1.9.2 -> crashes.

JAVA:
  Code:
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)


Can you help?

Best regards
Johannes
<<

zip

User avatar

Serviio developer / Site Admin

Posts: 17212

Joined: Sat Oct 24, 2009 12:24 pm

Location: London, UK

Post Wed Oct 17, 2018 8:04 pm

Re: upgrade to 1.9.2 on debian does not work

a full serviio.log pls
<<

enzephalon

Serviio newbie

Posts: 6

Joined: Wed Oct 17, 2018 1:46 pm

Post Thu Oct 18, 2018 7:12 am

Re: upgrade to 1.9.2 on debian does not work

Hello

I will try...

Must attach file...

Best regards
Johannes
Attachments
serviio.log
(201.73 KiB) Downloaded 211 times
<<

enzephalon

Serviio newbie

Posts: 6

Joined: Wed Oct 17, 2018 1:46 pm

Post Thu Oct 18, 2018 9:47 am

Re: upgrade to 1.9.2 on debian does not work

Found the fail!

The directory I copied to /usr/local/ had a sticky bit, permissions are drwx r-s r-x . So all directories in this directory had this permission. And this was the fault!
After doing a bunch of tries to remove this bit I ended up with:

  Code:
chmod 0700 serviio-1.9.2/
chmod -s serviio-1.9.2/
chmod 0755 serviio-1.9.2/


After this the server started correctly and did his job well.

Thankx
Johannes

Return to Serviio Support & Help

Who is online

Users browsing this forum: Google [Bot] and 90 guests

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.