-
-
Notifications
You must be signed in to change notification settings - Fork 297
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
[NCP] Internal Server Error & 1146 Table 'nextcloud.oc_mounts' doesn't exist` #1556
Comments
Hi kmpfwurst, i'm having the same Problem after My NCP Instance updated itself on saturday morning from Nextcloud Version 23.0.6.1 to 24.0.3, but ran into an problem with the not installed PHP7.4. The Rollback failed and Nextcloud remained in maintenance mode. I switched it off in the NCP Admin Panel, but i cant access my Nextcloud. Since then i'm searching for a hint or solution to get it back running. The /var/log/ncp.log contained this:
|
Hi, sorry for the late reply. There's been a lot going on lately with the v1.50.0 release that kept me busy. First of all: The cause for your issues will be prevented going forward by a check in the ncp-update-nc script. However, unfortunately this doesn't help you anymore. In your case I recommend to restore the backup that has been created before the attempted update ( |
@theCalcaholic Thanks for your reply. I allready restored the backup and my NC runs fine again. I deactivated the autoupdate_nc for now and wait until the problem with PHP8 in #1542 is resolved to make the upgrade to bullseye |
Sorry I dont get it - what excatly do you mean "the exact path". I say i cannot find the back up. ALready tried it before. Do you know how I can access my data on the external drive? If i can access it i just reinstall everything. |
He means that the location of your backup and the exact path where it should be located is written in the ncp.log 🙂 You should be able to access the files by connecting the drive to another Linux computer and accessing it that way. You should be able to move the files as root, it can potentially mess up the permissions a little, if that happens it's easily fixed with the chown or chmod command |
@kmpfwrst Connect to your ncp instance using ssh or by connecting a keyboard and a screen. Check the output of
This file contains your configuration, database and nextcloud installation. It should also contain your data if you didn't move the data directory. |
Hello,
since a few days I cannot access my nextcloudpi via hte DNS nor the IP. But it is possible to enter the admin panel.
I am getting the error "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."
Withe following command I get:
ncc notify_push:self-test An exception occurred while executing a query: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_mounts' doesn't exist
I used google and internal search but didn'T find a solution for this bug.
NextCloudPi diagnostics
Nextcloud configuration
HTTPd logs
Database logs
The text was updated successfully, but these errors were encountered: