My YunoHost server
Hardware: VPS bought online
YunoHost version: 126.96.36.199
I have access to my server : Through SSH
Nextcloud upgraded from 15.x to 18.02 over the weekend via yuno admin GUI.
Description of my issue
Upgraded Nextcloud from 15.x to 18.02 over the weekend. Upgrade completed successfully and the desktop apps continued to show the green icon, so nothing wrong was noticed at the time.
Today, a user sent me a screenshot of a MGMT_only shared folder that was no longer being found on her PC in the Nextcloud folder. I can’t find it in anyone’s Trash or Recycling bin. When searching the VPS for the MGMT folder, I get some results in the “files_versions” sub dirs of the two users, but none in “files” sub dirs. So that makes me think the data has been removed, and not just share links needing to be remade. In the Desktop app for the user reporting the problem, there is a 3 day old info notice (originally dated April 2019, though), saying “Some of your link shared have been removed. Due to a security bug we had to remove some of your link shares. Please follow the link for more information” and then the linked page is quite useless. https://nextcloud.com/security/advisory/?id=NC-SA-2019-003). Not sure if coincidence, or the reason for the share to be removed, but seems likely to be the cause. On my Desktop, the activity page shows “Synced MGMT_Only” 3 days ago. When I click the folder icon (to open it), nothing happens. So I’m fairly confident this was an upgrade action.
The more I use Nextcloud, the more annoyed I get. https://help.nextcloud.com/t/nextcloud-removed-shares-nc-sa-2019-003-how-get-these-list/53301/11. Just gets more “Mickey Mouse” over at Nextcloud. Sigh
At this point, if I don’t learn anything additional in the next few hours, I think the answer would be to mount a borg backup from Friday night, extract the MGMT_Only folder, and copy it to /home/yunohost.app/nextcloud/data/username/files/?
Is restoring MGMT_Only folder from borg backup the only and correct way to recover from this?
I can when searching for MGMT_Only, in the /files_versions/ sub dirs, there is a folder called “Human Resources”. When I search the VPS search for this, I find many hits under /home/yunohost.app/nextcloud/data/__groupfolders/1/.
So I think this means things are more complicated than I thought and I’m super confused how to proceed. But sounds like I need to recreate a Group Folder and call it “MGMT_Only” and then copy files extracted from Borg backup?