mhzawadi / invoiceplane

InvoicePlane is a self-hosted open source application for managing your invoices, clients and payments.
16 stars 8 forks source link

Can't disable setup and errors while entering "Settings" #50

Open parasiteoflife opened 2 months ago

parasiteoflife commented 2 months ago

Describe the bug I've finished the setup so I went and disabled it with env var but after restarting invoiceplane asks me to finish the installation and accessing the setup page errors out, trying to enter /login also doesn't work.

Also, when I access the "Settings" page I get:

Warning: include(/var/www/html/application/views/errors/html/error_php.php): Failed to open stream: No such file or directory in /var/www/html/vendor/codeigniter/framework/system/core/Exceptions.php on line 269

Warning: include(): Failed opening '/var/www/html/application/views/errors/html/error_php.php' for inclusion (include_path='.:/usr/share/php81') in /var/www/html/vendor/codeigniter/framework/system/core/Exceptions.php on line 269

Warning: include(/var/www/html/application/views/errors/html/error_php.php): Failed to open stream: No such file or directory in /var/www/html/vendor/codeigniter/framework/system/core/Exceptions.php on line 269

Warning: include(): Failed opening '/var/www/html/application/views/errors/html/error_php.php' for inclusion (include_path='.:/usr/share/php81') in /var/www/html/vendor/codeigniter/framework/system/core/Exceptions.php on line 269

Warning: include(/var/www/html/application/views/errors/html/error_php.php): Failed to open stream: No such file or directory in /var/www/html/vendor/codeigniter/framework/system/core/Exceptions.php on line 269

Warning: include(): Failed opening '/var/www/html/application/views/errors/html/error_php.php' for inclusion (include_path='.:/usr/share/php81') in /var/www/html/vendor/codeigniter/framework/system/core/Exceptions.php on line 269

Warning: include(/var/www/html/application/views/errors/html/error_php.php): Failed to open stream: No such file or directory in /var/www/html/vendor/codeigniter/framework/system/core/Exceptions.php on line 269

Warning: include(): Failed opening '/var/www/html/application/views/errors/html/error_php.php' for inclusion (include_path='.:/usr/share/php81') in /var/www/html/vendor/codeigniter/framework/system/core/Exceptions.php on line 269
mhzawadi commented 2 months ago

Hi @parasiteoflife

Could you post your compose file or Docker command please?

mhzawadi commented 2 months ago

I've had a look and found that you need to add SETUP_COMPLETED to your env vars. You will also need to collect the ENCRYPTION_KEY and ENCRYPTION_CIPHER to make everything work