View Single Post
Old 09-29-2021, 01:45 AM   #1
sirajahmad
Junior Member
sirajahmad began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2021
Device: none
calibre newbie trying to start server

Hi!

I am a completely newbie trying to start calibre on my server.
I had a working installation on my server setup by another developer last week.
Yesterday my SSL certificate expired, the developer was not available and I tried to renew the SSL. I had no SSH access to the server (Digital Ocean), so I ended up resetting the root password by using the recovery console.

When I gained access to the server, all the previous command history were gone. Although I have renewed the SSL certificate, now I am unable to start the calibre.

I have been digging through the forum for past 4 hours now. Here's some of the useful item I have found on the server which might be helpful in debugging.

1. " calibre-debug --paths" returns:

CALIBRE_RESOURCES_PATH=/opt/calibre/resources
CALIBRE_EXTENSIONS_PATH=/opt/calibre/lib/python2.7/site-packages/calibre/plugins
CALIBRE_PYTHON_PATH=/opt/calibre/lib/python2.7:/opt/calibre/lib/python2.7/plat-linux2:/opt/calibre/lib/python2.7/lib-dynload:/opt/calibre/lib/python2.7/site-packages

2. I have following files in /root directory:

drwxr-xr-x 3 root root 4096 Mar 9 2017 03-10-17
-rw-r--r-- 1 root root 72983 Mar 10 2017 bkp.tar.gz
drwxr-xr-x 3 root root 4096 Apr 19 2016 data
-rw-r--r-- 1 root root 108980806 Mar 10 2017 data.tar.gz
drwxr-xr-x 3 root root 4096 Jul 22 2017 Downloads
drwxr-xr-x 5 root root 4096 Oct 26 2019 epub
drwxr-xr-x 8 root root 4096 Sep 29 04:45 folleto-library

3. "calibre-server /root/folleto-library/" returns

There is no calibre library at: /root/folleto-library/

4. " calibre-server --enable-local-write" returns

You must specify at least one calibre library


5. "calibre-server --with-library "/root/folleto-library" --port=8080" returns

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"

calibre-server: error: no such option: --with-library


6. The installed version is :

calibre-server (calibre 3.4)


I'm not sure how much these information would be helpful, but any help would be really appreciated.

Thank you
sirajahmad is offline   Reply With Quote