-
-
Notifications
You must be signed in to change notification settings - Fork 4k
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
problems update #12218
Comments
Interesting. I have the same issue with an upgrade I'm attempting from Owncloud 10, major version by major version. Upgrading/Migrating from Owncloud 10 worked almost like a breeze, but then Upgrading from Nextcloud 12.0.12.2 to NC 13.0.x fails with this exact error. You'd think the migrate tool would have added this table if it's been introduced by NC… And even more interesting, another installation of NC that I have and that already runs version 14 does not have this table either… For reference, there's also a forum thread (well, only the OP so far) mentioning this: https://help.nextcloud.com/t/upgrade-issues-to-nextcloud-14-on-database/39561 |
Here's a little more verbose material while I'm trying to work around this: Some context:
Exception stack-trace:
|
What worked for me (but I'm not sure yet if there won't be issues in the future) was to remove the following apps from the apps folder:
With these gone, the upgrade succeeds, and also a follow-up upgrade from 13.x to 14.x works. The apps will also be replaced by the upgrade to the next version of NC. |
IDK, the upgrade process seems to be relatively flaky. There are often values e.g in the appconfig table that are not changed as they should have been, or tables whose migrations aren't running, thus making the tables miss columns. Eventually, you'll figure it out, but I just think there are so many varying states out there (meaning people, including myself, have messed up their nextcloud or owncloud installations) that the upgrade mechanism just can't cover them all. |
The title of the issue I filed turns out to be misleading; Version13000Date20170705121758 is the migration that isn't running here. |
Closing as I assume this has been resolved by now. |
Hey there
When I want to update nextcloud I receive the following error.
Any ideas on how to solve it?
Thank you
Tim
Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing 'SELECT
class
FROMoc_personal_sections
WHEREclass
= ? LIMIT 1' with params ["OCA\FederatedFileSharing\Settings\PersonalSection"]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'timkroeg_next879.oc_personal_sections' doesn't existThe text was updated successfully, but these errors were encountered: