foster82
Posts: 49
Joined: Tue Jan 15, 2013 10:58 am

Calibre

Tue Jan 15, 2013 11:27 am

Hi guys.

I am new to the Raspberry Pi and am complete Linux Noob. I am trying to setup a Calibre server on my PI, However i am hitting a few problems no amount of googling seems to be solving my problems.

First issue is when i run the --daemonize command i get an error saying that the LANG variable is not set.

Secondly, It does seem to run and i can assess it. However it doesn't show my library in the web interface just gives me a load of errors. I have --with-library to point to library but doesn't seem to work.
I have even tried building the library from my windows machine.

Also i would like to run this at start up so i don't have to log in and restart the server every time the PI restarts.

Any help would be great on this as i cant seem to find any tutorials on this.

Thanks in advance

Jonathan

johnnyvibrant
Posts: 20
Joined: Fri Oct 05, 2012 4:56 pm

Re: Calibre

Tue Jan 15, 2013 8:48 pm

Please post some more details about your setup, you could have some issues with your directory locations and where they are and where calibre thinks they are...also are you running calibre server from the same account as your directories are in?

foster82
Posts: 49
Joined: Tue Jan 15, 2013 10:58 am

Re: Calibre

Thu Jan 17, 2013 10:11 am

Hi thanks for the response.

The directory is stored on an external hard drive connected to the PI.

foster82
Posts: 49
Joined: Tue Jan 15, 2013 10:58 am

Re: Calibre

Sat Jan 19, 2013 4:30 pm

I have retested this and also added a Ebook to the default location and still not able to see the ebooks on the web interface. I get the error :

Code: Select all

Object.printStackTrace.implementation.createException (http://www.fosterbaum.co.uk:8080/static/stacktrace.js:81:18)

Object.printStackTrace.implementation.run (http://www.fosterbaum.co.uk:8080/static/stacktrace.js:66:25)

printStackTrace (http://myip:8080/static/stacktrace.js:57:62)

render_error (http://myip:8080/static/browse/browse.js:134:18)

booklist (http://myip:8080/static/browse/browse.js:271:29)

HTMLDocument. (http://myip:8080/browse/category/newest:33:17)

Function.jQuery.extend.ready (http://wmyip:8080/static/jquery.js:392:9)

HTMLDocument.DOMContentLoaded (http://myip:8080/static/jquery.js:745:10)
Any ideas what i am doing wrong. As it is the ebooks are in /home/pi/calibre. Do i need to refresh the library or something ??

rayman
Posts: 1
Joined: Mon Jan 21, 2013 4:49 pm

Re: Calibre

Mon Jan 21, 2013 4:50 pm

I have the same problem, have you found a solution to this??

It's the first thing that doesn't work on my raspberry :(

Beno
Posts: 3
Joined: Wed Jul 04, 2012 5:25 pm
Location: Netherlands

Re: Calibre

Tue Jan 22, 2013 7:12 am

@foster82 and @rayman,

if you run the --daemonize command you have also tu run the --pidfile=calibre command otherwise it will not show your library in the server.

Beno

foster82
Posts: 49
Joined: Tue Jan 15, 2013 10:58 am

Re: Calibre

Tue Jan 22, 2013 8:55 am

HI

I did get this to work with out --pidfile command. I just used

sudo calibre-server --with-library=/home/pi/calibre --daemonize

And it now works fine.

Still trying to figure out how to get it to start on boot if anyone has any ideas ??

Beno
Posts: 3
Joined: Wed Jul 04, 2012 5:25 pm
Location: Netherlands

Re: Calibre

Tue Jan 22, 2013 12:56 pm

Hi,

On the following site is an example on how to make calibre-server auto-boot.
you have to create your own script.

http://linuxphilia.blogspot.de/2012/06/ ... on-go.html

Beno

slucas
Posts: 4
Joined: Mon Oct 15, 2012 4:08 pm

Re: Calibre

Fri Mar 08, 2013 7:14 am

Huge post bump.

I've stopped using Calibre on my Pi. Instead I'm using Owncloud (to synchronize my Calibre Library) and COPS (http://blog.slucas.fr/en/oss/calibre-opds-php-server). It's easier to setup and faster also.

joshmosh
Posts: 62
Joined: Fri Aug 03, 2012 12:04 pm

Re: Calibre

Fri Mar 08, 2013 1:09 pm

slucas wrote:Huge post bump.

I've stopped using Calibre on my Pi. Instead I'm using Owncloud (to synchronize my Calibre Library) and COPS (http://blog.slucas.fr/en/oss/calibre-opds-php-server). It's easier to setup and faster also.
I have just had a look at the demo provided - wow !
Up to now, I used calibre on my Raspi - with very mixed feelings. Now I am going to throw Calibre away and install COPS on my Raspi.
Thank you for this excellent hint !
Josh

dosch
Posts: 24
Joined: Sun Nov 17, 2013 2:33 pm

Re: Calibre

Wed Feb 17, 2016 10:50 pm

slucas wrote:Huge post bump.
I think I can match your post bump :-D

I'd like to start using COPS on a RPi B+, but I am a little unsure about how to start.
Did anyone find or make a step-by-step manual somewhere?

Return to “Networking and servers”