Cannot Update Groupfolders APP

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • Nextcloud AIO 30.0.5
  • Operating system and version (e.g., Ubuntu 24.04):
    • Debian 5.10.209-2
  • Web server and version (e.g, Apache 2.4.25):
    • replace me
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • integrated caddy
  • PHP version (e.g, 8.3):
    • 8.3.15
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • Updating Groupfolders APP from 18.0.8 to 18.1.0
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • AIO
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

[…]
Hi,
as soon as we try to update the groupfolders app (Updating Groupfolders APP from 18.0.8 to 18.1.0), nextcloud goes into maintenance mode and drops this error.

Steps to replicate it (hint: details matter!):

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

Database error when running migration 19000Date20241029123147 for app groupfolders An exception occurred while executing a query: SQLSTATE[23505]: Unique violation: 7 ERROR: could not create unique index "gf_folders_folder_id" DETAIL: Key (folder_id)=(3) is duplicated.

Problem solved - there where several duplicates in the database at

COPY public.oc_group_folders (folder_id, mount_point, quota, acl) FROM stdin;
1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.