View Single Post
Old 12-23-2018, 03:58 PM   #9
dator
Member
dator began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Jul 2018
Device: Kobo Aura HD
Quote:
Originally Posted by yourrable View Post
This article may help:
https://www.liquidweb.com/kb/error-9...ubuntu-solved/

Why are you running calibre-server from port 80?
Thank you for pointing me in right direction, yourrable.

Strangely I'm experiencing more problems. I simply can't start calibre server. Here's the error

Code:
user@xxx:~$ sudo systemctl status calibre.service
● calibre.service - Calibre Service
   Loaded: error (Reason: Invalid argument)
   Active: inactive (dead)


Dec 24 09:30:39 xxx systemd[1]: [/lib/systemd/system/calibre.service:12] Unknown lvalue '--max-opds-ungrouped-items' in section 'Se
Dec 24 09:30:39 xxx systemd[1]: [/lib/systemd/system/calibre.service:13] Unknown lvalue '--port 8283  --log' in section 'Service'
Dec 24 09:30:39 xxx systemd[1]: [/lib/systemd/system/calibre.service:14] Missing '='.
Dec 24 09:31:35 xxx systemd[1]: [/lib/systemd/system/calibre.service:11] Unknown lvalue '--max-opds-items' in section 'Service'
Dec 24 09:31:35 xxx systemd[1]: [/lib/systemd/system/calibre.service:12] Missing '='.
Dec 24 09:41:15 xxx systemd[1]: [/lib/systemd/system/calibre.service:11] Unknown lvalue '--max-opds-items' in section 'Service'
Dec 24 09:41:15 xxx systemd[1]: [/lib/systemd/system/calibre.service:12] Unknown lvalue '--max-opds-ungrouped-items' in section 'Se
Dec 24 09:41:15 xxx systemd[1]: [/lib/systemd/system/calibre.service:13] Missing '='.
Dec 24 09:50:38 xxx systemd[1]: [/lib/systemd/system/calibre.service:11] Missing '='.
Dec 24 09:50:38 xxx systemd[1]: [/lib/systemd/system/calibre.service:11] Missing '='.
My configuration is as follow

Code:
[Unit]
Description=Calibre Service
After=network.target

[Service]
Type=simple
User=xxx
Group=calibre

ExecStart=/usr/bin/calibre-server\
--max-opds-items=30\
--max-opds-ungrouped-items=100\
--port 8282 \
--log=/logfile/.log \
--enable-auth \
--ssl-keyfile /etc/letsencrypt/live/domain/privkey.pem \
--ssl-certfile /etc/letsencrypt/live/domain/fullchain.pem \

"/path/to /library"

[Install]
WantedBy=multi-user.target
I'm really puzzled right now.

Last edited by dator; 12-24-2018 at 04:17 AM.
dator is offline   Reply With Quote