NethServer Version: 7.3
In NextCloud, files in external storages, are only backed up/versions created if they are edited in the web interface. In the NextCloud manual, it states the following if you want to create a version if the file is edited or overwritten outside of NC on the external storage.
You might need to setup a cron job that runs sudo -u www-data php occ files:scan --all (or replace “–all” with the user name, see also Using the occ Command) to trigger a rescan of the user’s files periodically (for example every 15 minutes), which includes the mounted external storage.
On NS, I have no www-data user, do I need to create the user, or run as a different user?
What user is NC running as on NS?
Also, I am unsure if I just add the command to the users crontab, or if I need to change the cron type in Admin from Ajax (which was set by default), to Cron? This is a little confusing.