Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 07-11-2017, 12:12 PM   #1
BMStroh
Junior Member
BMStroh began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2012
Device: iPad
calibre-server 3.3 on Ubuntu

I was running Calibre Server on a headless Ubuntu box, but I haven't upgraded in a while. I just downloaded the new version, and my existing startup scripts in init.d no longer work. I quickly realized that the command line had changed, and updated the scripts accordingly, but calibre-server doesn't appear to start, although both service and systemctl seem to think it does - startup is logged, although no additional detail is logged anywhere. However, the process is not running.

Is there somewhere other than the system log where I can figure out what's happening during these failed startups?

Or if you've gotten something similar working, would you be willing to share your config/scripts?

I should also add that this works from the command-line (albeit as the wrong user account, since I can't log in with the normal service account), so I assume I'm not missing dependencies, etc.

Thanks!
BMStroh is offline   Reply With Quote
Old 07-11-2017, 12:37 PM   #2
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: 45,334
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Errors before the main loop is started are logged to stderr and after the main loop is started to whtaever you supplied as --log which also defaults to stderr. systemd logs stderr to its journal so look there. If you are using some other init system, you'll have to figure out where it keeps stderr or manually redirect stderr in your startup command.
kovidgoyal is offline   Reply With Quote
Advert
Old 07-11-2017, 12:58 PM   #3
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,181
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by BMStroh View Post
I was running Calibre Server on a headless Ubuntu box, but I haven't upgraded in a while. I just downloaded the new version, and my existing startup scripts in init.d no longer work. I quickly realized that the command line had changed, and updated the scripts accordingly, but calibre-server doesn't appear to start, although both service and systemctl seem to think it does - startup is logged, although no additional detail is logged anywhere. However, the process is not running.

Is there somewhere other than the system log where I can figure out what's happening during these failed startups?

Or if you've gotten something similar working, would you be willing to share your config/scripts?

I should also add that this works from the command-line (albeit as the wrong user account, since I can't log in with the normal service account), so I assume I'm not missing dependencies, etc.

Thanks!
See this thread.

bernie
gbm is offline   Reply With Quote
Old 07-11-2017, 05:51 PM   #4
BMStroh
Junior Member
BMStroh began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2012
Device: iPad
Thanks!

After fighting with this for quite a while last night, I grabbed the service file from gbm and put it in place - fired up first time.

I think I may have had dueling init systems, because I also deleted the file from init.d before creating the .service file.

Either way, I'm back in business. Thanks, folks!
BMStroh is offline   Reply With Quote
Old 07-11-2017, 11:28 PM   #5
BMStroh
Junior Member
BMStroh began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2012
Device: iPad
Looks like I spoke too soon - on ios9 Safari, I get an Unhandled Error - TuoeWrror Attempted to assign to readonly property. Error at <server>:<port>/:8844:26 followed by a NotFoundError: DOM IDBDatabase Exception 8: An operation failed because the requested database object could not be found. Error at <server>:<port>/:9372:44

On the server, logs show: Failed to send all data in state: State: write_chunk Client: 1
92.168.128.40:58953 Request: GET /interface-data/books-init?li
brary_id=CalibreLibrary&sort=timestamp.desc&149980 9672113 HTTP
/1.1 with error: [Errno 32] Broken pipe

Is caliber-server compatible with older Safari versions?
BMStroh is offline   Reply With Quote
Advert
Old 07-11-2017, 11:32 PM   #6
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: 45,334
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
https://manual.calibre-ebook.com/ser...rowser-support
kovidgoyal is offline   Reply With Quote
Old 07-14-2017, 10:41 AM   #7
BMStroh
Junior Member
BMStroh began at the beginning.
 
Posts: 7
Karma: 10
Join Date: May 2012
Device: iPad
Thanks, Kovid - should have done more homework on requirements up front vs. searching for the error messages.
BMStroh is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
installing Calibre content server 3 on ubuntu server 16_04 khyox Calibre 22 01-06-2018 11:34 PM
ubuntu calibre server on xenial 16.04 mrdrew Devices 7 09-08-2016 11:59 AM
Calibre on ubuntu server tdw197 Calibre 24 01-19-2011 07:48 AM
Calibre crashes X server (Ubuntu 10.10) mfabry Calibre 9 10-15-2010 04:12 PM
Calibre RuntimeError on Ubuntu 8.04 Server alexbt Calibre 3 10-13-2009 04:26 AM


All times are GMT -4. The time now is 10:21 PM.


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