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 04-17-2017, 03:17 PM   #1
adi2
Junior Member
adi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texan
 
Posts: 3
Karma: 18222
Join Date: Apr 2017
Device: none
calibre-server on RPI2

Hello,
I'm trying to setup calibre-sever on my RPI2. I've installed version 2.5, and when I try to set library with "calibre-server --with-library=/media/nasdata/e-knjige"
I get this massage
"[17/Apr/2017:21:12:56] ENGINE WARNING: Use of engine.autoreload_on is deprecated and will be removed in a future version. Use engine.autoreload.on instead."
and server doesn't start.
Please help, I'm new with Linux and commandline.
adi2 is offline   Reply With Quote
Old 04-17-2017, 04:54 PM   #2
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,182
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by adi2 View Post
Hello,
I'm trying to setup calibre-sever on my RPI2. I've installed version 2.5, and when I try to set library with "calibre-server --with-library=/media/nasdata/e-knjige"
I get this massage
"[17/Apr/2017:21:12:56] ENGINE WARNING: Use of engine.autoreload_on is deprecated and will be removed in a future version. Use engine.autoreload.on instead."
and server doesn't start.
Please help, I'm new with Linux and commandline.
Where is the library located? If it is on a NAS then you will have to mount the drive before use, even then I do not know it will work.

bernie
gbm is offline   Reply With Quote
Advert
Old 04-18-2017, 09:11 AM   #3
adi2
Junior Member
adi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texan
 
Posts: 3
Karma: 18222
Join Date: Apr 2017
Device: none
Quote:
Originally Posted by gbm View Post
Where is the library located? If it is on a NAS then you will have to mount the drive before use, even then I do not know it will work.

bernie
It's on the USB HDD mounted on the same device where server is. I've tried to put library on the system drive but with the same result.
What about this warning "[17/Apr/2017:21:12:56] ENGINE WARNING: Use of engine.autoreload_on is deprecated and will be removed in a future version. Use engine.autoreload.on instead."
thanks
bye
adi2 is offline   Reply With Quote
Old 04-18-2017, 10:56 AM   #4
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,182
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by adi2 View Post
It's on the USB HDD mounted on the same device where server is. I've tried to put library on the system drive but with the same result.
What about this warning "[17/Apr/2017:21:12:56] ENGINE WARNING: Use of engine.autoreload_on is deprecated and will be removed in a future version. Use engine.autoreload.on instead."
thanks
bye
Then use:
Code:
calibre-server --with-library /home/yourusername/yourlibraryname
*

If your library is on the system drive this will probably work.

Code:
calibre-server --with-library "/home/nasdata/e-knjige"
*

If your library is on a second drive then this will probably work.

Code:
calibre-server --with-library "/media/nasdata/e-knjige"
Use the cd and ls commands to verily the path to your library.


Quote:
Whenever you pass arguments to calibre-server that have spaces in them, enclose the arguments in quotation marks. For example “C:some path with spaces”
Open a blower on a pc/tablet and enter
Code:
 IpnumberRPI:portnumber
Default port for the sever is 8080

If it still does not work then you might have a port conflict.
Quote:
What about this warning "[17/Apr/2017:21:12:56] ENGINE WARNING: Use of engine.autoreload_on is deprecated and will be removed in a future version. Use engine.autoreload.on instead."
If you are not using a Bash script then ignore at this time.
bernie

* on my linux system the command works with and without the = sign.

Last edited by gbm; 04-18-2017 at 11:20 AM. Reason: make clearer"had coffee"
gbm is offline   Reply With Quote
Old 04-19-2017, 09:03 AM   #5
adi2
Junior Member
adi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texanadi2 might easily be mistaken for a Texan
 
Posts: 3
Karma: 18222
Join Date: Apr 2017
Device: none
Thanks Bernie,
well the problem is when I type "osmc@osmc1:~$ calibre-server --with-library "/media/nasdata/e-knjige"" into Putty, I see this on the screen "[19/Apr/2017:14:45:51] ENGINE WARNING: Use of engine.autoreload_on is deprecated and will be removed in a future version. Use engine.autoreload.on instead." and it never comes with osmc@osmc1:~$ like it's not finished sending a command to device, and while I leave it like that (opened Putty window on my laptop) calibre server is working like a charm (I can connect to it browse and download books from my laptop and e-book reader), but when I close that Putty window it stops working.
Any ideas???
adi2 is offline   Reply With Quote
Advert
Old 04-19-2017, 10:39 AM   #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,182
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by adi2 View Post
Thanks Bernie,
well the problem is when I type "osmc@osmc1:~$ calibre-server --with-library "/media/nasdata/e-knjige"" into Putty, I see this on the screen "[19/Apr/2017:14:45:51] ENGINE WARNING: Use of engine.autoreload_on is deprecated and will be removed in a future version. Use engine.autoreload.on instead." and it never comes with osmc@osmc1:~$ like it's not finished sending a command to device, and while I leave it like that (opened Putty window on my laptop) calibre server is working like a charm (I can connect to it browse and download books from my laptop and e-book reader), but when I close that Putty window it stops working.
Any ideas???
Quote:
and it never comes with osmc@osmc1:~$
That is normal.

When you close the terminal window--in your case putty--that will stop all processes running in that terminal Two ways around that a bash script or use of the --daemonize option.

For the time being use the daemonize option.

Code:
calibre-server --with-library "/media/nasdata/e-knjige" --daemonize
I recommend that you look at setting up a VNC for your pi, easter than use tty and putty.

Their are bash scripts for running the calibre server on the internet remember google can be your friend.
bernie
gbm is offline   Reply With Quote
Old 04-19-2017, 12:06 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,487
Karma: 78910112
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Take a look in this thread for an approach used by chaley to run content server on a VPS https://www.mobileread.com/forums/sh...d.php?t=244019

Sent from my Nexus 7 using Tapatalk
PeterT is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre Content Server and Windows Home Server 2011 HughMcC Calibre 8 10-01-2014 07:26 AM
Porting Calibre's built-in web server to a remote server? perryja Related Tools 6 05-02-2013 09:05 AM
calibre-server: Doesn't server up newly added files kaistian Calibre 5 03-17-2013 11:54 AM
calibre-server OPDS catalog - manual move to web server HaakonME Related Tools 5 09-21-2012 03:11 AM
500 Internal Server Error accessing content server Calibre 0.8.8 DaddyO57 Calibre 1 07-20-2012 06:08 PM


All times are GMT -4. The time now is 03:47 PM.


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