![]() |
#1 |
Member
![]() Posts: 16
Karma: 10
Join Date: Jul 2018
Device: Kobo Aura HD
|
Unable to start calibre server
There is open thread to enable HTTPS on calibre server and I didn't want to spam it so I decided open this one.
I created self signed SSL certificate and when i try to start calibre server I get this error Code:
xxxxx@xxxxxx:~$ sudo systemctl status calibre.service ● calibre.service - Calibre Service Loaded: error (Reason: Invalid argument) Active: inactive (dead) Aug 17 13:43:25 xxxxxx systemd[1]: Stopped Calibre Service. Aug 17 13:43:44 xxxxxx systemd[1]: [/lib/systemd/system/calibre.service:12] Missing '='. Code:
--ssl-certfile /etc/apache2/ssl/apache.crt \ --ssl-keyfile /etc/apache2/ssl/apache.key \ |
![]() |
![]() |
![]() |
#2 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2018
Location: New Jersey, USA
Device: iPad
|
Can you post the rest of your service file?
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() Posts: 16
Karma: 10
Join Date: Jul 2018
Device: Kobo Aura HD
|
Sure.
Code:
[Unit] Description=Calibre Service After=network.target [Service] Type=simple User=xxxxxx Group=xxxxxx ExecStart=/usr/bin/calibre-server\ --max-opds-items=30\ --max-opds-ungrouped-items=100\ --port 8282 \ --log=/home/xxxxxx/calibre.log \ --enable-auth \ "/home/xxxxxx/xxxxxx" --ssl-certfile /etc/apache2/ssl/apache_test.crt \ --ssl-keyfile /etc/apache2/ssl/apache_test.key \ [Install] WantedBy=multi-user.target Last edited by dator; 08-19-2018 at 06:57 AM. |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,221
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You execstart directive is wrong. THe two lines need to be added to the rest of the options, not a tht end by themselves.
|
![]() |
![]() |
![]() |
#5 | |
Member
![]() Posts: 16
Karma: 10
Join Date: Jul 2018
Device: Kobo Aura HD
|
Quote:
One more question. When I connect to my library, web browser reports Code:
https://library_ip_adress/port_number certificate does not have valid HTTPS certificate. This maybe caused by... |
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,171
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
|
![]() |
![]() |
![]() |
#7 |
Member
![]() Posts: 16
Karma: 10
Join Date: Jul 2018
Device: Kobo Aura HD
|
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,171
Karma: 8800000
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
Each browser is different, different versions of the same browsers are different. Just have to look it up in the help.
For example FireFox 61. You will have to follow he links. Will led you to this page See Self-signed certificate. bernie |
![]() |
![]() |
![]() |
#9 |
Member
![]() Posts: 19
Karma: 10
Join Date: Jul 2013
Device: Android phone
|
Or use letsencrypt certificate, it's free and authority signed
|
![]() |
![]() |
![]() |
#10 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Aug 2018
Location: New Jersey, USA
Device: iPad
|
That's what I did. It's really easy to set up using the certbot cli tool, and I can verify that after setup you won't get that warning for the latest version of Firefox on Fedora 28. I used the standalone option because I don't have a proxy properly set up yet.
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre server won't start, but why? | sciurius | Related Tools | 5 | 02-11-2018 10:33 PM |
Calibre server won't start! | Moketa | Calibre | 6 | 05-24-2012 07:31 PM |
Calibre server wont start ...help please | StefTeamEdward | Calibre | 20 | 05-17-2010 12:05 PM |
Calibre Unable to fetch Metadata from the server | estrovichm | Calibre | 8 | 12-04-2009 01:02 AM |
Unable to start Calibre after reinstall | cuffy | Calibre | 2 | 03-26-2009 01:51 PM |