Invoiceninja 5.x blank page (after trying to disable secret)

What type of hardware are you using: Old laptop or computer
What YunoHost version are you running: 11.3.0.2
What app is this about: InvoiceNinja

Describe your issue

InvoiceNinja 5.10.55~ynh1 worked fine for more than 8 months until a few days ago on my debian 11 system. Then I tried to disable login secret, as described in Disable "Secret(optional)" the right way - Self-Hosted | v5 - Support Forum
But after this I get only a blank page after accessing to my invoiceninja installation.
So I tried to undo my changes in .env and in /etc/yunohost/apps/invoiceninja5/settings.yml and run “php8.3 artisan optimize” and restarted nginx. I also tried to clear the cache with “php8.3 artisan cache:clear”.
But there is furthermore only a blank page.
I would be very grateful for any helpful tips. I would be very reluctant to try to restore the last backup, firstly because some bookings were made afterwards and also because I fear that this might not solve the problem.

Share relevant logs or error messages

The log of the last update is here: https://paste.yunohost.org/raw/ikutefihuj
But after this update invoiceninja worked fine, until I tried to disable the secret - as described above.

The debug-log message is:

2025/01/08 19:36:55 [error] 105248#105248: *5527 FastCGI sent in stderr: “PHP message: PHP Warning: require(/var/www/invoiceninja5/bootstrap/cache/config.php): Failed to open stream: Permission denied in /var/www/invoiceninja5/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/LoadConfiguration.php on line 27; PHP message: PHP Fatal error: Uncaught ReflectionException: Class “config” does not exist in /var/www/invoiceninja5/vendor/laravel/framework/src/Illuminate/Container/Container.php:940
Stack trace:
#0 /var/www/invoiceninja5/vendor/laravel/framework/src/Illuminate/Container/Container.php(940): ReflectionClass->__construct()
#1 /var/www/invoiceninja5/vendor/laravel/framework/src/Illuminate/Container/Container.php(815): Illuminate\Container\Container->build()
#2 /var/www/invoiceninja5/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1048): Illuminate\Container\Container->resolve()
#3 /var/www/invoiceninja5/vendor/laravel/framework/src/Illuminate/Container/Container.php(751): Illuminate\Foundation\Application->resolve()
#4 /var/www/invoiceninja5/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(1030): Illuminate\Container\Container->make()
#5 /var/www/invoiceninja5/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(124): Illuminate\Foundation\Application-” while reading response header from upstream, client: 109.250.179.61, server: faktura.myhost.bz, request: “GET /dashboard HTTP/2.0”, upstream: “fastcgi://unix:/var/run/php/php8.3-fpm-invoiceninja5.sock:”, host: “faktura.myhost.bz”

( I have changed my real Domain to “faktura.myhost.bz” above)

Which line exactly did you delete in the .env file?
I had no pb on the same version : I just commented the API_SECRET one (not the one from settings.yml a this is useless) and then run php artisan optimize and it worked.