My installation seems to be working well, now I want to do a little bit to secure it. I have Nextcloud 10 on Ubuntu 16.04. It seems like the first thing I should do is move my data directory out of web root.
I SO don’t want to break my installation. Is there a good tutorial on how to accomplish this and verify once complete that Nextcloud is still functioning properly?
Thanks, and I have to say, I’ve been playing around with it and it’s fantastic, doing exactly what I was hoping.
Hey guys,
I had to change the nc data folder and therefore moved it to another location. nc seems to work okay, but I get error messages in admin page:
Data directory (/var/owncloud_data) is invalid Please check that the data directory contains a file ".ocdata" in its root.
/var/owncloud_data is the old location.
In database table oc_storages I can see old entries. Also my old data folder:
| local::/var/owncloud_data/ | 2 | 1 | NULL | | local::/var/nextcloud/data/ | 94 | 1 | NULL |
What sh…
There’s a little bit of reading for you. In short moving the data directory is not supported and if the install is indeed brand new, you’d be better reinstalling it and picking the correct directory rather than potentially suffering the consequences of moving it.