Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 12-28-2024, 09:23 AM   #1
ghffPar
Junior Member
ghffPar began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Dec 2024
Location: Italy
Device: none
Daemonized server empty library

Hi all, first post on the forum.

I have a library located in my user home folder on my raspberry pi: ~/libreria-calibre
I created this folder via samba from my mac.
and this folder contains following files:
  • metadata.db
  • metadata_db_prefs_backup.json
  • Sconosciuto
  • 'Vladimir Nabokov'
(I thought it might be helpful specifying these informations)


Running calibre-server simply as:
Code:
calibre-server ./libreria-calibre
works fine and I can see and read books from library on LAN devices.

Instead if I run:
Code:
sudo calibre-server --daemonize --log ./libreria-calibre/log ./libreria-calibre
(I run as sudo as I haver permission denied error otherwise)

I still can open the calibre viewer on the browser exposed by calibre server on my raspberry but opening my library results in
No books found message.

I am not running any antivirus on the server machine.
ghffPar is offline   Reply With Quote
Old 12-28-2024, 07:49 PM   #2
Metapath
Enthusiast
Metapath began at the beginning.
 
Posts: 25
Karma: 10
Join Date: Aug 2014
Device: iPad
Quote:
Originally Posted by ghffPar View Post
Hi all, first post on the forum.

Instead if I run:
Code:
sudo calibre-server --daemonize --log ./libreria-calibre/log ./libreria-calibre
I still can open the calibre viewer on the browser exposed by calibre server on my raspberry but opening my library results in
No books found message.

I am not running any antivirus on the server machine.
I believe your problem is that you need to specify the entire full path to the library.
./libreria-calibre is not the full path, but relative to your current directory. This is lost when you daemonize.

Your log should also list the full path from the root directory.

Last edited by Metapath; 12-28-2024 at 07:52 PM.
Metapath is offline   Reply With Quote
Advert
Reply

Tags
daemonize


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
request: add empty book through server bvdbos Server 4 11-23-2018 09:26 PM
Calibre Library copies correctly to new PC and 2 days later the library is empty tcreek Library Management 2 07-02-2018 01:58 PM
empty library Piers Library Management 1 04-06-2018 11:26 PM
Library empty fabia52 Library Management 1 07-13-2016 01:29 PM
Content server empty, but still downloaded nonexistent books Purple Lady Calibre Companion 6 05-25-2015 03:55 PM


All times are GMT -4. The time now is 10:13 AM.


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