How to do a CLI installation with an existing data directory and database – 🚧 Installation


Hello,

I am using ansible to automate my nextcloud installation, so I am installing via the occ command.

My setup is such that I have a VM with a remote database server and a mountpoint for my owncloud data dir. If I recreate my VM and re-run the occ install command I get an error saying the admin user’s data directory has files present.

What is the best solution to this workflow of reinstalling nextcloud with an existing data directory? I have tried as many hacks as I can think of such as bypassing install completely without any luck.

I feel like I must be missing something, I can’t be the only person doing this right? :laughing:

Thanks!



Source link

Leave a Comment