Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 08-29-2018, 12:55 PM   #1
username0504
Junior Member
username0504 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2018
Device: none
Failed to communicate with interface error on ubuntu server

I installed Calibre and did the following steps. https://calibre-ebook.com/download_linux

1.
Code:
sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin
(so root is the owner of /opt/calibre/)

2. I created my directory for my books and unsorted books. I ran
Code:
calibredb add /media/toadd/* --library-path /media/library
which imported all my books. I also changed the permissions of these directories to the user which will run the service.

3. As shown here, I created the service file for my system, with the user from before.

My only difference is:
Code:
ExecStart=/opt/calibre/calibre-server --port=8081 "/media/library"
4. Everything was working, except I wanted admin ability to edit the library. I saw I had to create users, so I ran this
Quote:
calibre-server --userdb ~/calibre/users.sqlite --manage-users
5. I updated my calibre-server.service file to this:
Quote:
ExecStart=/opt/calibre/calibre-server --port=8081 --userdb ~/calibre/users.sqlite --enable-auth "/media/library"
Everything was working, got prompted for a user/pass. which I submitted.

Now, after logging in, I get the following error:
Quote:
Failed to communicate with "/interface-data/init?1535559912493", with status: [500] Internal Server Error
I even tried changing my ownership of /opt/calibre to the same user running the service. No luck. Same error
Not sure what's going on....

Last edited by username0504; 08-29-2018 at 12:56 PM. Reason: clarity
username0504 is offline   Reply With Quote
Old 08-29-2018, 03:09 PM   #2
username0504
Junior Member
username0504 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Aug 2018
Device: none
Some success. it doesn't like

Quote:
~/calibre/users.sqlite
Must be hard coded
username0504 is offline   Reply With Quote
Old 08-29-2018, 09:56 PM   #3
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://github.com/kovidgoyal/calibr...039c4e27c80236
kovidgoyal is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre-server log in Ubuntu showing unexpected "failed login attempt" messages sparker Related Tools 2 04-16-2018 07:11 PM
Failed to communicate with "/interface-data/init? Network Error? bcantrell Devices 3 01-31-2018 10:38 AM
Failed feed: Tips_<urlopen error [Errno 11004] getaddrinfo failed> Danesh Recipes 4 03-19-2015 03:45 AM
Can epub files communicate with a server? peyenko Workshop 1 09-05-2013 12:16 PM
Calibre Content Server error in Ubuntu 10.10 Bodman456 Calibre 1 07-07-2010 03:26 PM


All times are GMT -4. The time now is 12:58 PM.


MobileRead.com is a privately owned, operated and funded community.