![]() I use Nextcloud as well but I think the OC instructions should have a sample script to set all the ownership/permissions properly. Do I have to leave the owner as the login name to do this? Then after the install is done, chown it to Once you have the drive mounted use chown to set the owner of the directory then follow the OC install instructions and tell it where you want the data directory to be (/media/owncloud or whatever you use). The install I'm doing is a fresh install of OC and during the install I want to change the default data folder to this mount. I know some of y'all could have this done in 5-10 minutes because you've used Ubuntu so much. This whole thing with trying to install OC that way I want it has been a big experience. Correct me if I'm wrong, so you would keep the default install but you would link the new data folder to the default data folder and the link would basically route the data from the default data folder to the new data folder so it goes to the bigger storage but in OC's "mind" it thinks it's all in the default data folder? I know that is confusing,lol. That sounds like a good idea but I fell I would mess that up pretty bad. Easy solution for that! Is it better to use the UUID in fstab than just the mount point? TheFu also mentioned using links. I think that what you're saying is that I formatted but didn't make a partition. Make sure you have partitioned & formatted drives, not just formatted a drive like sdb, you format partitions like sdb1. The hdd must be owned by www-data and be set at 770, right? If I can get this working properly, I'll get you a giftcard for dinner or something. I keep notes and samples of what does work so in case something happens I know what TO do and not to do. If we can get this working, I may try later. NC seems to be a bit more complicated to install, at least in their admin manual so I figured since I can't get OC installed then I shouldn't even try. I want to use Nextcloud because it seems to have more options and is constantly improving things. I have nothing else on this pc so I just cleanly install Ubuntu, trust me it's getting old. I've followed youtube videos and read lots of forums trying to edit fstab but I just can't get it right. ![]() I did the fstab a few times with bad results, typically doesn't boot. These are the little things that confuse me. I noticed that yours is mounted under /opt? When I mount the 2nd HDD, do I just mount it like /storage? Or does it need to be like /home/storage? I notice the hdd shows as /dev/sdb, I thought it would be sdb1. So, I have to make the directory first, correct? Do I just put it anywhere or in /home or like /storage? I think this is where I have the issue. Like I said I'm still a noob and stubborn, lol. I'm not really sure of how all of this stuff works and I'm sorry if some doesn't make sense. This would really help me a bunch and I can finally get this off my plate. I'm not really sure but from what I understand the mount cannot be /media/noob/ocdata. The HDD name would be "ocdata", the directory would be "storage" and the comp name would be "noob". I know the uuid number isn't here but "uuid" would be fine, if needed. Everything from making a directory,mounting it, permissions and fstab entry would be awesome. I think it would be easier if someone can just give me directions because I know I'm screwing this up and it won't be clear. ![]() Do I have to path to the HDD and make a directory on it or just under /media/ocdata? In the past it kept going to /media/compname/ocdata. From what I understand, I have to make a directory next. I name the HDD to ocdata from the disks menu. Is there anyone that can give me a step-by-step list as to what to do? I know some of you can do this in your sleep and I would appreciate it and forgive me if I say things in the wrong context. ![]() I can't possible type all of the stuff that I've done so far. I know my problem is the mount and permissions. I have been on multiple forums and can't find the answer to fix this. If I try to change the data path during install it says that it can't create the directory. Basically I just want to put all of the data on the second HDD with a fresh Owncloud install. If I default install Owncloud everything works fine except I have no more space on my SSD. I'm using 16.04 LTS with the LAMP server and I'm installing the Owncloud package. ![]() I have been working with this on and off for 2 years and I can't get it right. I have been trying to figure out how to setup a second HDD for the data in Owncloud. I am kind of new with the Ubuntu/Linux OS. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |