SelfhostedPro / selfhosted_templates

Portainer templates for selfhosted services
GNU General Public License v3.0
1.22k stars 238 forks source link

[BUG] Homer not working #269

Open petruut opened 1 year ago

petruut commented 1 year ago

Describe the bug Deploying Homer on default settings and fresh install of portainer (Pi 4, docker added to pi user group) results in Unhealthy container that doesn't work.

To Reproduce Steps to reproduce the behavior:

  1. Deploy container with default settings from the https://raw.githubusercontent.com/SelfhostedPro/selfhosted_templates/master/Template/portainer-v2.json
  2. It says it's deployed, but doesn't work

Expected behavior I'd expect it to work...

Screenshots image

image

image

Portainer Logs No configuration found, installing default config & assets Assets directory not writable. Check assets directory permissions & docker user or skip default assets install by setting the INIT_ASSETS env var to 0

over and over again

rahdabas commented 10 months ago

This fixed the above mentioned issue for me:

cd /portainer/Files/AppData/Config/Homer
sudo chown -R 1000:1000 assets/

refer to homer issue: https://github.com/bastienwirtz/homer/issues/441