Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 08-29-2018, 11:13 PM   #16
unleashkids
Junior Member
unleashkids began at the beginning.
 
Posts: 9
Karma: 10
Join Date: Jun 2018
Device: none
Progress, if only 1 data point: pulling calibre and calibre-bin 3.30 from raspbian/testing (as seen at raspbian.raspberrypi.org and archive.raspbian.org) suddenly today works, when installing onto the latest Raspbian Lite on RPi3, as follows:

echo "deb http://raspbian.raspberrypi.org/raspbian/ testing main" > /etc/apt/sources.list.d/rpi-testing.list
apt update
apt -y install calibre calibre-bin

I don't have high confidence this will continue to work with Calibre 3.31 later in September (as more than half of all versions since Calibre 3.22 have failed to install from raspbian/testing since May 2018, very sadly) but still let's celebrate today's positive news!
unleashkids is offline   Reply With Quote
Old 08-30-2018, 12:30 AM   #17
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,247
Karma: 83049305
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Uhhh.

I'm going to be a bit out of the box here and recommend you consider using Arch Linux ARM instead. Obviously as a member of the Arch Linux project and maintainer of the calibre package I'm a bit biased, but Arch really is much easier with regard to this sort of dependency kerfuffle. And we provide always-up-to-date packages more or less immediately.

As long as you have someone pay attention to what happens when you update the system, it should be more or less painless. I've found Arch to be extremely stable actually.

From quickly glancing at your Github, it looks like you deploy these rpis using ansible anyway, so it should be fairly simple to test an update then roll the deployment out to all the various installations.
eschwartz is offline   Reply With Quote
Old 08-30-2018, 04:17 AM   #18
norbusan
Zealot
norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.norbusan can do the Funky Gibbon.
 
Posts: 135
Karma: 82382
Join Date: Jan 2013
Device: Kindle Paperwhite, Kobo Glo
Quote:
Originally Posted by eschwartz View Post
I'm going to be a bit out of the box here and recommend you consider using Arch Linux ARM instead. Obviously as a member of the Arch Linux project and maintainer of the calibre package I'm a bit biased, but Arch really is much easier with regard to this sort of dependency kerfuffle. And we provide always-up-to-date packages more or less immediately.
Not wanting to go into a discussion about distributions, but of course, Arch has rolling releases which means that they can ship whatever is latest at the moment. This has advantages, but also disadvantages.

Debian has no rolling releases, thus packages transition into testing and sometimes there is a squeeze between packages in unstable and in testing due to API changes.

It is the user's pick, rolling release and being on the bleeding edge, or stable release management with security updates. I for myself on my development machine I use Debian/unstable = rolling release, but on my server, or a handheld device I would not want to have that - because I don't want to updated every day just to make sure that security bugs are fixed by new versions, and hopefully my applications still run with the new versions.
norbusan is offline   Reply With Quote
Old 10-14-2018, 01:02 PM   #19
Makurosu
Junior Member
Makurosu began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2016
Device: Kobo Aura 1
I hope I'm not out of line for posting this here, but is anyone having problems with the 3.32 release? I'm running a headless calibre server with apache2 and reverse proxy on Raspbian, and when I upgraded from 3.31 to 3.32, I started getting this when hitting my library:

Quote:
Failed to load books from calibre library, with error:
Failed to communicate with "/calibre/interface-data/books-init?library_id=calibre&sort=timestamp.desc&153953 5741702", with status: [503] Service Unavailable

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 503 Service Unavailable
Service Unavailable
The server is temporarily unable to service your re
I know 503 is typically some kind of network problem or related to reverse proxy, but I don't want to spend too much time on this if it's a problem with the build.

Thank you.
Makurosu is online now   Reply With Quote
Old Yesterday, 04:42 PM   #20
Makurosu
Junior Member
Makurosu began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2016
Device: Kobo Aura 1
More information.

"sudo service calibre-server status" returns this:

Quote:
● calibre-server.service - calibre content server
Loaded: loaded (/etc/systemd/system/calibre-server.service; enabled; vendor preset: enabled)
Active: failed (Result: signal) since Mon 2018-10-15 16:25:55 EDT; 9s ago
Process: 1437 ExecStart=/usr/bin/calibre-server /var/www/calibre --url-prefix /calibre --port 8080 --userdb /srv/calibre/users.sqlite --enable-auth --auth-mode=basic
Main PID: 1437 (code=killed, signal=ABRT)

Oct 15 16:25:52 teetui systemd[1]: Started calibre content server.
Oct 15 16:25:55 teetui calibre-server[1437]: qt.qpa.plugin: Could not find the Qt platform plugin "headless" in "/usr/lib/calibre/calibre/plugins"
Oct 15 16:25:55 teetui calibre-server[1437]: This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Oct 15 16:25:55 teetui calibre-server[1437]: Available platform plugins are: headless (from /usr/lib/calibre/calibre/plugins), eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
Oct 15 16:25:55 teetui systemd[1]: calibre-server.service: Main process exited, code=killed, status=6/ABRT
Oct 15 16:25:55 teetui systemd[1]: calibre-server.service: Unit entered failed state.
Oct 15 16:25:55 teetui systemd[1]: calibre-server.service: Failed with result 'signal'.
If I turn the Raspbian desktop back on and run the Content Server from the calibre desktop application and reverse proxy that through my apache2 server, it works.

In the following bug report...

https://bugs.launchpad.net/calibre/+bug/1627494

...Kovid suggests recompiling the headless plugin. Perhaps that needs to be done for the Raspbian build.

Any suggestions?

Last edited by Makurosu; Yesterday at 04:48 PM. Reason: Clarity.
Makurosu is online now   Reply With Quote
Reply

Tags
calibre-server, raspberry pi

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Performance? calibre-server v3 on Raspberry Pi ARM haertig Calibre 2 11-28-2017 12:26 AM
Content server on Raspberry Pi. Move database error aerospyke Library Management 5 06-02-2016 09:42 AM
Content Server on Raspberry Pi not working with password darryl Related Tools 10 02-03-2016 10:22 AM
QuickReader app on iPad 3 no longer recognizes Calibre Content Server capgun84 Apple Devices 0 10-30-2012 04:53 AM


All times are GMT -4. The time now is 04:35 PM.


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