Can't find config files
I configured homarr to run on docker like below:
When I go to my /second directory though I don't see the folders with the config files did I mess a step or where are the configs for things like edit password stored?
21 Replies
Hi, thanks for the post. Where there any errors when executing the command? Can you remove
-d
and start it again?There are no errors installing and I can connect to homarr and add widgets etc. When running without the -d just getting some apps missing config options as expected
Okay... Can you do a
pwd
and ls -lha
on your directory, where it should be located? Also, do a pwd
where you execute the docker run commandI did run my docker run command in same dir and get below outputs:
Do you run the
docker run
command as root? Does your user have sufficient permissions?I did run docker as sudo yes, I presume that may be what my issue is and should add the docker perms to that user
Can you run
find / -type d -name "homarr" -print
? This might take a few minutes
It should let you find the homarr directory. It's most likely mounted somewhere elseI had tried to other variations of find with no luck, I'll give that one a shot though and let you know
Thanks
This was all it gave which is odd
And the command completed after that?
yeah
Hmm
Okay, before we to troubleshooting, can you open your Homarr and download the config?
Warning: It will not download the credentials! Store them somewhere else!!
I've got a copy already/did prior to what I've tried so far
which was mainly deleting old container and remaking it
also checked without the
/
in front of second in case I misunderstood absolute pathsOkay. Can you do
docker ps
?
And search for the Homarr container
right now it is only one I'm running
Copy it's name and do the following commands:
docker container stop <homarr>
, docker container rm <homarr
, docker image rm ghcr.io/ajnart/homarr:latest
. Then re-run the command docker run
again. DO NOT DO THIS IF YOU DON'T hAVE A BACKUPSo it does seem something is weird somewhere, it ran as expected and showed everything removing (ran a docker ps again to check) when reinstalling and running it still had the old config
I'm not running anything else on docker would an uninstall of that be a good idea to try?
Reinstall of docker resolved the issue and they are there now thanks for the troubleshooting
How can I go about adding the enviroment variables? I tried adding the
-e PASSWORD='password'
but container got stuck on starting
https://homarr.dev/docs/advanced/docker-configuration🐳 Docker Configuration | Homarr Docs
Homarr offers a Docker Container, which can be run on any compatible system, such as Unraid, Kubernetes and many more systems! Our Docker container is based on the
node:16-alpine image and serves per standard on the port 7575
.Sorry for my late reply - I was busy. I'm glad that you were able to solve it - even though reinstalling is a weird solution for it. Perhaps your install was faulty or something went wrong.
-e
should work as your said. Are there any errors?I would also recommend you to look into https://homarr.dev/docs/advanced/read-only . The current authentication implement is not really considered safe - especially if you plant to expose Homarr to the Web
🔒 Securing Homarr | Homarr Docs
Homarr's initial purpose was, to run it only within your local network.
I'll make those tweaks thanks, ended up being I put the -e in the wrong place
I am already running it on nginx for enabling read only mode once I'm done do I just restart with the flag for read only mode?
Sorry for all the maybe semi basic questions docker is fairly new to me still