07-28-2018, 09:16 AM | #1 |
Member
Posts: 16
Karma: 10
Join Date: Jul 2018
Device: Kobo Aura HD
|
Error when reading config file in Linux
Hello,
I am having trouble with running Calibre server on VPS. I copied existing library from my local PC to home folder on VPS. When I try to start server with command Code:
calibre-server --with-library ~/doom/Library Code:
No write acces to /home/doom/.config/calibre using a temporary dir instead Traceback (most recent call last): File "site.py", line 75, in main File "site-packages/calibre/srv/standalone.py", line 13, in <module> File "site-packages/calibre/db/legacy.py", line 18, in <module> File "site-packages/calibre/db/backend.py", line 34, in <module> File "site-packages/calibre/utils/img.py", line 18, in <module> ImportError: libGL.so.1: cannot open shared object file: No such file or directory |
07-28-2018, 10:21 AM | #2 | |
Wizard
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
What version of calibre?
Also give calibre Read/Write privileges for /doom/Library. bernie Quote:
|
|
Advert | |
|
07-28-2018, 10:40 AM | #3 |
Member
Posts: 16
Karma: 10
Join Date: Jul 2018
Device: Kobo Aura HD
|
Changing permissions worked. Thank you for that.
Now I am facing new problem. After issuing command as in my first post I get Code:
Usage: calibre-server [options] [path to library folder...] Start the calibre Content server. The calibre Content server exposes your calibre libraries over the internet. You can specify the path to the library folders as arguments to calibre-server. If you do not specify any paths, all the libraries that the main calibre program knows about will be used. Whenever you pass arguments to calibre-server that have spaces in them, enclose the arguments in quotation marks. For example: "/some path/with spaces" Code:
calibre-server /home/doom/Library Code:
calibre server listening on 0.0.0.0:8080 OPDS feeds advertised via BonJour at: 54.xx.xx.xxx port: 8080 I forgot to add I use latest version of Calibre as of today Last edited by dator; 07-28-2018 at 10:44 AM. |
07-28-2018, 12:03 PM | #4 | |
Wizard
Posts: 2,082
Karma: 8796704
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
|
With the latest calibre you do not need to pass the library argument. Just use
Code:
calibre-server Just click on the library you wish to see. bernie Quote:
|
|
07-28-2018, 11:17 PM | #5 |
Bibliophagist
Posts: 35,513
Karma: 145557716
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Forma, Clara HD, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Hmmm... why is your calibre-server listening on IP address 0.0.0.0 is the first question that pops to mind.
|
Advert | |
|
07-28-2018, 11:34 PM | #6 |
Wizard
Posts: 3,108
Karma: 60231510
Join Date: Nov 2011
Location: Australia
Device: Kobo Aura H2O, Kindle Oasis, Huwei Ascend Mate 7
|
What do you mean when you say "no access to calibre library". Is this a message you get in your browser. What address are you trying to access? (Don't post the full address please).
|
07-29-2018, 05:09 PM | #7 | |
Member
Posts: 16
Karma: 10
Join Date: Jul 2018
Device: Kobo Aura HD
|
Quote:
Code:
https://www.mobileread.com/forums/showthread.php?t=288408 Code:
sudo calibre-server --userdb /home/myuser/.config/calibre/server-users.sqlite --manage-users Thank you for your help. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Asset Folder Reading File Not found Exception Error | rajaramanperumal | General Discussions | 2 | 06-17-2012 03:13 AM |
Fontconfig error: Cannot load default config file | krischik | Calibre | 4 | 02-17-2012 09:48 AM |
Install fails: Error reading from file | jasonheyd | Calibre | 1 | 10-22-2011 10:26 AM |
Editing config file | James_Wilde | Sigil | 4 | 12-11-2010 10:22 AM |
Fontconfig error: Cannot load default config file | kdbdallas | Calibre | 11 | 09-06-2010 05:32 PM |