07-08-2018, 06:06 AM | #1 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2018
Device: Tolino
|
Server doesn't start after update to 3.27.1 - python libs missing
Hello,
I've upgraded my calibre installation on my server to 3.27.1 but when I want to start the server (calibre-server) it complains about missing libraries: Code:
IOError: [Errno 2] File or Folder not found: '/opt/calibre/lib/python2.7/imgsrc/srv/generate.py' |
07-08-2018, 08:00 AM | #2 |
creator of calibre
Posts: 44,313
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
It should not be calling generate.py at all. Can you post the full traceback?
|
Advert | |
|
07-08-2018, 08:40 AM | #3 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2018
Device: Tolino
|
Sure
For debugging purposes I started the calibre server in foreground. Normally it is started by system during boot. Code:
root@server:/opt# LIBRARY_PATH='/srv/calibre-library' && PORT='4711' && /usr/bin/calibre-server --auto-reload --port $PORT $LIBRARY_PATH Auto-restarting server on changes press Ctrl-C to quit Watching 1 directory trees for changes Traceback (most recent call last): File "site.py", line 77, in main File "site-packages/calibre/srv/standalone.py", line 199, in main File "site-packages/calibre/srv/auto_reload.py", line 407, in auto_reload File "site-packages/calibre/srv/auto_reload.py", line 266, in __enter__ File "site-packages/calibre/srv/auto_reload.py", line 300, in restart File "site-packages/calibre/utils/rapydscript.py", line 206, in compile_srv IOError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/opt/calibre/lib/python2.7/imgsrc/srv/generate.py' |
07-08-2018, 08:46 AM | #4 |
creator of calibre
Posts: 44,313
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That indicates that for some reason it is rebuilding the server data. Are the dates messed up on your system? Try re-installing calibre, that should take care of it.
|
07-08-2018, 08:48 AM | #5 |
creator of calibre
Posts: 44,313
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Oh and dont use --auto-reload that is for development purposes only
|
Advert | |
|
07-08-2018, 08:54 AM | #6 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2018
Device: Tolino
|
I'm trying to upgrade from a previous version (2.85.1). And it is installed on a non gui system. The installations works fine except of a warning that an entry in the user menu cannot be done.
I'll try to reinstall in a complete new folder and --auto-reload is removed from start script now |
07-08-2018, 08:58 AM | #7 |
Junior Member
Posts: 6
Karma: 10
Join Date: Jul 2018
Device: Tolino
|
I deleted the calibre server folder and installed it the manual way as described on the download page. Now it is working fine - thanks a lot
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Python error when accessing content server with calibredb | drawson1 | Library Management | 1 | 06-19-2018 12:08 PM |
After update server doesn't show covers? | JacobMIX | Calibre | 3 | 07-24-2017 06:10 AM |
Calibre-server doesn't update books list without stop/start service | gonzalo.cao | Calibre | 2 | 07-12-2017 08:34 AM |
calibre-server: Doesn't server up newly added files | kaistian | Calibre | 5 | 03-17-2013 11:54 AM |
A Problem [Python errors and failing to start in Linux] | Newby | Calibre | 21 | 01-27-2011 06:08 AM |