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

Invoice Ninja - the non-interactive inithook is failing #1812

Closed
JedMeister opened this issue Mar 9, 2023 · 0 comments · Fixed by turnkeylinux-apps/invoice-ninja#5
Closed

Comments

@JedMeister
Copy link
Member

JedMeister commented Mar 9, 2023

I just discovered a(nother) bug in our recent v17.3 Invoice Ninja appliance! groan

It's a syntax error in the /usr/lib/inithooks/firstboot.d/20regen-ninja-invoice-secrets script. A super simple typo that I'm deeply embarrassed about.

On the plus side, it's a relatively simple fix:

sed -i '/UPDATE_SECRET/s/mcookie)/mcookie)|"/' /usr/lib/inithooks/firstboot.d/20regen-ninja-invoice-secrets
/usr/lib/inithooks/firstboot.d/20regen-ninja-invoice-secrets

Please note that whilst I'm fairly sure that you should be able to run this command without causing any issues, I'm not 100% sure. So please ensure that you have a backup before running this just in case.

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

Successfully merging a pull request may close this issue.

1 participant