Unable to write to config
I am using portainer on a pi with cloudflare tunnel. I used the portainer compose file from the install instructions and created local folders for the configs and icons. The issue is the configs folder on the pi are empty and I can't seem to save any changes made to homarr. I went into the container with console and checked the folder /data/configs/ and it was empty like the bound pi folder... I am at a loss where is the config coming?
Running homarr:latest (0.13.4)
9 Replies
Hi, can you post what command you used to install?
(or compose in case you did it with Portainer directly).
version: '3'
#---------------------------------------------------------------------#
Homarr - A simple, yet powerful dashboard for your server. #
#---------------------------------------------------------------------#
services:
homarr:
container_name: homarr
image: ghcr.io/ajnart/homarr:latest
restart: unless-stopped
volumes:
- /home/pi/homarr/:/app/data/configs
- /home/pi/homarr/:/app/public/icons
ports:
- '7575:7575'
Can you open the container terminal and check if there are any files in the directories /app/data/configs and /app/public/icons ?
No files
Did you already configure a dashboard? If yes, please download it from the settings in Homarr
If not, delete the container using compose down and recreate it again.
Make sure that you have a backup in case you did setup a dashboard.
I had no luck with it still after the recreate. I then switched from the latest to the dev image and yeah while its experimental.... it worked
Glad that it works. We'll merge dev to master anyway soon so you can use the normal image again soon.
thanks for the help! If you are wanting more info on my setuo or to continue to test I can let you know (pi5 / Portainer / cloudflare tunnel)
No, we don't need more info. dev will be merged soon anyway so the current state of it on latest will be updated.