QuickBox / QB

QuickBox is much more than a ‘seedbox installer script’, it is a simplistic approach to achieving easy seedbox and services management from a beautifully designed dashboard. Allowing users the ability to interact with their seedbox and server on a professional grade level.
https://quickbox.io
GNU General Public License v3.0
737 stars 171 forks source link

Incorrect assumption that home folders are under /home #99

Open thomasfortiscue opened 6 years ago

thomasfortiscue commented 6 years ago

I've installed my OS on an SSD, but have a large slower drive for torrents. I created my QB user's home there, but many scripts seem to assume /home/username.

Sonarr install was the one that affected me. I think in bash you can use the syntax ~username

dtech4you commented 6 years ago

The script is not for everyone, that being said its not so much an assumption more so we give the 2 options that are most commonly used and yes that does not help the few odd ball servers out there with multiple mount locations. the options provided are using 1 of 2 options one being using the mount point /home meaning that / and /home are separate partitions, and the other being that all the partitions are under one mount which it the way we recommend as it is less complicated for users to navigate and also easier for us to offer support. that being said yes there are the servers that have say a ssd and hdd installed in them, and we normally recommend setting them up where / mount is the ssd and /home is the hdd

that being said the script should install on any mounts as long as you have a home called / and are running root. the only thing that should break with odd named mounts is the fact that dashboard wont know the size. otherwise as long as you set the permissions right and allow user to use said mount then should work just fine. and the command you are thinking would work is only if your logged in as that user and as we install as root that makes ~username be ~/root/ which is not what you would want.

hope this helps clear up this for you a little, Thanks for being a part of QuickBox ~Dtech(co-owner and head Guru)

JMSDOnline commented 6 years ago

This is something that I could port over to this community version of QuickBox @dtech4you . The QuickBox Pro version will already utilize some feedback from the user asking which partition the widget should read from. Then the script will dynamically write the mount point the user inserts, ie; /home | / | /media | /somerediculouslylongandcumbersomecustomdirectory.

I'll work on adding this in soon. Marking as a feature request so the title isn't misleading.