How to Feed a New NC 17 Directly

I want to make a new NextCloud, which should become my file server.

The hardware setup is a Raspberry Pi 4 connected via Ethernet with my router Fritzbox 7490. Attached to the Raspberry is an external 1TB USB HDD.

At the initial setup I do not want to upload all the files via internet onto the server. Instead I want to transfer all the files either via USB directely from my macOS file system into the HDD, which is provided then to be /var/www/html/data. Or alternatively, I want to transfer the files via WLAN/Ethernet into the NC.

How can I do that?

This should do the trick, once all files are in your data directory.

php occ files:scan --all

1 Like