@scottalanmiller said in NextCloud VM with NFS storage:
@dafyre said in NextCloud VM with NFS storage:
@scottalanmiller said in NextCloud VM with NFS storage:
@gjacobse said in NextCloud VM with NFS storage:
@scottalanmiller said in NextCloud VM with NFS storage:
How can you ingest NFS storage into NextCloud?
The Current is part of a VM, NextCloud would be a VM - Why could you not mount both?
How woudl that work? What would NextCloud do with a bunch of random files that have no metadata? They don't exist in the database, what would happen to them?
There's a command you can run that will take a list of files and make them available to a user, I think.
So one user would just get "everything." Or else it's a huge manual process.
Not exactly. Have you ever looked at the file structure of ownCloud/Nextcloud?
Basically in the /data folder there are subfolders per user. You would populate those with the files from the old file server. Then you pop into the CLI and issue this command to rescan the folders and put the stuff in the database.
sudo -u apache php occ files:scan --all -v
You can also do it per user.
I would not recommend ever doing this on an existing system that was not already hosed for some other reason.