Skip to content
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

Index 'groups_folder_group' does not exist on table 'oc_group_folders_groups' #2429

Closed
Tracked by #2686
jurgenhaas opened this issue Jun 14, 2023 · 1 comment · Fixed by #2435
Closed
Tracked by #2686

Index 'groups_folder_group' does not exist on table 'oc_group_folders_groups' #2429

jurgenhaas opened this issue Jun 14, 2023 · 1 comment · Fixed by #2435
Labels
0. Needs triage Issues that need to be triaged bug

Comments

@jurgenhaas
Copy link

There is a problem with group folders during update to NC27. When I run occ upgrade, this error occures:

Exception: Database error when running migration 1401000Date20230426112001 for app groupfolders
Index 'groups_folder_group' does not exist on table 'oc_group_folders_groups'.
Update failed

When I run occ db:add-missing-indices, then the output indicates that everything is OK:

Nextcloud or one of the apps require upgrade - only a limited number of commands are available
You may use your browser or the occ upgrade command to do the upgrade
Check indices of the share table.
Check indices of the filecache table.
Check indices of the twofactor_providers table.
Check indices of the login_flow_v2 table.
Check indices of the whats_new table.
Check indices of the cards table.
Check indices of the cards_properties table.
Check indices of the calendarobjects_props table.
Check indices of the schedulingobjects table.
Check indices of the oc_properties table.
Check indices of the oc_jobs table.
Check indices of the oc_direct_edit table.
Check indices of the oc_preferences table.
Check indices of the oc_mounts table.
Done.

So, what can I do?

@jurgenhaas jurgenhaas added 0. Needs triage Issues that need to be triaged bug labels Jun 14, 2023
@jurgenhaas
Copy link
Author

The problem comes from line 55 in groupfolders/lib/Migration/Version1401000Date20230426112001.php. When deleting that line, all works as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Issues that need to be triaged bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant