I don´t have shell access and have no idea how i can fix this with a php script.
Had the same problem, http error 500 after doing the upgrade via the web updater. Thanks to the tip to finish upgrade with command line, things got working again luckily. But this should have come up in tests…
Same issue with me. 188.8.131.52 to 184.108.40.206
The OCC command worked !
Also php 7.
But I think it has something to do with IPv4 and IPv6 access next to each other. SSL cert and other security measurements are ok.
DNS could not resolve the address cloud.mydomain.x anymore during the update process…
Thanks a lot! had the same issue an it worked!
I have the same issue.
The web updater process finished with success and after “Done” step I click on “Go back to your Nextcloud…” but…
Because I have no shell access I tried to create a php file (as suggested by flux84) in nextcloud root and I execute it from the control pannel of my web hosting unfortunately without success, probably because there are some system limitation…
- Why ‘version’ => ‘220.127.116.11’, ?
- Why ‘updater.secret’ => ‘$2y$10$CKoaRLlfThsHqduvxKY74.hZNyb7qozzGiatDONAEYx26ioZhVWyK’,
‘theme’ => ‘’,
may be there is a webserver configuration issue see here
NC wont work correct without a correct webserver config
Same here @all-inkl.com PHP 7.1 (tested also with 7.2) --> error 500
I’ve also got the same problem after updating to v13 with hoster all-inkl.com, any solutions someone?
Edit: After consulting the All-Inkl-Team, the app “files_accesscontrol” was causing the problems within my installation. Try disabling this app via mysql in table _appconfig (files_accesscontrol – enabled – no) and try to update again.
and thank you very much for your answer. Really saved me.
Was just the right tip, I forgot to update my apps.
I learn from this, before the next update check apps!
oh man, thank you so much:heart_eyes:. it worked for me with no issue.
Perhaps it was solved in the mean time, if not, you can try to manually recreate your css/js-cache on your server:
Going in theming settings and updating the color fixed the problem !
I had the same problem on my nextcloud installation on my Qnap NAS.
First I had "Content Encoding Error"
and after running
sudo -u httpdusr /mnt/ext/opt/apache/bin/php occ upgrade
I had HTTP 500 Internal Server Error
What surprisingly fixed this issue for me was restarting my webserver deamon:
This is still happening if you upgrade from 12.0.6 to 13.0.1
[Wed Mar 21 08:02:42.264942 2018] [:error] [pid 21857] [client MYIP:54670] PHP Fatal error: Declaration of OCA\\FilesAccessControl\\StorageWrapper::copyFromStorage(OCP\\Files\\Storage $sourceStorage, $sourceInternalPath, $t argetInternalPath) must be compatible with OCP\\Files\\Storage::copyFromStorage( OCP\\Files\\Storage\\IStorage $sourc eStorage, $sourceInternalPath, $targetInternalPath) in /var/www/owncloud/apps/ files_accesscontrol/lib/StorageWrapper .php on line 628 [Wed Mar 21 08:02:45.437060 2018] [:error] [pid 21836] [client MYIP:56817] PHP Fatal error: Declaration of OCA\\FilesAccessControl\\StorageWrapper::copyFromStorage(OCP\\Files\\Storage $sourceStorage, $sourceInternalPath, $t argetInternalPath) must be compatible with OCP\\Files\\Storage::copyFromStorage( OCP\\Files\\Storage\\IStorage $sourc eStorage, $sourceInternalPath, $targetInternalPath) in /var/www/owncloud/apps/ files_accesscontrol/lib/StorageWrapper .php on line 628
i needed to disable it via CLI, then it runs.
How can this still happen after such a long time?
No, it was fixed for NC 13.0.1. So if it still happens, please report it directly to https://github.com/nextcloud/server/issues
I am also getting an 500 error after upgrade from nc 13.0.0 to 13.0.1
I cannot use the Nextcloud UI anymore. I do get the login page when in Private browsing mode but after login it fails with an error message at the url: /apps/files/
Internal Server Error
The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.
Note that the Desktop client and the Android app can normally connect.
In The Server log I can find:
I cannot use occ (shell) commands since I am on Shared hosting.
Had same problem going from NC 12.0.6 to 13.0.2, did the terminal console upgrade suggestion from server install folder and worked like a champ. Wish developers were more careful on this, but heck, this is what we expect for with open source slight_smile:
Same problem (internal server error) after upgrade from 13.0.1 to 13.0.2.
Unable to access web interface.
Disabling files_versions (1.6.0) with “sudo -u www-data php occ app:disable files_versions” resolves error 500.
After “Error: This app can not be enabled because it makes the server unstable”
The initial issue was solved, so I close this issue. If you get the same error message, the reason is probably different. If there are unwanted interferenced during updates with certain apps, don’t hesitate to open a bug report on https://github.com/nextcloud/server/issues.