-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Crash on startup after docker image update #2491
Comments
PS: Manually downgrading to |
Confirmed that the latest and 1.5 tags from docker hub are not working. Curious that the image size is half that of 1.4 |
👋 everyone It seems to be related to docker/build-push-action#726 A quick fix is to set ...
BASE_URL=replace-me
SECRET_KEY_BASE=replace-me
+ BUILD_METADATA={} |
### Changes This PR adds a fallback to empty build metadata when BUILD_METADATA contains invalid JSON. Example `warning` log for `BUILD_METADATA={...}`: ``` 20:57:57.872 [warning] failed to parse $BUILD_METADATA, reason: ** (Jason.DecodeError) unexpected byte at position 1: 0x2E (".") ``` Fixes #2491 ### Tests - [x] This PR does not require tests ### Changelog - [ ] Entry has been added to changelog ### Documentation - [x] This change does not need a documentation update ### Dark mode - [x] This PR does not change the UI
I've reopened the issue to make it more visible. I'll close it again once the container image is updated. |
Seems to work with v1.4.4 |
Past Issues Searched
Issue is a Bug Report
Using official Plausible Cloud hosting or self-hosting?
Self-hosting
Describe the bug
Plausible crashes on startup.
I updated the image to the latest version, which was pushed about an hour ago. I cannot start my plausible instance anymore, and I get a bad gateway error:
Error:
Expected behavior
No crash on startup.
Screenshots
No response
Environment
The text was updated successfully, but these errors were encountered: