I had a Nextcloud server running with all my data. I set up a new server and copied the data folder from the previous server to the new one. All seems to be running fine, the files are showing correctly, but the shared files by the users are not seen in any of the accounts.
Also, when I login through the user account and go in the Settings and click “Sharing” tab, the following error pops up:
Request ID: FyWNdXrU2ytB6GqoalAf
Type: OCP\Files\NotPermittedException
Code: 0
Message: Could not create path
File: /var/www/html/lib/private/Files/Node/Folder.php
Line: 185