Hi Have now managed to get this working, following your instructions, but now when i go to check for an update I get
Where is this file a search did not show anything?
Thanks
Hi Have now managed to get this working, following your instructions, but now when i go to check for an update I get
Where is this file a search did not show anything?
Thanks
Here are the commands to set the file permissions:
sudo chown -R www-data:www-data storage
sudo find ./ -type d -exec chmod 755 {} \;
Hi,
I am on a shared server so i am not able to do those commands
Sometimes in the control panel is an SSH window. You might look for that, then you can run @hillel 's command
This is strange. It sounds like youâve uploaded the files with a different user. There should be a ârootâ type of user which will be the same that the webserver uses to execute.
After increasing the memory limit, I also get an error when trying to update from 5.3.75 to 5.3.78 but itâs complaining about an .htaccess file instead.
Iâm using suphp and ownership and permissions are correct on the file in the root and public folders.
The error log comes from here: https://github.com/invoiceninja/invoiceninja/blob/v5-stable/app/Http/Controllers/SelfUpdateController.php#L150
But that doesnât show the location of the file itâs having an issues with, just the name.
Wouldnât \RecursiveDirectoryIterator::SKIP_DOTS
mean it should skip any .htaccess files anyway?
I downloaded the manual package from here: https://github.com/invoiceninja/invoiceninja/releases/download/v5.3.78/invoiceninja.zip
I just left it uploading manually after renaming the folder bootstrap/cache
and there werenât any failed files.
Then I tried running artisan update
and got an error about a missing package:
In Application.php line 745:
Class 'Former\FormerServiceProvider' not found
So then I ran composer install
and then artisan optimize
worked again and I could log back in.
Ok, it looks like the errors Iâm getting relate to the "require-dev"
section of package.json
.
They donât seem to be in the zipâs vendor folder and I assume they arenât needed.
So this might be related to the last time I ran composer update for a similar problem Got Error 500 when upgrading from V5.3.66-W77 to V5.3.7x - #20 by robwent
I just tried running composer again with composer install --no-dev
Dev packages are now gone and the install is still running.
Thanks sharing the details/update!
THANK YOU: the update from 5.4.5 to 5.4.8 has now worked without problems via the backend.