Rodelero
HHomarr
•Created by Rodelero on 12/4/2024 in #💬・get-help
Homarr Quadlet
OK.
It works now.
Using:
[Unit]
Description=Homarr
Wants=network-online.target
After=network-online.target
RequiresMountsFor=%t/containers
[Container]
Image=ghcr.io/ajnart/homarr:latest
ContainerName=homarr
HostName=192.168.60.139
Network=host
AutoUpdate=registry
Volume=/home/xxx/homarr/configs:/app/data/configs/:Z
Volume=/home/xxx/homarr/data:/data/:Z
Volume=/home/xxx/homarr/icons:/app/public/icons/:Z
PublishPort=192.168.60.139:7575:7575/tcp
Timezone=Europe/Prague
[Service]
Restart=always
[Install]
WantedBy=multi-user.target default.target
Makes it work and save the states and everything.
13 replies
HHomarr
•Created by Rodelero on 12/4/2024 in #💬・get-help
Homarr Quadlet
Got it. As the /www/assets doesn't exist, it wouldn't trigger the error with access rights.
I realized I have SElinux enabled, so changing to:
Volume=/home/vpelcak/homarr/configs:/app/data/configs/:Z
Volume=/home/vpelcak/homarr/data:/data/:Z
Volume=/home/vpelcak/homarr/icons:/app/public/icons/:Z
allowed me to start the service.
It still doesn't work, but I'm at least making the progress.
13 replies
HHomarr
•Created by Rodelero on 12/4/2024 in #💬・get-help
Homarr Quadlet
I found
cp: cannot create regular file '/app/data/configs/default.json': Permission denied
13 replies
HHomarr
•Created by Rodelero on 12/4/2024 in #💬・get-help
Homarr Quadlet
I tried to give them all the permissions (777)
13 replies
HHomarr
•Created by Rodelero on 12/4/2024 in #💬・get-help
Homarr Quadlet
Well, I hoped that this might become official installation method in the future.
I did read the documentation, but using:
Volume=/home/xxx/homarr/configs:/app/data/configs
Volume=/home/xxx/homarr/data:/data
Volume=/home/xxx/homarr/icons:/app/public/icons
instead of
Volume=/home/xxx/homarr-app/assets/:/www/assets
Lead to the Homarr not starting at all.
Even when the folders do exist.
13 replies