Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 07-18-2017, 10:35 AM   #1
kermie004
Junior Member
kermie004 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2017
Device: nook simple touch glow light
Unhappy New linux user w/ upgrade issues

I'm new to server admin and linux. I upgraded my calibre server today using the command from the calibre website and I broke the server. I'm getting a 503 error. Is anyone willing to help a noob?
kermie004 is offline   Reply With Quote
Old 07-18-2017, 01:42 PM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,508
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
If you've moved from Calibre 2.x to Calibre 3.x you'd better read up on the changes.

Sent from my Nexus 7 using Tapatalk
PeterT is offline   Reply With Quote
Advert
Old 07-18-2017, 05:41 PM   #3
kermie004
Junior Member
kermie004 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2017
Device: nook simple touch glow light
Quote:
Originally Posted by PeterT View Post
If you've moved from Calibre 2.x to Calibre 3.x you'd better read up on the changes.

Sent from my Nexus 7 using Tapatalk
That's what I'm finding out. But I can't find a source that gives me all the information I need. For instance, I'm in the calibre manual, but I'm thinking I have to update the /etc/calibre/global.py file, but in all my searching no source has mentioned that.
kermie004 is offline   Reply With Quote
Old 07-18-2017, 08:34 PM   #4
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by kermie004 View Post
That's what I'm finding out. But I can't find a source that gives me all the information I need. For instance, I'm in the calibre manual, but I'm thinking I have to update the /etc/calibre/global.py file, but in all my searching no source has mentioned that.
At the OFFICIAL Calibre download site, click 'Whats new'
There is a history of releases there, so you know at what point a feature changed or was added
theducks is offline   Reply With Quote
Old 07-19-2017, 01:15 PM   #5
kermie004
Junior Member
kermie004 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2017
Device: nook simple touch glow light
THis is the error I get when trying to start the server. Can anyone help?

kermie004 is offline   Reply With Quote
Advert
Old 07-19-2017, 06:39 PM   #6
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,183
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
https://manual.calibre-ebook.com/ser...n-linux-system

Command line commands

https://manual.calibre-ebook.com/gen...re-server.html

New in calibre 3.0

bernie
gbm is offline   Reply With Quote
Old 07-19-2017, 08:21 PM   #7
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,508
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Can't help but wonder why you sudo calibre-server?

Especially without setting the environment

Sent from my Nexus 7 using Tapatalk
PeterT is offline   Reply With Quote
Old 07-19-2017, 11:55 PM   #8
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,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
That error does not prevent the server from running, just BonJour from working. It will happen if calibre fails to determine an IP address to advertise via BonJour.
kovidgoyal is offline   Reply With Quote
Old 07-21-2017, 12:05 PM   #9
kermie004
Junior Member
kermie004 began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Jul 2017
Device: nook simple touch glow light
Why is the service usually "inactive"?





Quote:
Originally Posted by PeterT View Post
Can't help but wonder why you sudo calibre-server?

Especially without setting the environment

Sent from my Nexus 7 using Tapatalk
As you can see, I clearly don't know what I'm doing. ;-) What do you mean by "setting the environment"?
kermie004 is offline   Reply With Quote
Old 07-21-2017, 12:45 PM   #10
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,508
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Forgive me. I was confusing sudo and su!

Sent from my Nexus 7 using Tapatalk
PeterT is offline   Reply With Quote
Old 07-24-2017, 01:28 PM   #11
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
And what is the difference between sudo and su?

One (su) allows you to change users by authenticating as the user you are changing to, and the other (sudo) allows you to change users by authenticating as yourself and being granted permission to do so via a sudoers(5) policy.

...

And really, you shouldn't be using either one, since systemctl status does not require elevated permissions. If you were enabling or starting the service, that would require elevated permissions, assuming you aren't using systemctl --user to manage a service from your systemd user session.
eschwartz is offline   Reply With Quote
Old 02-11-2021, 08:34 AM   #12
alfexyn
Junior Member
alfexyn began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2021
Device: iPad
Quote:
Originally Posted by kovidgoyal View Post
That error does not prevent the server from running, just BonJour from working. It will happen if calibre fails to determine an IP address to advertise via BonJour.
Is there a possibility to configure the IP address used for advertisment via Bonjour? Following use-case where this makes sense: Calibre Server is running in a container and therefore the server process has no chance to determine the IP address.
alfexyn is offline   Reply With Quote
Old 02-11-2021, 09:15 AM   #13
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by alfexyn View Post
Is there a possibility to configure the IP address used for advertisment via Bonjour? Following use-case where this makes sense: Calibre Server is running in a container and therefore the server process has no chance to determine the IP address.
For the content server: Preferences / Sharing over the net / Advanced / The interface on which to listen for connections. For the wireless device: Preferences / Plugins / Device Interface / SmartDevice, Customize plugin, Use this IP address.
chaley is offline   Reply With Quote
Old 02-13-2021, 06:31 AM   #14
alfexyn
Junior Member
alfexyn began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Feb 2021
Device: iPad
Quote:
Originally Posted by chaley View Post
For the content server: Preferences / Sharing over the net / Advanced / The interface on which to listen for connections. For the wireless device: Preferences / Plugins / Device Interface / SmartDevice, Customize plugin, Use this IP address.
The listener IPs are configured correctly, my question is only about the advertisement of the OPDS service via Bonjour. The container runtime forwards the packets from the host IP/Port to the container IP/port . The latter is routed only in the container runtime defined network, therefore the process inside the container sees a wrong IP when looking only at the interfaces it sees locally. This can only be overcome by configuration of the host IP, w/o changing the listener IP.
alfexyn is offline   Reply With Quote
Old 02-13-2021, 06:56 AM   #15
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,443
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by alfexyn View Post
The listener IPs are configured correctly, my question is only about the advertisement of the OPDS service via Bonjour. The container runtime forwards the packets from the host IP/Port to the container IP/port . The latter is routed only in the container runtime defined network, therefore the process inside the container sees a wrong IP when looking only at the interfaces it sees locally. This can only be overcome by configuration of the host IP, w/o changing the listener IP.
Calibre uses the listener IP for bonjour. There is no way to change that other than by changing the code, which isn't that hard to do. See https://manual.calibre-ebook.com/develop.html.

The above said, I am not convinced that mDNS will ever work from inside the container. The runtime and the outer system must be ready to forward multicast packets. I don't know if they can, but wouldn't be surprised if they won't.
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre-server 3.1 linux upgrade with userdb Pascougnou Calibre 4 06-23-2017 09:31 AM
Can't upgrade to 2.82 on Linux mandoran Devices 2 04-03-2017 04:06 PM
Linux upgrade and source code chutz Kobo Reader 12 07-25-2010 12:22 AM
Hello from a Linux user tseckler Introduce Yourself 9 07-06-2010 08:07 AM
Having serious issues with Calibre since upgrade. geisha918 Calibre 0 07-05-2010 10:51 PM


All times are GMT -4. The time now is 11:36 AM.


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