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

posthog hobby install issue #25521

Open
stroeovidiu opened this issue Oct 10, 2024 · 1 comment
Open

posthog hobby install issue #25521

stroeovidiu opened this issue Oct 10, 2024 · 1 comment
Labels
bug Something isn't working right

Comments

@stroeovidiu
Copy link

stroeovidiu commented Oct 10, 2024

Bug Description

Bug description

I am trying to setup posthog using the hobby script and evertyhing seems to work except the plugin server which failes with:
"error":"Error: Key must be 32-byte long base64url encoded string.\n at Fernet.checkKey (/code/plugin-server/node_modules/.pnpm/[email protected]/node_modules/fernet-nodejs/dist/Fernet.js:28:19)\n at new Fernet (/code/plugin-server/node_modules/.pnpm/[email protected]/node_modules/fernet-nodejs/dist/Fernet.js:8:16)\n at /code/plugin-server/dist/cdp/encryption-utils.js:12:46\n at Array.map (<anonymous>)\n at new EncryptedFields (/code/plugin-server/dist/cdp/encryption-utils.js:12:33)\n at createHub (/code/plugin-server/dist/utils/db/hub.js:184:26)\n at async setupHub (/code/plugin-server/dist/main/pluginsServer.js:157:34)\n at async startPluginsServer (/code/plugin-server/dist/main/pluginsServer.js:166:25)","msg":"[MAIN] 💥 Launchpad failure!"}

How to reproduce

Run the hobby install script

Additional context

Debug info

No response

@stroeovidiu stroeovidiu added the bug Something isn't working right label Oct 10, 2024
@pauldambra
Copy link
Member

Hey I believe this is fixed by #25518 (certainly fixed my self hosted instance)

If you run the upgrade script we should now generate the key you need and things will start

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working right
Projects
None yet
Development

No branches or pull requests

2 participants