Change nextcloud path from /var/ to /home/

Hi there!

After installing nextcloud everything works fine, but as it’s installed in /var/ partition, space in disk is limited (to around 20GB). Is it possible to install nextcloud in /home/ directory in order to have all free available space in disk instead of being in /var/ directory?

(I’ve installed nextcloud in ubuntu server and other in centos7 server)

Thanks and regards!

Yes, you can also move only data directory to place with more free disk space. This will save you adjusting of WebServer configuration. It is very simple read more about: HowTo: Change / Move data directory after installation

1 Like


this was a very secret hint towards you should be using the search-function of the forum ahead of posting something here… :wink: welcome to the forum, though :smiley:

@gas85 thanks anyways

1 Like

many thanks guys! i’m sorry, i didn’t found it (i’ve tried it, but without success)