InvoiceNinja5: disable "Secret(optional)" the right way

My YunoHost server

Hardware: Home server
YunoHost version: 11.0.10.2
I have access to my server : Through SSH | through the webadmin | direct access via keyboard / screen
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

I looked at this issue here:

Which says the config is here:

/etc/yunohost/apps/invoiceninja5/settings.yml

and the actual .env file is here:

/var/www/invoiceninja5/.env

I went into both files to remove the API_Secret but in both of them it says:

[ XXX is meant to be read-only ]

So I removed it regardless. Rebooted the server, but I am still getting the error:

403: Invalid secret on login

How do I remove the Secret from the login properly?

I checked here with no luck:

For anyone using Yunohost:

  1. Remove the app secret from both places listed above
  2. Run: php8.1 artisan optimize
  3. Restart the server

It works.

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.