Closed sonaro closed 1 month ago
Any chance https://github.com/nextcloud/groupfolders/issues/1816 is related?
@camilasan https://github.com/nextcloud/groupfolders/issues/1816 is similar, but distinct. In this case, the group folder disappeared because of a server-side action (Group Folders app because disabled), not because of a client-side rename/delete/move.
@szaimen I want to be careful assigning this to 24.x, since I'm not exactly sure during which major upgrade Group Folders app was disabled. (it happened somewhere 20.0.13 --> 20.0.14.2 --> 21.0.9.1 --> 22.2.10.2 --> 23.0.10.1 --> 24.0.6.1) Could someone advise me the where to look to determine how/when the Group Folders app was disabled?
For me, the Group Folders app was disabled while the 23.0.10 to 24.0.7 upgrade. Same result → the folders are not any more in the database. The data are not exactly loss, they are still present in file system.
I can confirm the original poster issue. We updated 22->23->24 and all was fine, 24->25 gave the exact same issue as reported. Data loss on all desktop-clients both on windows and on linux.
We are sure the directories have not been renamed by users. Just on windows clients a directory named "\<original name> (1)" has been created for each group folder automatically by the desktop client.
I confirm this issue. With update to Nextcloud Hub 4 (26.0.0) the Group Folders App was disabled and all client data loss. After enabling the App the configuration is empty.
Wrong transfer :sweat:
As for the Desktop client, it is doing everything right.
I don't know why the app got disabled automatically, but the admin UI tells you what apps will be unavailable after the update, so you should check that before updating.
Please re-open if there is any information on when exactly it went wrong, as nobody seems to be able to pin down the exact version.
⚠️ This issue respects the following points: ⚠️
Bug description
During a major version upgrade, the Group Folders app was disabled for an unknown reason (needed an update?). While this app was disabled, and after Maintenance mode was turned off, any clients that had access to those group folders and that auto re-sync'd DELETED the client side group folders to match their new nextcloud server permissions since the GF app was disabled.
This is a major issue, for three primary reasons:
Upgrade history: -- 20.0.13 --> 20.0.14.2 --> 21.0.9.1 --> 22.2.10.2 --> 23.0.10.1 --> 24.0.6.1 -- backups were made between each version upgrade. Was not able to find the point when Group Folder app was disabled.
Steps to reproduce
This test plan also includes the client-side data loss example.
NC Client: 3.3.6 on OSX 12.4 (21F79) NC Server: 20.0.13, upgraded to 24.0.6.1 (Not sure when Group Folder app was disabled, but have all logs)
To resolve access:
Expected behavior
The expected behavior is to have the client side app "unmanage" the group folder and allow the entire folder to persist, rather than delete it.
Or:
Installation method
Community Web installer on a VPS or web space
Operating system
Debian/Ubuntu
PHP engine version
PHP 7.4
Web server
Nginx
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
Updated to a major version (ex. 22.2.3 to 23.0.1)
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
I'm not yet able to determine exactly when Group Folders app was disabled, so any info on how to best filter through the logs would be most helpful.