H
Homarr13mo ago
SchmittyD

Looping db check when installing via docker compose

Hi, I am trying to install homearr using the docker compose on https://homarr.dev/
version: '3'
#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- /.config/services/prod/web/homarr/configs:/app/data/configs
- /.config/services/prod/web/homarr/icons:/app/public/icons
- /.config/services/prod/web/homarr/data:/data
ports:
- '7575:7575'
version: '3'
#---------------------------------------------------------------------#
# Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock # Optional, only if you want docker integration
- /.config/services/prod/web/homarr/configs:/app/data/configs
- /.config/services/prod/web/homarr/icons:/app/public/icons
- /.config/services/prod/web/homarr/data:/data
ports:
- '7575:7575'
and I'm getting a looping message
homarr | Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
homarr | Database is writeable
homarr | Instance is using a database on the file system. Checking if file '/data/db.sqlite' is writable...
homarr | Database is writeable
Solution:
Then closing the terminal will terminate Homarr, yes. You should press CTRL + C and run docker compose up -d instead. -d means detached - it will run in the background without relying on your Terminal session
Jump to solution
18 Replies
Manicraft1001
Manicraft100113mo ago
Hi @SchmittyD , this is normal. No need for concern
SchmittyD
SchmittyDOP13mo ago
Ah ok. Thanks. How long should it take to run?
Manicraft1001
Manicraft100113mo ago
The database check should pass within 10 milliseconds (unless you have a very slow SSD / HDD). Is the page not loading?
SchmittyD
SchmittyDOP13mo ago
I'm just looking at the terminal output. I'm running it on a linode.
Manicraft1001
Manicraft100113mo ago
These messages are nothing unusual. But since you only sent a part of the log, I cannot tell if the app is actually running or not I assume you haven't connected to it yet? I don't quite understand your question yet... 🙂
SchmittyD
SchmittyDOP13mo ago
I've loaded the web page. It seems to working.
Manicraft1001
Manicraft100113mo ago
Awesome. Can we mark this as resolved then?
SchmittyD
SchmittyDOP13mo ago
Can I close the terminal window now or will that close it?
Manicraft1001
Manicraft100113mo ago
Do you run using Docker? How did you start Homarr?
SchmittyD
SchmittyDOP13mo ago
Yes, I am using Docker. Using the docker-compose file from the web site
Manicraft1001
Manicraft100113mo ago
Did you run docker compose up or docker compose up -d?
SchmittyD
SchmittyDOP13mo ago
docker compose up
Solution
Manicraft1001
Manicraft100113mo ago
Then closing the terminal will terminate Homarr, yes. You should press CTRL + C and run docker compose up -d instead. -d means detached - it will run in the background without relying on your Terminal session
SchmittyD
SchmittyDOP13mo ago
Ah ok, Thanks. This is my first time using docker
Manicraft1001
Manicraft100113mo ago
No worries. Does it run again after running the command?
SchmittyD
SchmittyDOP13mo ago
Yes
Manicraft1001
Manicraft100113mo ago
Awesome! Have fun with Homarr homarr . Let us know if you have any questions
SchmittyD
SchmittyDOP13mo ago
Thanks very much! Will do. This is resolved now. 😄
Want results from more Discord servers?
Add your server