linuxserver/docker-ubooquity

[BUG] No internet when running docker compose

piotrgolawski opened this issue · 8 comments

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hi,
I work on rasperry PI 4 8gb, system is raspbian 64.
I have no internet while running docker-compose.

My docker-compose file:
--- version: "2.1" services: ubooquity: image: lscr.io/linuxserver/ubooquity:latest container_name: ubooquity environment: - PUID=1000 - PGID=1000 - TZ=Etc/UTC - MAXMEM=1024 volumes: - ./config:/config - /home/p/Calibre Library:/books - ./comics:/comics - ./files:/files ports: - 2202:2202 - 2203:2203 restart: unless-stopped

Visiting localhost:2022
`HTTP ERROR 500
Problem accessing /. Reason:

Could not find matching provider (wrong URL)

Powered by Jetty:// 9.4.0.v20161208`

Ping during launching docker:
ping 8.8.8.8 PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. 64 bytes from 8.8.8.8: icmp_seq=1 ttl=117 time=41.0 ms 64 bytes from 8.8.8.8: icmp_seq=2 ttl=117 time=36.8 ms From 192.168.4.134 icmp_seq=3 Destination Host Unreachable From 192.168.4.134 icmp_seq=4 Destination Host Unreachable From 192.168.4.134 icmp_seq=5 Destination Host Unreachable From 192.168.4.134 icmp_seq=6 Destination Host Unreachable From 192.168.4.134 icmp_seq=7 Destination Host Unreachable From 192.168.4.134 icmp_seq=8 Destination Host Unreachable

Yes 192.168.4.134 is my local address.

Expected Behavior

Well, it should work.

Steps To Reproduce

docker-compose up with file attached and current version of ubooquity just downloaded as a zip from this page

Environment

cat /proc/cpuinfo
processor	: 0
BogoMIPS	: 108.00
Features	: fp asimd evtstrm crc32 cpuid
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd08
CPU revision	: 3

processor	: 1
BogoMIPS	: 108.00
Features	: fp asimd evtstrm crc32 cpuid
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd08
CPU revision	: 3

processor	: 2
BogoMIPS	: 108.00
Features	: fp asimd evtstrm crc32 cpuid
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd08
CPU revision	: 3

processor	: 3
BogoMIPS	: 108.00
Features	: fp asimd evtstrm crc32 cpuid
CPU implementer	: 0x41
CPU architecture: 8
CPU variant	: 0x0
CPU part	: 0xd08
CPU revision	: 3

Hardware	: BCM2835
Revision	: d03114
Serial		: 10000000a577367b
Model		: Raspberry Pi 4 Model B Rev 1.4


How docker sevice was installed: Do not remember, it was some time ago, other stuff is working well

CPU architecture

arm64

Docker creation

docker-compose up

Container logs

~/Ubooquity $ docker-compose up
Recreating ubooquity ... done
Attaching to ubooquity
ubooquity    | [migrations] started
ubooquity    | [migrations] no migrations found
ubooquity    | 
ubooquity    | -------------------------------------
ubooquity    |           _         ()
ubooquity    |          | |  ___   _    __
ubooquity    |          | | / __| | |  /  \
ubooquity    |          | | \__ \ | | | () |
ubooquity    |          |_| |___/ |_|  \__/
ubooquity    | 
ubooquity    | 
ubooquity    | Brought to you by linuxserver.io
ubooquity    | -------------------------------------
ubooquity    | 
ubooquity    | To support LSIO projects visit:
ubooquity    | https://www.linuxserver.io/donate/
ubooquity    | -------------------------------------
ubooquity    | GID/UID
ubooquity    | -------------------------------------
ubooquity    | 
ubooquity    | User uid:    1000
ubooquity    | User gid:    1000
ubooquity    | -------------------------------------
ubooquity    | 
ubooquity    | [custom-init] No custom files found, skipping...
ubooquity    | 20230226 09:20:48 [main] INFO  com.ubooquity.Ubooquity - Running with the following parameters - headless: true, libraryport: -1, adminport: -1, remoteadmin: true, host: 0.0.0.0, debug: false, execdir: /config
ubooquity    | 20230226 09:20:48 [main] INFO  com.ubooquity.Ubooquity - #############################
ubooquity    | 20230226 09:20:48 [main] INFO  com.ubooquity.Ubooquity - #     Starting Ubooquity    #
ubooquity    | 20230226 09:20:48 [main] INFO  com.ubooquity.Ubooquity - #############################
ubooquity    | 20230226 09:20:48 [main] INFO  com.ubooquity.Ubooquity - Java version: 1.8.0_345
ubooquity    | 20230226 09:20:48 [main] INFO  com.ubooquity.Ubooquity - Java vendor: IcedTea
ubooquity    | 20230226 09:20:48 [main] INFO  com.ubooquity.Ubooquity - java vm name: OpenJDK 64-Bit Server VM
ubooquity    | 20230226 09:20:48 [main] INFO  com.ubooquity.Ubooquity - java runtime name: OpenJDK Runtime Environment
ubooquity    | 20230226 09:20:48 [main] INFO  com.ubooquity.Ubooquity - Max heap size available: 910 MB
ubooquity    | 20230226 09:20:48 [main] INFO  com.ubooquity.Ubooquity - OS name: Linux
ubooquity    | 20230226 09:20:48 [main] INFO  com.ubooquity.Ubooquity - OS version: 5.15.84-v8+
ubooquity    | 20230226 09:20:48 [main] INFO  com.ubooquity.Ubooquity - OS architecture: aarch64
ubooquity    | 20230226 09:20:48 [main] INFO  com.ubooquity.Ubooquity - Loading local version info
ubooquity    | 20230226 09:20:48 [main] INFO  com.ubooquity.Ubooquity - Ubooquity 2.1.2 built on 2018-10-14 at 12:58
ubooquity    | 20230226 09:20:48 [main] INFO  com.ubooquity.Ubooquity - Creating application folders
ubooquity    | 20230226 09:20:48 [main] INFO  com.ubooquity.Ubooquity - Loading preferences
ubooquity    | 20230226 09:20:49 [main] INFO  org.eclipse.jetty.util.log - Logging initialized @3634ms to org.eclipse.jetty.util.log.Slf4jLog
ubooquity    | 20230226 09:20:49 [main] INFO  com.ubooquity.b - Starting internal server...
ubooquity    | 20230226 09:20:49 [main] INFO  com.ubooquity.b - Reverse proxy prefix: ubooquity
ubooquity    | 20230226 09:20:49 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Scanning books directories
ubooquity    | 20230226 09:20:50 [main] INFO  org.eclipse.jetty.server.Server - jetty-9.4.0.v20161208
ubooquity    | 20230226 09:20:50 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@302c971f{/,null,AVAILABLE,@admin}
ubooquity    | 20230226 09:20:50 [main] INFO  o.e.j.server.handler.ContextHandler - Started o.e.j.s.h.ContextHandler@1972e513{/,null,AVAILABLE,@library}
ubooquity    | 20230226 09:20:50 [main] INFO  o.e.jetty.server.AbstractConnector - Started library@324d5304{HTTP/1.1,[http/1.1]}{0.0.0.0:2202}
ubooquity    | 20230226 09:20:50 [main] INFO  o.e.jetty.server.AbstractConnector - Started admin@239a307b{HTTP/1.1,[http/1.1]}{0.0.0.0:2203}
ubooquity    | 20230226 09:20:50 [main] INFO  org.eclipse.jetty.server.Server - Started @4384ms
ubooquity    | 20230226 09:20:50 [main] INFO  com.ubooquity.b - Internal server started. Listening on port 2202 (library) and 2203 (admin)
ubooquity    | Tyep Q then ENTER to exit
ubooquity    | 20230226 09:20:50 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Finished scanning books directories, populating folders content cache
ubooquity    | [ls.io-init] done.
ubooquity    | 20230226 09:20:51 [Timer-0] INFO  com.ubooquity.Ubooquity - Checking latest available Ubooquity version from website
ubooquity    | 20230226 09:20:54 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Books folder content cache populated
ubooquity    | 20230226 09:20:54 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Scanning comics directories
ubooquity    | 20230226 09:20:54 [Scanner thread] WARN  com.ubooquity.data.database.c - Could not find id of root path /comics (ignore this warning if you just added a new root directory)
ubooquity    | 20230226 09:20:54 [Scanner thread] INFO  com.ubooquity.data.database.c - Inserting/updating comic entry in database : /comics
ubooquity    | 20230226 09:20:54 [Scanner thread] INFO  com.ubooquity.data.database.c - Found 1 empty folders
ubooquity    | 20230226 09:20:54 [Scanner thread] INFO  com.ubooquity.data.database.c - Deleted empty folders from database. Looking for new ones...
ubooquity    | 20230226 09:20:54 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Finished scanning comics directories, populating folders content cache
ubooquity    | 20230226 09:20:54 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Comics folder content cache populated
ubooquity    | 20230226 09:20:54 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Comics statistics: [total: 0, added or updated: 0, removed: 0]
ubooquity    | 20230226 09:20:54 [Scanner thread] INFO  com.ubooquity.data.feeder.a - Books statistics: [total: 558, added or updated: 0, removed: 0]
ubooquity    | 20230226 09:20:56 [Timer-0] WARN  com.ubooquity.f.g - Could not get vendor info: java.net.UnknownHostException - vaemendis.net

Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid.

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Same error here. I can't use the docker container.

This issue has been automatically marked as stale because it has not had recent activity. This might be due to missing feedback from OP. It will be closed if no further activity occurs. Thank you for your contributions.

Hello im having the same issue as well

@piotrgolawski i was able to fix this by doing this "Access the admin page at http://:2203/ubooquity/admin and set a password."