Re-establishing Group Folders

Nextcloud version (eg, 20.0.5): 26.0.8
Operating system and version (eg, Ubuntu 20.04): Alpine
Apache or nginx version (eg, Apache 2.4.25): nginx-1.24.0-r7
PHP version (eg, 7.4): PHP 8.1.26

The issue you are facing:
After upgrading from deprecated Nextcloud 25.x to supported Nextcloud 26.x, it uninstalled the group folders plugin and therefore appeared to get rid of the group folders configured. After re-installing the group folders plugin, it did not restore the group folders. I then checked the server and all of the files are there under a folder named “__groupfolders”. The issue I’m facing is how do I re-attach the group folders with all this data again?

Is this the first time you’ve seen this error? (Y/N): Y

Steps to replicate it:

  1. Login to Nextcloud after the upgrade.
  2. See that configured group folders are missing.
  3. Slightly panic and discover that the group folders plugin was uninstalled.
  4. Install the group folders plugin.
  5. Still see that configured group folders are missing.
  6. SSH into the Nextcloud server & discover all the “missing data” in a folder named “__groupfolders”.

The output of your Nextcloud log in Admin > Logging:

having trouble pasting this - is there a CLI way to get this info?

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

having trouble finding this, but will update this post with it when I do

The output of your Apache/nginx/system log in /var/log/____:

which log???
-rw-r--r--    1 root     root        1.3M Dec  2 18:00 error.log
-rw-r--r--    1 root     root      462.5M Dec  4 21:28 access.log


Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.


How did you upgrade exactly? Web-Interface, updater.phar, Packaged Nextcloud?

Did you activate the app as well? Only “installing” might not be enough.

If you are familiar with occ, the output of:

 occ support:report

will give the information needed.

Much luck,