Description
Describe the bug
I'm unable to successfully launch a docker instance of Commafeed version 5.0.0 or later. I initially attempted an upgrade of my existing Commafeed + postgresql stack, but decided to revert that back to 4.6.0 and attempt with a separate fresh install using the h2 docker-compose example. Commafeed appears to launch successfully, although there are no log messages you'd typically see with an initial launch where the database is being initialized. I only see one log entry. This was the same experience I had trying to upgrade my existing 4.6.0 installation to 5.0.2. I'm unaware of any environment variables or options to achieve more verbose logs.
Powered by Quarkus 3.13.2
2024-08-24 15:57:20,938 INFO [liq.database] (main) Set default schema name to PUBLIC
I do see the application running
root@199a168f0f0b:/commafeed/data# ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 34416248 90828 ? Ssl 15:57 0:00 ./application
root 17 0.0 0.0 4188 3228 pts/0 Ss 15:58 0:00 /bin/bash
root 247 0.0 0.0 8088 3972 pts/0 R+ 16:29 0:00 ps aux
The data directory populates, so I know the database is at least being created.
I'm unable to access the server at http://[my server's IP]:8082. I attempted to log into the container and run netstat -a but I see nothing listening on the expected port.
root@199a168f0f0b:/commafeed/data# netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 127.0.0.11:34463 0.0.0.0:* LISTEN
udp 0 0 127.0.0.11:35766 0.0.0.0:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
I did attempt to launch on 5.0.0 and 5.0.1 as well.
To Reproduce
Steps to reproduce the behavior:
- Create a docker-compose.yml using one of the provided examples at https://hub.docker.com/r/athou/commafeed. I'm using the H2 example for testing simplicity.
- Modify the local location for the volume
- Save the docker-compose.yml file
- run docker compose up -d
Expected behavior
Launch a docker-compose container using the provided example (modified for bind mount location, etc).
access server from a browser at http://[server IP]:8082
Environment (please complete the following information):
- CommaFeed version 5.0.0 - 5.0.2
- OS: Centos Stream 8 x86-64
- Docker Version: 26.1.3, build b72abbb