Dxcufgb's Workshop

Troubleshooting

WIPWork in progress: may be very buggy and can change a lot between versions.

The Windows installer says the setup failed. Read C:\Program Files\FoundryReleaseProxy\install.log; the proxy's own log is C:\ProgramData\FoundryReleaseProxy\logs\proxy.log.

The service won't start. journalctl -u foundry-release-proxy -n 50; it prints refusing to start: ... for a missing token or malformed config.

The service won't start with Changing to the requested working directory failed: Permission denied (status=200/CHDIR), or the updater says Cannot find module '/opt/foundry-release-proxy/src/notify.js'. An install from a version before 1.4.1 ran with a strict root umask (e.g. 077) and left the code folder unreadable for the service user. Installing 1.4.1 or newer fixes the modes; until then: sudo chmod -R u=rwX,go=rX /opt/foundry-release-proxy and sudo systemctl restart foundry-release-proxy.

Foundry's update check for a private module fails or contacts github.com. The installed module.json still points at GitHub (installed before this version, or the zip could not be patched; the log says why). See Module zips and updates.

404 for a module that exists. The repo has no published (non-draft, non-prerelease) release, the release lacks the assets, or the token has no access to that repo.

502. GitHub rejected the request; the log line shows the module id and status (401 expired/invalid token). Test setup on the admin page shows which part fails; replace an expired token there with Add new token.

/_admin/ answers 404. The page has no password yet (--set-admin-password).

403 unknown host name. The name in the address bar is not one of this machine's names or addresses; set it as ADMIN_PUBLIC_URL or add it to ADMIN_HOSTS in env.

The admin port does not answer from another computer. Check ADMIN_PORT/ADMIN_HOST in env, the firewall (sudo ufw allow 8788/tcp; Windows allows private and domain networks only) and the log line admin page for the browser: ... at startup. Behind a reverse proxy: logins that always fail with Secure cookies over plain http mean X-Forwarded-Proto is missing or ADMIN_TRUST_PROXY=1 is not set.

The browser never offers to save the admin password on the admin port. It does not trust the self-signed certificate; see Trusting the Certificate.

No notification e-mails. Use Send test e-mail on the admin page; its error names the SMTP step that failed. The update log (journalctl -u foundry-release-proxy-update, auto-update.log) shows notify: ... lines.

Automatic update fails with HTTP 404. No release has been published yet (a token GitHub refuses is dropped and the lookup repeated without it).

Automatic update fails with rate limit is reached. More than 60 anonymous API requests an hour came from this IP address; wait for the reset time in the message, or give the updater a token (see Automatic Updates).

This page mirrors the Private GitHub Proxy wiki on GitHub.