Hi!
I have difficulties getting the calibre-server to run: nearly all requests return a "404 Not Found" error.
My configuration is the following (standard config - no changes):
server port: 8080
username: calibre
password: (not set)
...
url prefix: calibre
when I browse to
http://localhost:8080/ I get a calibre page that has no images, no css and every link on it results in "404 Not Found". In fact, every link that goes to
http://localhost:8080/calibre/... results in "404 Not Found".
The "404 Not Found" page is created by "Powered by CherryPy 3.2.2", so I am talking to the calibre server, but it does not serves content-pages to me.
It does not make a difference
* if I use localhost/127.0.0.1/my ip address
* if I use my calibre library (around 400 books in it), an empty or a library with one book in it.
* if I browse with Safari, Chrome or firefox
* if I browse from the same computer or from another connected device (ipad)
* if I start from command line (calibre-server) or from GUI
* if I use port 8080 or 8765
I am some kind of clueless. Some weeks ago, the server was happily running, but right now I cannot find a clue what is going wrong.
My debug output:
Darwin-12.3.0-x86_64-i386-64bit Darwin ('64bit', '')
('Darwin', '12.3.0', 'Darwin Kernel Version 12.3.0: Sun Jan 6 22:37:10 PST 2013; root:xnu-2050.22.13~1/RELEASE_X86_64')
Python 2.7.3
OSX: ('10.8.3', ('', '', ''), 'x86_64')
My calibre version is 0.9.24 and this behavior also showed in 0.9.22 and 0.9.23. not sure what was the last version that worked (not even sure that it is due to an update).
Here is a screenshot of what I get in the browser:
The server log does not show anything interesting:
[27/Mar/2013:00:01:36] ENGINE Bus STARTING
[27/Mar/2013:00:01:36] ENGINE Started monitor thread '_TimeoutMonitor'.
[27/Mar/2013:00:01:37] ENGINE Serving on 0.0.0.0:8080
[27/Mar/2013:00:01:38] ENGINE Bus STARTED
The access log neither:
127.0.0.1 - - [27/Mar/2013:00:12:11] "GET /calibre/browse/icon/tags.png HTTP/1.1" 404 742 "http://localhost:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22"
127.0.0.1 - - [27/Mar/2013:00:12:11] "GET /calibre/browse/icon/rating.png HTTP/1.1" 404 744 "http://localhost:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22"
127.0.0.1 - - [27/Mar/2013:00:12:11] "GET /calibre/browse/icon/search.png HTTP/1.1" 404 744 "http://localhost:8080/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_3) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22"
Help would be appreciated!
christof