YunoHost-Apps / invoiceninja5_ynh

InvoiceNinja5 package for YunoHost
https://www.invoiceninja.org/
GNU General Public License v3.0
11 stars 6 forks source link

Env. File no permission and "Something Went Wrong" #278

Closed flyguy729 closed 22 hours ago

flyguy729 commented 4 days ago

Describe the bug

Fresh Install. Open health check and it says

env. file is not writtable by current user.

Context

Steps to reproduce

Expected behavior

There shouldnt be any error and i should be able to save in Advance Settings

Logs

https://paste.yunohost.org/raw/foxarawoju

Screenshot 2024-06-27 121647 Screenshot 2024-06-27 121713

flyguy729 commented 4 days ago

Anyone? Desperately trying to get this to work :(

rndmh3ro commented 4 days ago

Please provide the logs from invoice ninja. They can be found in the folder of the app in storage/logs or something like this.

flyguy729 commented 3 days ago

Please provide the logs from invoice ninja. They can be found in the folder of the app in storage/logs or something like this.

lavarel.log

Here you go. There seems to be 2 errors

flyguy729 commented 1 day ago

Please provide the logs from invoice ninja. They can be found in the folder of the app in storage/logs or something like this.

sudo chown -R www-data:www-data /var/www/html sudo find ./ -type d -exec chmod 755 {} \; Any updates? I tried this command as well but doest work. i changed it to invoiceninja directory and it breaks invoinceninja.

What is the " current user " of Yunohost/Invoiceninja? Perhaps if chown the correct current user , itll work? maybe www-data is no the current user?

rndmh3ro commented 1 day ago

I just tested this and can confirm that there's a problem when accessing the advanced settings. However this has nothing to do with the .env-file, as far as I am aware.

rndmh3ro commented 1 day ago

should be fixed in the latest release.

flyguy729 commented 23 hours ago

should be fixed in the latest release.

Got it thank you for your hard work. (:

Edit : Ive tested your testing branch since i saw it was already uploaded. Advance Settings (PRO) works now and PDF works too. However ENV error is still there. Does the ENV error affect anything?

Screenshot 2024-06-27 121647