Hi all, I attempted to run a script I found to build a nextcloud jail using iocage. Apparently it is not working in U6 and it wound up making random dirs all over the place so I attempted to clean it up and start over manually, I am having a hard time cleaning it up.
zfs list
Data/iocage 265M 26.7T 145K /mnt/iocage
Data/iocage/download 260M 26.7T 128K /mnt/iocage/download
Data/iocage/download/11.1-RELEASE 260M 26.7T 260M /mnt/iocage/download/11.1-RELEASE
Data/iocage/images 128K 26.7T 128K /mnt/iocage/images
Data/iocage/jails 128K 26.7T 128K /mnt/iocage/jails
Data/iocage/log 128K 26.7T 128K /mnt/iocage/log
Data/iocage/releases 4.70M 26.7T 128K /mnt/iocage/releases
Data/iocage/releases/11.1-RELEASE 4.58M 26.7T 128K /mnt/iocage/releases/11.1-RELEASE
Data/iocage/releases/11.1-RELEASE/root 4.45M 26.7T 4.45M /mnt/iocage/releases/11.1-RELEASE/root
Data/iocage/templates 128K 26.7T 128K /mnt/iocage/templates
root@FreeNasV2:~ # cd /mnt/iocage
root@FreeNasV2:/mnt/iocage # ls -la
total 0
drwxr-xr-x 3 root wheel 64 Nov 1 22:22 .
drwxr-xr-x 4 root wheel 192 Nov 1 22:22 ..
drwxr-xr-x 3 root wheel 64 Nov 1 22:22 download <-- thats all that is in there
iocage clean nextcloud
Usage: iocage clean [OPTIONS]
Error: Got unexpected extra argument (nextcloud)
iocage create -n nextcloud -r 11.1-RELEASE ip4_addr="vnet0|192.168.1.56/24" defaultrouter="192.168.1.1" vnet="on" allow_raw_sockets="1" boot="on" <-- If I change the name I get the same error
Fetching: 11.1-RELEASE
Extracting: base.txz...
dataset already exists
iocage list -t
Shows nothing
root@FreeNasV2:~ # iocage destroy nextcloud
This will destroy jail nextcloud
Are you sure? [y/N]: y
Partial UUID/NAME supplied, cannot check for dependant jails.
Proceed? [y/N]: y
jail 'nextcloud' not found!
root@FreeNasV2:~ # iocage fstab -e nextcloud
jail 'nextcloud' not found!
How do I get rid of the dataset and start over again? From what I read it should not do this, I mean this is how you make different jails right?
zfs list
Data/iocage 265M 26.7T 145K /mnt/iocage
Data/iocage/download 260M 26.7T 128K /mnt/iocage/download
Data/iocage/download/11.1-RELEASE 260M 26.7T 260M /mnt/iocage/download/11.1-RELEASE
Data/iocage/images 128K 26.7T 128K /mnt/iocage/images
Data/iocage/jails 128K 26.7T 128K /mnt/iocage/jails
Data/iocage/log 128K 26.7T 128K /mnt/iocage/log
Data/iocage/releases 4.70M 26.7T 128K /mnt/iocage/releases
Data/iocage/releases/11.1-RELEASE 4.58M 26.7T 128K /mnt/iocage/releases/11.1-RELEASE
Data/iocage/releases/11.1-RELEASE/root 4.45M 26.7T 4.45M /mnt/iocage/releases/11.1-RELEASE/root
Data/iocage/templates 128K 26.7T 128K /mnt/iocage/templates
root@FreeNasV2:~ # cd /mnt/iocage
root@FreeNasV2:/mnt/iocage # ls -la
total 0
drwxr-xr-x 3 root wheel 64 Nov 1 22:22 .
drwxr-xr-x 4 root wheel 192 Nov 1 22:22 ..
drwxr-xr-x 3 root wheel 64 Nov 1 22:22 download <-- thats all that is in there
iocage clean nextcloud
Usage: iocage clean [OPTIONS]
Error: Got unexpected extra argument (nextcloud)
iocage create -n nextcloud -r 11.1-RELEASE ip4_addr="vnet0|192.168.1.56/24" defaultrouter="192.168.1.1" vnet="on" allow_raw_sockets="1" boot="on" <-- If I change the name I get the same error
Fetching: 11.1-RELEASE
Extracting: base.txz...
dataset already exists
iocage list -t
Shows nothing
root@FreeNasV2:~ # iocage destroy nextcloud
This will destroy jail nextcloud
Are you sure? [y/N]: y
Partial UUID/NAME supplied, cannot check for dependant jails.
Proceed? [y/N]: y
jail 'nextcloud' not found!
root@FreeNasV2:~ # iocage fstab -e nextcloud
jail 'nextcloud' not found!
How do I get rid of the dataset and start over again? From what I read it should not do this, I mean this is how you make different jails right?