Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Server

Notices

Reply
 
Thread Tools Search this Thread
Old 08-29-2022, 05:12 AM   #1
ygreq
Enthusiast
ygreq began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Mar 2010
Device: iphone
Cannot access web server of Calibre running on Docker

Hi folks,

I recently managed to install Calibre in Docker which runs on a server running OpenMediaVault [OMV]. I installed it as a stack in Portainer. This is the configuration I used:

Code:
---
version: "2.1"
services:
  calibre:
    image: linuxserver/calibre
    container_name: calibre
    environment:
      - PUID=1000
      - PGID=100
      - TZ=Europe/Bucharest
      - GUAC_USER=abc #optional
      - GUAC_PASS=900150983cd24fb0d6963f7d28e17f72 #optional
      - UMASK_SET=022 #optional
    volumes:
      - /opt/calibre/config:/config
      - /srv/dev-disk-by-uuid-2c9bd64d-ab80-4606-a084-b6ee55757a45/Database:/database
    ports:
      - 8089:8080
      - 8091:8081
    restart: unless-stopped
I can access Calibre via [IP_of_OMV]:8089, but I cannot access the web server via [IP_of_OMV]:8091.

I checked the Sharing over the net menu and it says there Content server listening at: 172.21.0.2, port 8091, HTTP. Probably this IP is the the IP given by Docker and probably is not the actual issue. I then pressed on Show server logs and it says there:

Code:
Calibre server listening on 0.0.0.0:8091
OPDS feeds advertising via Bonjour at 172.21.0.2 port 8091
Any idea how to set the IP to be the IP of the OMV and not 0.0.0.0? Because most probably this is the issue.

Thank you so much
ygreq is offline   Reply With Quote
Old 08-29-2022, 09:55 AM   #2
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: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
0.0.0.0 means it is listening on all interfaces. And if you want to change it there is an option for it in the advanced tab of the sharing over net preferences.
kovidgoyal is online now   Reply With Quote
Old 08-29-2022, 03:46 PM   #3
ygreq
Enthusiast
ygreq began at the beginning.
 
Posts: 27
Karma: 10
Join Date: Mar 2010
Device: iphone
Thank you for taking your time to answer. I changed it to the IP of the server and this is what I get now.

Failed to bind to 192.168.xxx.xxx with error: No socket could be created -- (('192.168.xx.xx', 8091): [Errno 99] Cannot assign requested address). Trying to bind to the default interface: 172.21.0.2 instead.


192.168.xx.xx stands for the IP of the server I am using
172.21.0.2 is the ip given by docker to the calibre container.

Of course it does not work. No idea how to fix this. Any other suggestions?
Thank you so much!
ygreq is offline   Reply With Quote
Old 09-27-2022, 12:16 PM   #4
harshakavuri
Junior Member
harshakavuri ought to be getting tired of karma fortunes by now.harshakavuri ought to be getting tired of karma fortunes by now.harshakavuri ought to be getting tired of karma fortunes by now.harshakavuri ought to be getting tired of karma fortunes by now.harshakavuri ought to be getting tired of karma fortunes by now.harshakavuri ought to be getting tired of karma fortunes by now.harshakavuri ought to be getting tired of karma fortunes by now.harshakavuri ought to be getting tired of karma fortunes by now.harshakavuri ought to be getting tired of karma fortunes by now.harshakavuri ought to be getting tired of karma fortunes by now.harshakavuri ought to be getting tired of karma fortunes by now.
 
Posts: 2
Karma: 1289260
Join Date: Sep 2022
Device: kobo sage
to access Calibre content server where Calibre is running in a docker is by adding Static Route in your Router LAN settings.

I am also in docker and my Calibre is at 192.168.25.20:7080 and content server is at 172.17.0.2:8081 and my LAN network is 192.168.25.1

Please have a look at screenshot of my router lan settings.




Last edited by harshakavuri; 09-27-2022 at 12:20 PM. Reason: attaching correct screenshots
harshakavuri is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Calibre in a Docker container: How can I connect to my Kobo? TheRealJohnAdams Server 1 03-21-2022 01:27 AM
Importing calibre data into calibre server/docker straylight Calibre 1 12-30-2020 03:33 PM
Calibre Docker Server Automatic Add not Working netlander Server 1 12-28-2020 10:38 AM
Can't connect to content server with Calibre-Web running on Synology Docker c2930931 Server 4 09-29-2019 09:50 PM
Calibre Web opds access failing as content server rmzg Calibre Companion 8 07-23-2018 12:49 AM


All times are GMT -4. The time now is 03:52 AM.


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