Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Homepage Issues + Traefik Question #103

Open
garrettpotokar opened this issue Nov 29, 2024 · 2 comments
Open

Homepage Issues + Traefik Question #103

garrettpotokar opened this issue Nov 29, 2024 · 2 comments

Comments

@garrettpotokar
Copy link

I've been setting up this NAS on Ubuntu Server 24.04 with the stock docker-compose.yml file, and was running into the documented issue where Homepage wouldn't start, with the same error message (Issue #91).

I commented out command: [sh, -c, "cp -n /app/config/tpl/*.yaml /app/config && node server.js"] per MitchBarnett's suggestion, however now my homepage appears blank, and I am unsure how to proceed.

Screenshot 2024-11-29 103139

I was also wondering if this could be run without Traefik. I use Caddy as a reverse proxy, and the two don't want to play nice.

Thank you in advance, this project is amazing and I'm super excited to get it all set up!

@AdrienPoupa
Copy link
Owner

Hi, please don't comment this out, those config files are needed otherwise, you'll get what you have in your screenshot.

If you SSH into your homepage container, what do you see in /app/config? Given the mount is ${CONFIG_ROOT:-.}/homepage:/app/config, is there any chance you changed your CONFIG_ROOT or are running your Docker compose command outside from a subfolder of this repository?

I was also wondering if this could be run without Traefik. I use Caddy as a reverse proxy, and the two don't want to play nice.

It's probably possible, but really you should only use one as they serve the same purpose. Feel free to hack the project and use Caddy instead, but I won't try to do so :-)

@garrettpotokar
Copy link
Author

Thank you for the quick response! Sorry for my delay, I'm still learning docker so it took me a bit to figure out how to find what you asked. By running docker exec homepage ls -a I was able to see the contents of homepage. There wasn't a directory named App, but there was one name Config. I then ran 'docker exec homepage ls -a config' and saw that it contains: bookmarks.yaml , custom.css , custom.js , docker.yaml , kubernetes.yaml , logs , services.yaml , settings.yaml , widgets.yaml .

My .env is as follows:

COMPOSE_PROFILES=
COMPOSE_PATH_SEPARATOR=:
#COMPOSE_FILE=docker-compose.yml:adguardhome/docker-compose.yml:tandoor/docker-compose.yml:joplin/docker-compose.yml:homeassistant/docker-compose.yml:immich/docker-compose.yml
USER_ID=1000
GROUP_ID=1000
TIMEZONE="America/Denver"
CONFIG_ROOT="."
DATA_ROOT="/mnt/crypt/nas"
DOWNLOAD_ROOT="/mnt/crypt/nas/torrents"
IMMICH_UPLOAD_LOCATION="/mnt/data/photos"
PIA_LOCATION=ca
PIA_USER=#########
PIA_PASS=###########
PIA_LOCAL_NETWORK="192.168.0.0/16"
HOSTNAME=localhost
HOMEASSISTANT_HOSTNAME=
IMMICH_HOSTNAME=
ADGUARD_HOSTNAME=
ADGUARD_USERNAME=
ADGUARD_PASSWORD=
QBITTORRENT_USERNAME=admin
QBITTORRENT_PASSWORD=adminadmin
DNS_CHALLENGE=false
DNS_CHALLENGE_PROVIDER=cloudflare
LETS_ENCRYPT_CA_SERVER="https://acme-v02.api.letsencrypt.org/directory"
LETS_ENCRYPT_EMAIL=
CLOUDFLARE_EMAIL=
CLOUDFLARE_DNS_API_TOKEN=
CLOUDFLARE_ZONE_API_TOKEN=
SONARR_API_KEY=##########
RADARR_API_KEY=###########
LIDARR_API_KEY=
PROWLARR_API_KEY=###########
BAZARR_API_KEY=###########
JELLYFIN_API_KEY=
JELLYSEERR_API_KEY=
SABNZBD_API_KEY=
IMMICH_API_KEY=
HOMEASSISTANT_ACCESS_TOKEN=
HOMEPAGE_VAR_TITLE="Docker-Compose NAS"
HOMEPAGE_VAR_SEARCH_PROVIDER=google
HOMEPAGE_VAR_HEADER_STYLE=boxed
HOMEPAGE_VAR_WEATHER_CITY=
HOMEPAGE_VAR_WEATHER_LAT=
HOMEPAGE_VAR_WEATHER_LONG=
HOMEPAGE_VAR_WEATHER_UNIT=metric
IMMICH_DB_PASSWORD=postgres

I'm still uncertain what the issue is, but hopefully this helps you pin it down!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants