Nextcloud Questions
-
@brandon220 said in Nextcloud Questions:
Hello all,
At what point (in terms of size) would you store your Nextcloud data in /data vs. /var/www/html/nextcloud/data ? I am sure there are a difference of opinion on this. Lets say.... between 2Tb and 4Tb.I always do. Standard builds make life easier.
-
@brandon220 said in Nextcloud Questions:
Hyper-V in Ubuntu Server 16.04
Don't use old Ubuntu. If you absolutely must use Ubuntu, keep it current. Ubuntu 17.04 is current and will work better with newer components under the hood. But I recommend Fedora.
-
@brandon220 said in Nextcloud Questions:
Second - If you have an install (VM) that has been filled ( 127 Gb Hyper-V in Ubuntu Server 16.04) and no free space do you:
1- Expand the volume to increase space
2- Migrate to a new server with a larger storage allocation
3- Combination of the above 2? New server VM with a separate data vdisk for nextcloud dataNormally I would just migrate to a new block device, but it depends on what your needs are.
-
@brandon220 said in Nextcloud Questions:
Hello all,
At what point (in terms of size) would you store your Nextcloud data in /data vs. /var/www/html/nextcloud/data ? I am sure there are a difference of opinion on this. Lets say.... between 2Tb and 4Tb.Always in a different directory. Amount of data stored has nothing to do with security! Which is why you want the data stored somewhere other than /var/www/html/nextcloud/data.
Second - If you have an install (VM) that has been filled ( 127 Gb Hyper-V in Ubuntu Server 16.04) and no free space do you:
1- Expand the volume to increase space
2- Migrate to a new server with a larger storage allocation
3- Combination of the above 2? New server VM with a separate data vdisk for nextcloud dataImpossible to know without knowing your exact environment. Any of those could make sense. I'd prefer #1, but that's a purely personal preference.
-
@travisdh1 I am not thinking in a security sense - more of a performance factor.
-
@scottalanmiller When the VM was first loaded, 16.04 was current.
-
@brandon220 said in Nextcloud Questions:
@travisdh1 I am not thinking in a security sense - more of a performance factor.
Is it all on the same RAID array? Then performance will not change no matter what mount points, partitioning, or logical volumes are in the mix.
-
@brandon220 said in Nextcloud Questions:
@travisdh1 I am not thinking in a security sense - more of a performance factor.
You really should be. The entire point of Nextcloud is to make your files available anywhere. That means doing the small security things all the time.
-
@scottalanmiller said in Nextcloud Questions:
@brandon220 said in Nextcloud Questions:
Normally I would just migrate to a new block device, but it depends on what your needs are.
This was supposed to be a "demo" but they used it for production and filled it quickly once they realized how great it works. Now I need to get them more space. Trying to determine the best path forward.
-
@travisdh1 I always make sure it is secure. I am referring to storing large amounts of data inside a directory that Apache uses as well.
-
@brandon220 said in Nextcloud Questions:
@scottalanmiller said in Nextcloud Questions:
@brandon220 said in Nextcloud Questions:
Normally I would just migrate to a new block device, but it depends on what your needs are.
This was supposed to be a "demo" but they used it for production and filled it quickly once they realized how great it works. Now I need to get them more space. Trying to determine the best path forward.
That's great that they are utilizing it so much. I think you've mentioned that this is a VM? Just add another virtual drive to the machine and migrate like normal. If it's all on an LVM, this is easy.
-
@travisdh1 said in Nextcloud Questions:
That's great that they are utilizing it so much. I think you've mentioned that this is a VM? Just add another virtual drive to the machine and migrate like normal. If it's all on an LVM, this is easy.
Yes, it is a VM in Hyper-V. Problem is that the data is in /var/www/html/nextcloud/data. I think it would be easiest to add another vdisk and move the data but I've had issues with that in the past. Seems like the install breaks every time and cannot seem to recover it.
-
I thought about making a new VM using Fedora 25 as the one @scottalanmiller provided the group works so well. I'm just afraid I won't be able to successfully migrate the data.
-
@brandon220 said in Nextcloud Questions:
@travisdh1 said in Nextcloud Questions:
That's great that they are utilizing it so much. I think you've mentioned that this is a VM? Just add another virtual drive to the machine and migrate like normal. If it's all on an LVM, this is easy.
Yes, it is a VM in Hyper-V. Problem is that the data is in /var/www/html/nextcloud/data. I think it would be easiest to add another vdisk and move the data but I've had issues with that in the past. Seems like the install breaks every time and cannot seem to recover it.
I think I remember trying to move it myself on a test install and having issues, even after changing the config file. Might want to roll a new server and migrate.
-
@brandon220 said in Nextcloud Questions:
I thought about making a new VM using Fedora 25 as the one @scottalanmiller provided the group works so well. I'm just afraid I won't be able to successfully migrate the data.
Getting the users ported over will be harder than the data. Literally just copy everything from the old directory to the new one.
-
@travisdh1 said in Nextcloud Questions:
@brandon220 said in Nextcloud Questions:
@travisdh1 said in Nextcloud Questions:
I think I remember trying to move it myself on a test install and having issues, even after changing the config file. Might want to roll a new server and migrate.
I had the same issue. It's very frustrating to say the least.
-
@brandon220 said in Nextcloud Questions:
@travisdh1 I am not thinking in a security sense - more of a performance factor.
That's not a factor.
-
@brandon220 said in Nextcloud Questions:
@scottalanmiller When the VM was first loaded, 16.04 was current.
So... you've not been patching and updating? My laptop started on 16.04, but it gets updated every six months. It's been 17.04 for a while now.
-
@brandon220 said in Nextcloud Questions:
@travisdh1 I always make sure it is secure. I am referring to storing large amounts of data inside a directory that Apache uses as well.
That's only a problem for security.
-
@brandon220 said in Nextcloud Questions:
I thought about making a new VM using Fedora 25 as the one @scottalanmiller provided the group works so well. I'm just afraid I won't be able to successfully migrate the data.
It's all just a database and filesystem. I've not done this, but should not be bad.