I’m running nextcloud 28.0.3. and latest nextcloud desktop client.
after a server migration, I had to run occ file:scan briefly now to restore some of the files on the server. They are visible and accessible through the web interface now.
The only problem that remains is that the desktop client doesnt detect these files as new files and doesnt sync them to the nextcloud local folder, how can I trigger a complete rescan and sync to the server?
given the fact you had to run occ files:scan I think you didn’t migrate the server right… In such situation the client database doesn’t match the server. I would recommend you remove you user form the client and setup it from scratch. the client will start and sync all the files from the server.