-
-
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
Update from Nextcloud 17 to 18 #18997
Comments
I am having the same issue running the following stack Operating system: Error log:
|
I've hit the same issue, and because I didn't notice the weirdness for a while, broke my install. Seems my install broke when doing the upgrade, installed a bad version of the settings app, and can't enable it from Might just be easier to do a full reinstall, which is annoying. Never had any upgrade issues before. |
Hello, Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing 'SELECT "o"."id" FROM "oc_flow_operations" "o" LEFT JOIN "oc_flow_operations_scope" "s" ON "o"."id" = "s"."operation_id" WHERE "s"."operation_id" IS NULL': SQLSTATE[42P01]: Undefined table: 7 ERROR: relation "oc_flow_operations_scope" does not exist LINE 1: ... "o"."id" FROM "oc_flow_operations" "o" LEFT JOIN "oc_flow_o... ^ |
Same problem, then NC17 to NC18 using ./occ upgrade:
Description: Ubuntu 18.04.3 LTS |
Can confirm identical issue when upgrading from 17 to 18 on Debian 10; (mariadb-server-10.3, PHP 7.3.11-1~deb10u1, nginx/1.14.2, redis-server 5:5.0.3-4+deb10u1). Restored fine to 17 from backup luckily |
Chiming in, also just had this with a fresh download: Upgrading from 17.03 to 18:
|
Let me guess. You downloaded nextcloud 18, extracted the update into nextcloud 17 folder and run upgrade? If so please have a look at my previous comment. |
No, I moved the old Nextcloud 17 folder to After that the upgrade failed. So I'm guessing one of the apps is at fault here? |
Step 9 says to compare the folders and copy the apps not present. Please check the other thread for possible solutions. |
Agreed, so I redid the installation this time without copying any of the older apps. (Figured I'd just reinstall them from the web interface) Installation still hit a few snags like:
But I just had to delete those and remove the mysql files. |
That did the trick for me |
Ubuntu_ all working like a charm. |
Everyone able to upgrade? Okay with you to close this one? |
did exactly as you told
Does the repair error matter in any way? if not just close the topic. |
No I have this message on the update |
Steps to reproduce
Expected behaviour
Update to 18
Actual behaviour
Update failed with error
Server configuration
Operating system:
Raspian
Web server:
Apache
Database:
MariaDB
PHP version:
7.4
Nextcloud version: (see Nextcloud admin page)
17.x
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from:
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
Are you using encryption: no
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
LDAP configuration (delete this part if not used)
LDAP config
Client configuration
Browser:
Operating system:
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing 'SELECT `o`.`id` FROM `oc_flow_operations` `o` LEFT JOIN `oc_flow_operations_scope` `s` ON `o`.`id` = `s`.`operation_id` WHERE `s`.`operation_id` IS NULL': SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_flow_operations_scope' doesn't exist Detaillierte Protokollmeldungen
Update vorbereiten
Log-Level auf "debug" gesetzt
Wartungsmodus eingeschaltet
Reparaturschritt: Repair MySQL collation
Reparaturinformation: All tables already have the correct collation -> nothing to do
Reparaturschritt: Repair SQLite autoincrement
Reparaturschritt: Copy data from accounts table when migrating from ownCloud
Reparaturschritt: Drop account terms table when migrating from ownCloud
Das Datenbankschema wird aktualisiert
Datenbank aktualisiert
Reparaturschritt: Migrate old user config
[1 / 0]: Migrate old user config
[2 / 0]: Migrate old user config
[2 / 2]: Migrate old user config
"accessibility" aktualisiert auf 1.4.0
"federatedfilesharing" aktualisiert auf 1.8.0
"files_pdfviewer" aktualisiert auf 1.7.0
"files_rightclick" aktualisiert auf 0.15.2
"files_videoplayer" aktualisiert auf 1.7.0
"logreader" aktualisiert auf 2.3.0
"password_policy" aktualisiert auf 1.8.0
"privacy" aktualisiert auf 1.2.0
"provisioning_api" aktualisiert auf 1.8.0
"recommendations" aktualisiert auf 0.6.0
"serverinfo" aktualisiert auf 1.8.0
"support" aktualisiert auf 1.1.0
"survey_client" aktualisiert auf 1.6.0
"text" aktualisiert auf 2.0.0
Reparaturschritt: Add background job to check for backup codes
"twofactor_backupcodes" aktualisiert auf 1.7.0
"updatenotification" aktualisiert auf 1.8.0
"federation" aktualisiert auf 1.8.0
"lookup_server_connector" aktualisiert auf 1.6.0
Reparaturschritt: Update OAuth token expiration times
"oauth2" aktualisiert auf 1.6.0
"files" aktualisiert auf 1.13.1
"activity" aktualisiert auf 2.11.0
"cloud_federation_api" aktualisiert auf 1.1.0
Reparaturschritt: Fix component of birthday calendars
Reparaturinformation: 1 birthday calendars updated.
Reparaturschritt: Regenerating birthday calendars to use new icons and fix old birthday events without year
Reparaturinformation: Adding background jobs to regenerate birthday calendar
Reparaturschritt: Fix broken values of calendar objects
[0 / 0]: Fix broken values of calendar objects
Reparaturschritt: Registering building of calendar search index as background job
Reparaturinformation: Add background job
Reparaturschritt: Registering background jobs to update cache for webcal calendars
Reparaturinformation: Added 0 background jobs to update webcal calendars
Reparaturschritt: Registering building of calendar reminder index as background job
Reparaturinformation: Add background job
Reparaturschritt: Clean up orphan event and contact data
Reparaturinformation: 0 events without a calendar have been cleaned up
Reparaturinformation: 0 properties without an events have been cleaned up
Reparaturinformation: 0 changes without a calendar have been cleaned up
Reparaturinformation: 0 cached events without a calendar subscription have been cleaned up
Reparaturinformation: 0 changes without a calendar subscription have been cleaned up
Reparaturinformation: 0 contacts without an addressbook have been cleaned up
Reparaturinformation: 0 properties without a contact have been cleaned up
Reparaturinformation: 0 changes without an addressbook have been cleaned up
Reparaturschritt: Remove activity entries of private events
Reparaturinformation: Removed 0 activity entries
"dav" aktualisiert auf 1.14.0
Reparaturschritt: Fix the share type of guest shares when migrating from ownCloud
Reparaturschritt: Copy the share password into the dedicated column
Reparaturschritt: Set existing shares as accepted
"files_sharing" aktualisiert auf 1.10.1
"files_trashbin" aktualisiert auf 1.8.0
"files_versions" aktualisiert auf 1.11.0
"sharebymail" aktualisiert auf 1.8.0
Reparaturschritt: Populating added database structures for workflows
Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing 'SELECT
o
.id
FROMoc_flow_operations
o
LEFT JOINoc_flow_operations_scope
s
ONo
.id
=s
.operation_id
WHEREs
.operation_id
IS NULL': SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_flow_operations_scope' doesn't existThe text was updated successfully, but these errors were encountered: