Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 06-29-2020, 03:49 AM   #1
twinkybot
Member
twinkybot began at the beginning.
 
twinkybot's Avatar
 
Posts: 11
Karma: 10
Join Date: Jul 2017
Device: Tolino Vision 2
Update to 4.19.0 broke with Ubuntu

Hi there,
after updating I cannot start Calibre anymore. The error is:

Quote:
Process: 10321 ExecStart=/usr/bin/calibre-server /media/Data/calibre --daemonize --userdb /media/Data/calibre-data/users.sqlite --enable-auth --auth-mode=basic --max-opds-items=30 --max-opds-ungr

Jun 29 09:37:26 heureka calibre-server[10321]: File "site-packages/calibre/utils/config_base.py", line 460, in __setitem__
Jun 29 09:37:26 heureka calibre-server[10321]: File "site-packages/calibre/utils/config_base.py", line 474, in set
Jun 29 09:37:26 heureka calibre-server[10321]: File "site-packages/calibre/utils/config_base.py", line 399, in set
Jun 29 09:37:26 heureka calibre-server[10321]: File "site-packages/calibre/utils/config_base.py", line 124, in make_config_dir
Jun 29 09:37:26 heureka calibre-server[10321]: File "os.py", line 150, in makedirs
Jun 29 09:37:26 heureka calibre-server[10321]: File "os.py", line 157, in makedirs
Jun 29 09:37:26 heureka calibre-server[10321]: OSError: [Errno 13] Keine Berechtigung: '/home/Data'
Jun 29 09:37:26 heureka systemd[1]: calibre.service: Control process exited, code=exited status=1
Jun 29 09:37:26 heureka systemd[1]: calibre.service: Failed with result 'exit-code'.
Jun 29 09:37:26 heureka systemd[1]: Failed to start Calibre Service.
The service file looks like this:
Code:
[Unit]
Description=Calibre Service
After=network.target

[Service]
Type=forking
User=calibre
Group=mediaservice
Environment="CALIBRE_CONFIG_DIRECTORY=/home/Big/calibre-data"
PIDFile=/media/Data/calibre/calibre-server.pid
ExecStart=/usr/bin/calibre-server "/media/Data/calibre" \
                --daemonize \
                --userdb /media/Data/calibre-data/users.sqlite \
                --enable-auth \
                --auth-mode=basic \
                --max-opds-items=30 \
                --max-opds-ungrouped-items=100 \
                --port=49150 \
                --pidfile=/media/Data/calibre/calibre-server.pid \
                --max-log-size=1000 \
                --log=/media/Data/calibre-data/calibre.log
ExecStop=/usr/bin/kill -15 $MAINPID

[Install]
WantedBy=multi-user.target
I am wondering where this path is coming from:
Quote:
Jun 29 09:37:26 heureka calibre-server[10321]: OSError: [Errno 13] Keine Berechtigung: '/home/Data'
Has anyone an idea?
twinkybot is offline   Reply With Quote
Old 06-29-2020, 03:58 AM   #2
twinkybot
Member
twinkybot began at the beginning.
 
twinkybot's Avatar
 
Posts: 11
Karma: 10
Join Date: Jul 2017
Device: Tolino Vision 2
Sorry people. I found the path error. it was my "Environment" line in the service file. But it also works without it. But after upgrading it was broken and showed in the logs that it can't write to the proper path.

But actually the error in itsel is gone. Maybe it was removing Python 2 and installing python-is-python3 whch helped because I can start the service again.
twinkybot is offline   Reply With Quote
Advert
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
New Update broke ability to write with hand on surface? bsabiston Onyx Boox 4 01-20-2020 04:06 PM
Sigil update on Linux (Ubuntu) 0.9.12 to 0.9.13 Typographer Sigil 2 04-20-2019 06:15 AM
ubuntu 18.04 update problem rjwse@aol.com Editor 1 07-24-2018 08:39 AM
How do I update Calibre in Ubuntu? baron164 Calibre 8 06-12-2018 09:01 AM
Update, Error message on Ubuntu 12.04 Lanson Devices 12 07-03-2016 06:04 PM


All times are GMT -4. The time now is 10:16 PM.


MobileRead.com is a privately owned, operated and funded community.