Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-03-2017, 01:55 PM   #1
plo233
Member
plo233 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2017
Device: Android tablet
calibredb to write to a remote content server?

calibredb add book.epub --with-library http://192.168.1.150:8090

results in: Forbidden

also tried with username, password

Am using calibre main app's built-in server, with local write enabled. Is there an alternative way to accomplish this?
plo233 is offline   Reply With Quote
Old 10-03-2017, 03:22 PM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 22,007
Karma: 22086756
Join Date: Aug 2009
Location: (The original) Silicon Valley, USA
Device: K4NT, Galaxy Tab A
CalibreDB does not talk to the content server (the URL you gave). It operates direct on the DB. Also all the CLI tools expect a LOCAL (on HD) Library


FTP ne books to the (configured) Auto-Add folder
theducks is offline   Reply With Quote
Old 10-03-2017, 04:39 PM   #3
plo233
Member
plo233 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2017
Device: Android tablet
Quote:
Originally Posted by theducks View Post
CalibreDB does not talk to the content server (the URL you gave). It operates direct on the DB. Also all the CLI tools expect a LOCAL (on HD) Library


FTP ne books to the (configured) Auto-Add folder

I don't think that's the case because the following works from the same machine: calibredb add book.epub --with-library http://127.0.0.1:8090
plo233 is offline   Reply With Quote
Old 10-03-2017, 06:01 PM   #4
BetterRed
null operator
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 10,820
Karma: 10563066
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@plo233 - if "calibredb to write to a remote content server?" means via The Internet, then:

The 192.168 addresses are reserved for private network (Intranet) use, they can't be used from The Internet.

See ==>> Private network - Wikipedia and The calibre Content server — calibre 3.8.0 documentation
else
[ . . . ]

BR
BetterRed is offline   Reply With Quote
Old 10-03-2017, 06:20 PM   #5
plo233
Member
plo233 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2017
Device: Android tablet
Quote:
Originally Posted by BetterRed View Post
@plo233 - if "calibredb to write to a remote content server?" means via The Internet, then:

The 192.168 addresses are reserved for private network (Intranet) use, they can't be used from The Internet.

See ==>> Private network - Wikipedia and The calibre Content server — calibre 3.8.0 documentation
else
[ . . . ]

BR
I mean either internet or intranet. I've tried both (http://192.168.10.150:8090 and http://domain.com:8090) and both fail, while local works fine
plo233 is offline   Reply With Quote
Old 10-03-2017, 09:46 PM   #6
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 33,396
Karma: 10205094
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You need to setup a user account on the server, give it write permissions and use the username and password in the calibredb invocation.
kovidgoyal is offline   Reply With Quote
Old 10-04-2017, 11:15 AM   #7
plo233
Member
plo233 began at the beginning.
 
Posts: 10
Karma: 10
Join Date: Sep 2017
Device: Android tablet
Quote:
Originally Posted by kovidgoyal View Post
You need to setup a user account on the server, give it write permissions and use the username and password in the calibredb invocation.
This wasn't working before but I actually needed to tick "Require username and password," otherwise the passed username/password was being ignored and write access blocked, despite the account existing (maybe a bug?). Working now - thanks!
plo233 is offline   Reply With Quote
Old 10-05-2017, 12:34 AM   #8
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 33,396
Karma: 10205094
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Well yes, if you dont tick that, the server does no authentication.
kovidgoyal is offline   Reply With Quote
Reply

Tags
calibre-server, calibredb, metadata

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibredb cannot add with content server running apiontek Calibre 10 08-04-2017 04:50 AM
Can we setup a DNS server to fake amazon's server and remote apply the jailbreak? zfu Kindle Developer's Corner 9 05-07-2015 10:08 AM
[Old Thread] Remote library support (not content server) mikew Calibre 18 05-29-2013 07:27 AM
Porting Calibre's built-in web server to a remote server? perryja Related Tools 6 05-02-2013 09:05 AM
Book directory on remote server sasilk Library Management 3 08-13-2011 11:10 AM


All times are GMT -4. The time now is 07:37 PM.


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