Page 1 of 1

NAS4Free Noob Needs Help Installing Jail for Owncloud

Posted: 30 Nov 2013 00:25
by campbell1987
Hi all, Im trying to follow this guide (http://wiki.nas4free.org/doku.php?id=do ... owto:jails) to install a jail on my NAS for owncloud, I'm stuck on the following step (fetch ftp://ftp.freebsd.org/pub/FreeBSD/releases/`uname -m`/`uname -m`/`uname -r | cut -d- -f1-2`/base.txz) I just get the following error : No address record, Can someone please explain what i need to do to get it going... ;-)

Re: NAS4Free Noob Needs Help Installing Jail for Owncloud

Posted: 30 Nov 2013 06:40
by alexey123
Hi
Please use Thebrig for manage jails. Manual here
error message: No address record - may be DNS settings not set properly. Try check dns

Code: Select all

ping www.google.com

Re: NAS4Free Noob Needs Help Installing Jail for Owncloud

Posted: 01 Dec 2013 01:46
by campbell1987
alexey123 wrote:Hi Please use Thebrig for manage jails. Manual here
error message: No address record - may be DNS settings not set properly. Try check dns

Code: Select all

ping www.google.com

Thanks alexey123, I've managed to install the brig gui into my nas webif, I've followed the guide and now i am at the stage of setting the advanced jail locations but i've got a small problem, I couldn't find either directory basejail or template in the /mnt/NAS-A/Jail/ so i manually created them using the mkdir command in putty but when i went to set these as my advanced jail locations i got the following error, (There is not enough space on the target disc) Could someone please tell me where i'm going wrong as i've over 1TB free in my zfs storage pool and my os is installed on an 8gb usb so i don't know how i've got this error.. :-)
disks.PNG
thebrigfault.PNG

Re: NAS4Free Noob Needs Help Installing Jail for Owncloud

Posted: 01 Dec 2013 02:35
by mekonghigh
In "System information" at "Disk space usage" you have storage with name: "NAS-A" ?

Picture below have to use for Jail:
/mnt/zpool/Jail
/mnt/zpool/Jail/basejail
/mnt/zpool/Jail/template
Image

Re: NAS4Free Noob Needs Help Installing Jail for Owncloud

Posted: 01 Dec 2013 02:55
by campbell1987
I have Pool1
diskspaceusage.PNG

Re: NAS4Free Noob Needs Help Installing Jail for Owncloud

Posted: 01 Dec 2013 02:57
by mekonghigh
Then you have to install the brig on Pool1

/mnt/Pool1/Jail
/mnt/Pool1/Jail/basejail
/mnt/Pool1/Jail/template

Re: NAS4Free Noob Needs Help Installing Jail for Owncloud

Posted: 01 Dec 2013 03:03
by campbell1987
I'm an idiot..... It even says in big bold letters change your path, :-)

Re: NAS4Free Noob Needs Help Installing Jail for Owncloud

Posted: 01 Dec 2013 16:18
by campbell1987
Right now i'm really stuck, I'm now at this step (OK, first you need to edit fstab.proto to add your Video, Photos and Audio paths:

edit fstab.proto to define what mount ) Ive typed this command (nano /jail/conf/fstab.proto) I then get the following screen
fstab.proto edit.PNG
I checked in the directory /mnt/Pool1/Jail/conf and i cant see any file named fstab.proto or miniDNLAjail.proto.... no .proto files at all
CONF.PNG

Re: NAS4Free Noob Needs Help Installing Jail for Owncloud

Posted: 01 Dec 2013 17:56
by campbell1987
Tried installing it the easy way not in a jail using command (pkg_add -r minidlna) but i then got the following error (/: write failed, filesystem is full), How can i fix this??

Re: NAS4Free Noob Needs Help Installing Jail for Owncloud

Posted: 01 Dec 2013 18:45
by mekonghigh
Place fstab line like picture below
Image
(picture stolen from other topic)