I setup this server as a pilot and we love Nextcloud. I originally set it up with the data on an attached drive.
Now I want to move the data to my SAN which is running Windows server.
I setup the mount point and used rsynch to transfer the data over. Everything looks good. I changed the ‘datadirectory’ to point to the new share and restarted apache. But now, everyone’s “files” page is blank. No files. There’s not even a + button to add a file. When I drag a new file onto the form it says “0 bytes free”.
I know www-data has permission to write to the SAN because I tested that. Also, Nextcloud is writing to the nextcloud.log file on the SAN. I tried doing an “occ files:scan” and it reported the correct number of files and folders. But users get nothing. I’m stumped.
I setup my file share with autofs like this:
cloud -fstype=cifs,rw,noperm,credentials=/secure/cloud.smb,uid=www-data,gid=www-data,file_mode=0644,dir_mode=0770 ://deepthought/cloud
The old location was /var/data
The new location is /mnt/cloud
Do I need to update the table oc_storages? Please advise.