-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PHP Fatal error after upgrade to 14.0.0 #11225
Comments
GitMate.io thinks possibly related issues are #6299 (Fatal Errors), #1282 ( Authentication problem after upgrade to 10.0.0), #8754 (White page / Error 500 after Upgrade from Nextcloud 12.0.4 to 13 ), and #7788 (Android client unable to login via default login method (class appName does not exist)). |
BTW I have tried to downgrade back to 13.0.6 and I still get the same errors. This lead me to conclude it be related to a recent PHP upgrade so I tried to downgrade these as well and I still get the same errors. |
Same here.
|
OK - It has been fixed! |
I get a similar error after upgrading to version 14. However server was running good for a day, now I cannot access it via frontend, nor by backend. Always get:
I checked mysql.user and user nextcloud is still available. |
Thanks @jwrangel for pointing me to check on my SQL service as well, I use PostgreSQL and from some reason it fails to start on boot. Right after I restarted it everything goes back to normal so that's not a problem from Nextcloud side. |
Found a mysql connection error as well. Sorry for the confusion. Only question: Why is there not an error coming up, like "Cannot connect to DB" |
@chris42 what kind of mysql connection error where you getting and where was it logged? |
@pjsanon |
#11316 should help getting a meaningful error message |
Could you apply the linked patch and check if the error message gets more helpful? |
@MorrisJobke you mean PR #11316 ? |
Yes. |
It seems to work. I get the following error when using PR #11316 and cutting the DB connection.
|
There is not much we can do, when the database refuses the connection. Check the forums for help with this, as this is more a setup issue then. |
Let's close this if it is a configuration/database issue and not a bug. Feel free to re-open if you can confirm it isn't the database puking out but caused by something in Nextcloud code itself! |
Steps to reproduce
httpd
.Expected behaviour
I don't get any errors and my Nextcloud instance works.
Actual behaviour
I get a fatal PHP error in
httpd
's logs:http logs
Server configuration
Operating system: Arch Linux
Web server: Apache 2.4.34
Database: Postgresql
PHP version: 7.2.10
Nextcloud version: 14.0.0
Updated from an older Nextcloud/ownCloud or fresh install: 13.0.6
Where did you install Nextcloud from: Distribution repositories.
Signing status: I can't login as admin user into your Nextcloud and access http://example.com/index.php/settings/integrity/failed since the server doesn't work at all.
Running
sudo -u http php occ app:list
gives:sudo -u http php occ app:list
Running
sudo -u http php occ config:list system
gives: Same result.Contents of config.php:
Contents of config.php
Are you using external storage, if yes which one: no
Are you using encryption: no
Are you using an external user-backend, if yes which one: no
Client configuration
Browser: Any
Operating system: Any
Logs
Web server error log
Same as posted above:
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
I get mainly errors with strings such as:
Browser log
Irrelevant
The text was updated successfully, but these errors were encountered: