On a fresh stable install -
I have made modifications directly on the server, in the shell, inside the data/username/files/ directory.
(created a folder, moved a couple of files around).
These modification do not reflect on the synchronised directory on my mac - while, on the other hand - modifications I am making locally (on the client computer - Mac with latest Nextcloud synch app installed) then they appear inside data/username/files/
What am I missing? Is there some doc. somewhere around this specific way it synchronize?
Thanks for the info
Nextcloud version : 12.0.0.6
Operating system and version : Debian Stretch
Hi @jsavalle,
what you are missing is, that it was designed that way.
After manipulating files locally in the /data folder results in the database not knowing what the hell is goin on. Therfore the command:
sudo -u www-data php /var/www/nextcloud/occ files:scan
exists. You may specify a user as last argument or just ‘all’
I´m pretty sure you will find this behaviour in the documentation.
https://docs.nextcloud.com/server/12/admin_manual/configuration_server/occ_command.html?highlight=occ#file-operations-label
If you are syncing via syncclient, of course your Nextcloud knows about the files, because they where properly inserted to the DB through the php code on the server.
2 Likes
Yep I get the logic, I just didn’t know what to look for in the documentation…
I’ll look into it.
Thanks for pointing me in the right direction
1 Like