I recently had the same error after upgrading calibre.
It appears that the options for calibre-server have changed. I updated my service file to the following and everything seems to work fine now:
Code:
[Unit]
Description=Calibre (ebook manager) content server service
After=network.target
[Service]
Type=forking
PIDFile=/var/run/calibre-server.pid
ExecStart=/usr/bin/calibre-server \
--daemonize \
--log=/home/<USERNAME>/calibre.log \
--max-opds-items=30 \
--max-opds-ungrouped-items=100 \
--port=8080 \
--pidfile=/var/run/calibre-server.pid \
/<LIBRARY PATH>/
[Install]
WantedBy=multi-user.target
Replace <USERNAME> with your username (I.e. joe)
Replace <LIBRARY PATH> with the path to your library (I.e. media/eBooks )
Note: I left the leading and trailing "/" in the code above so make sure you do
not end up with //media/eBooks//, the line should read /media/eBooks/ for your example.
You will need to create a log file called calibre.log or you will get an error:
Code:
touch /home/<USERNAME>/calibre.log
You will need to reload your systemctrl daemons to get the updated file to work
Code:
systemctl daemon-reload
Then start your system service normally.
I hope this helps.