![]() |
#1 | |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Sep 2006
Location: Toronto, ON
Device: iLiad
|
Server Upload error (404) w/ enable-local-write
Hi, I am getting an error trying to upload a book to the calibre-server running on linux
I am running the following command line: Code:
/usr/bin/calibre-server --port=8888 --enable-local-write /mnt/drive/Books/ Quote:
|
|
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,252
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
you'll need --enable-auth as well IIRC.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Sep 2006
Location: Toronto, ON
Device: iLiad
|
Thank-you-- I tried that, but it just turns on authentication.
I was looking to use the "--enable-local-write" which, according to the documentation is supposed to "Allow un-authenticated local connections to make changes. Normally, if you do not turn on authentication, the server operates in read-only mode, so as to not allow anonymous users to make changes to your calibre libraries. This option allows anybody connecting from the same computer as the server is running on to make changes. This is useful if you want to run the server without authentication but still use calibredb to make changes to your calibre libraries. Note that turning on this option means any program running on the computer can make changes to your calibre libraries. By default, this option is disabled." That is what I was hoping to enable |
![]() |
![]() |
![]() |
#4 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,252
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Works for me with:
Code:
calibre-server --enable-local-write calibre server listening on 0.0.0.0:8080 OPDS feeds advertised via BonJour at: 192.168.1.5 port: 8080 Code:
calibredb --with-library=http://localhost:8080 add /t/demo.epub |
![]() |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Sep 2006
Location: Toronto, ON
Device: iLiad
|
Ahh.. thanks for your help getting this sorted...
Mine does work using the local IP Code:
calibredb --with-library=http://localhost:8080 add /t/demo.epub but doesn't work with external IP (or via the website) Code:
calibredb --with-library=http://192.168.1.100:8080 add /t/demo.epub |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,252
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
local write means write by connections form the local ip address.
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Sep 2006
Location: Toronto, ON
Device: iLiad
|
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
404 error. Server installation and configuration with SSL | radioagent | Server | 1 | 06-30-2019 08:10 AM |
Custom Column on Content Server: 404 Not Found | annekaelber | Calibre | 14 | 04-05-2014 04:39 AM |
Calibre-Server: no pages found (404) in OSX | cdaller | Calibre | 7 | 04-06-2013 03:40 PM |
Harpers Magazine recipe - 404 error? | BillD | Recipes | 3 | 12-10-2012 02:49 AM |
Touch Kobo/Adobe not working--error 404 when I try to get the pubs--Server down? | tea2 | Kobo Reader | 4 | 07-02-2012 09:02 AM |