View Single Post
Old 01-04-2020, 09:53 AM   #1
CraftyClown
Enthusiast
CraftyClown began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Jun 2019
Device: Kindle
Using Calibre server and calibre.db doesn't seem to be adding new titles

TLDRI am an idiot after all and a slight tweak of my service script and crontab enabled me to do everything I wanted.

In case anyone is curious the working service script is:

[Unit]
Description=calibre content server
After=network.target

[Service]
Type=simple
User=craftyclown
Group=craftyclown
ExecStart=/opt/calibre/calibre-server --auth-mode=basic --enable-auth --port=8082 /home/craftyclown/Calibre/Library/Rich /home/craftyclown/Calibre/Library/Kate /home/craftyclown/Calibre/Library/Sonya /home/craftyclown/Calibre/Library/Mum



[Install]
WantedBy=multi-user.target

and my crontab command to auto add new books is:

*/15 * * * * calibredb add /home/craftyclown/Calibre/New/Sonya -r --with-library http://127.0.0.1:8082/#Sonya --username Rich --password ??????
*/15 * * * * calibredb add /home/craftyclown/Calibre/New/Rich -r --with-library http://127.0.0.1:8082/#Rich --username Rich --password ??????
*/15 * * * * calibredb add /home/craftyclown/Calibre/New/Kate -r --with-library http://127.0.0.1:8082/#Kate --username Rich --password ??????
*/15 * * * * calibredb add /home/craftyclown/Calibre/New/Mum -r --with-library http://127.0.0.1:8082/#Mum --username Rich --password ??????





.................................................. .................................................. .........................

Afternoon all,

So firstly I'm fairly sure I'm being a dummy here, so happy to get that out of the way first

Long story short I'm accessing Calibre server via the web ui and it isn't showing any of the new titles I've added recently.

I've been using Calibre server for a while but don't often have need to add new titles so this issue could have been there for a while now without me noticing.

The last time I was tinkering with Calibre was enabling OPDS access for mine and my other halfs kindles (which works perfectly by the way)

I run Calibre on a headless Linux server using the below service script:

[Unit]
Description=calibre content server
After=network.target

[Service]
Type=simple
User=craftyclown
Group=craftyclown
ExecStart=/opt/calibre/calibre-server --auth-mode=basic --port=8082 --enable-auth --enable-local-write /home/craftyclown/Calibre/Library/Rich /home/craftyclown/Calibre/Library/Kate /home/craftyclown/Calibre/Library/Sonya /home/craftyclown/Calibre/Library/Mum


[Install]
WantedBy=multi-user.target

I've tried restarting the service but that doesn't seem to make a difference.

Am I making an obvious mistake here?

Cheers

Last edited by CraftyClown; 01-04-2020 at 02:40 PM. Reason: After a long afternoon of reading and tinkering I worked out what the problem was.
CraftyClown is offline   Reply With Quote