View Single Post
Old 01-27-2018, 09:07 AM   #22
ckronengold
Member
ckronengold began at the beginning.
 
Posts: 21
Karma: 10
Join Date: Jan 2018
Device: kindle basic
Quote:
Originally Posted by kovidgoyal View Post
Your syntax for server URLs is wrong, look at the examples DivingDuck posted earlier in this thread
I am trying multiple ways to structure the syntax, all of which are giving the same result.

With:
*/1 * * * * calibredb add --with-library "http://localhost:8080/#CalibreLibrary" --username user --password password --library-path "/mnt/mediastore/CalibreAdd/"
I get: Message-Id: <20180127135901.9B96460186@corbuntu.fios-router.home>
Date: Sat, 27 Jan 2018 08:59:01 -0500 (EST)

Another calibre program such as calibre-server or the main calibre program is running. Having multiple programs that can make changes to a cal$



And when I remove the "--library-path"
*/1 * * * * calibredb add --with-library "http://localhost:8080/#CalibreLibrary" --username user --password password "/mnt/mediastore/CalibreAdd/"

I get:
Message-Id: <20180127140601.6F8BB60186@corbuntu.fios-router.home>
Date: Sat, 27 Jan 2018 09:06:01 -0500 (EST)

Forbidden

When I change to:
add --with-library "http://localhost:8080/#CalibreLibrary" --username user --password password "~/mnt/mediastore/CalibreAdd/"

I get:
Message-Id: <20180127141801.C6F3E60186@corbuntu.fios-router.home>
Date: Sat, 27 Jan 2018 09:18:01 -0500 (EST)
/home/corey/~/mnt/mediastore/CalibreAdd not found.

This, I understand, is b/c the "~" is inserting the /home/corey in front of my folder address.

Removing the "~" and putting back the "--library-path" modifier brings me back to the "another calibre program is running."

I'm the only user on the machine. So I don't see how it could be a user/password error.

Last edited by ckronengold; 01-27-2018 at 09:28 AM.
ckronengold is offline   Reply With Quote