-
-
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
Error when upgrading nextcloud: table nextcloud.oc_jobs doesn't exist #1818
Comments
This error also happens when trying to upgrade from 25.0.9 to 25.0.10: [ nc-update-nextcloud ] (Tue Aug 22 09:33:53 BST 2023) |
There is a 'jobs' table in my nextcloud database, but no 'oc_jobs' database: MariaDB [nextcloud]> show tables like 'jobs'; |
I'm pretty sure that this is the problematic line:
in the file: |
I ran again into this issue. In the
The issue with my Nextcloudpi installation is that it is a migration from a previous installation. My installation does not use the
Note however the reference to the closed bug One of the comments in bug That merge requests seems to fix bug Is my interpretation correct that the part of the script that I quoted above can therefore be removed? If that is indeed the case, removing that part would also fix this issue. |
Another option to solve this issue would be to get the
I would have to figure out how to get the value of a php config file in a |
This is a command to get the value of
|
I created a pull request to solve the database prefix. But maybe setting the whole SQL command that I improved is not necessary any more, as described in: #1818 (comment). |
@janvlug Thank you for the PR! I adjusted it a bit, so that the dynamically detected DB prefix is used everywhere and not just in ncp-update-nc. |
I'm getting this error with 1.54.3. |
@rustyb78 Please create a new issue for this. The original issue is fixed, so we need to debug your case separataely |
I have migrated an old database to nextcloudpi. The old database had no prefixes in the database tables, so I set in the config file dbtableprefix to ''.
But when trying to upgrade nextcloud, I get this:
table nextcloud.oc_jobs doesn't exist
System information
The text was updated successfully, but these errors were encountered: