View Single Post
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,195
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