Past Issues Searched
Issue is a Bug Report
Using official Plausible Cloud hosting or self-hosting?
Self-hosting
Describe the bug
While setting up Plausible on my Kubernetes cluster, I configured SECRET_KEY_BASE to 32/48 bytes, as several parts of the documentation mention that it should be 32/48 bytes. However, the database migration failed, and I encountered a flood of logs related to missing tables.
After a lot of debugging, I eventually discovered that the real issue wasn’t with the database, but with the length of SECRET_KEY_BASE. Buried in the logs, I found this message:
secret_key_base to be at least 64 bytes
It would be super helpful if this requirement was clearly mentioned in the official setup guide and other relevant notes throughout the repository.
Some locations where this clarification would be great to add:
Expected behavior
The setup guide and documentation should reflect the actual requirement for SECRET_KEY_BASE to be at least 64 bytes, to help others avoid this confusion.
Thanks for your great work on Plausible – looking forward to seeing this small clarification improve the onboarding experience!
Screenshots
No response
Environment
- OS: MacOS
- Browser: Arc
- Browser Version: Version 1.106.0 (66192); Chromium Engine Version 138.0.7204.185
Past Issues Searched
Issue is a Bug Report
Using official Plausible Cloud hosting or self-hosting?
Self-hosting
Describe the bug
While setting up Plausible on my Kubernetes cluster, I configured
SECRET_KEY_BASEto 32/48 bytes, as several parts of the documentation mention that it should be 32/48 bytes. However, the database migration failed, and I encountered a flood of logs related to missing tables.After a lot of debugging, I eventually discovered that the real issue wasn’t with the database, but with the length of
SECRET_KEY_BASE. Buried in the logs, I found this message:It would be super helpful if this requirement was clearly mentioned in the official setup guide and other relevant notes throughout the repository.
Some locations where this clarification would be great to add:
Expected behavior
The setup guide and documentation should reflect the actual requirement for
SECRET_KEY_BASEto be at least 64 bytes, to help others avoid this confusion.Thanks for your great work on Plausible – looking forward to seeing this small clarification improve the onboarding experience!
Screenshots
No response
Environment