Yep I'm on windows. Either filezilla screws up permissions somehow or something was getting added incorrectly, but the script ran this time. However the jail is giving trouble, it states it is down and here is the logs.
Code:
2018/03/20 21:38:00 (INFO) Setting up zpool [orb1] for iocage usage
If you wish to change please use "iocage activate"
2018/03/20 21:38:00 (INFO) Creating orb1/iocage
2018/03/20 21:38:00 (INFO) Creating orb1/iocage/download
2018/03/20 21:38:01 (INFO) Creating orb1/iocage/images
2018/03/20 21:38:01 (INFO) Creating orb1/iocage/jails
2018/03/20 21:38:01 (INFO) Creating orb1/iocage/log
2018/03/20 21:38:01 (INFO) Creating orb1/iocage/releases
2018/03/20 21:38:01 (INFO) Creating orb1/iocage/templates
2018/03/20 21:38:01 (DEBUG) Starting new HTTPS connection (1): www.freebsd.org
2018/03/20 21:38:01 (DEBUG) https://www.freebsd.org:443 "GET /security/unsupported.html HTTP/1.1" 200 20769
2018/03/20 21:38:01 (DEBUG) Starting new HTTP connection (1): download.freebsd.org
2018/03/20 21:38:02 (DEBUG) http://download.freebsd.org:80 "GET /ftp/releases/amd64 HTTP/1.1" 301 178
2018/03/20 21:38:02 (DEBUG) Starting new HTTPS connection (1): download.freebsd.org
2018/03/20 21:38:02 (DEBUG) https://download.freebsd.org:443 "GET /ftp/releases/amd64 HTTP/1.1" 301 178
2018/03/20 21:38:02 (DEBUG) https://download.freebsd.org:443 "GET /ftp/releases/amd64/ HTTP/1.1" 200 None
2018/03/20 21:38:02 (DEBUG) Starting new HTTP connection (1): download.freebsd.org
2018/03/20 21:38:02 (DEBUG) http://download.freebsd.org:80 "GET /ftp/releases/amd64/11.1-RELEASE HTTP/1.1" 301 178
2018/03/20 21:38:02 (DEBUG) Starting new HTTPS connection (1): download.freebsd.org
2018/03/20 21:38:02 (DEBUG) https://download.freebsd.org:443 "GET /ftp/releases/amd64/11.1-RELEASE HTTP/1.1" 301 178
2018/03/20 21:38:02 (DEBUG) https://download.freebsd.org:443 "GET /ftp/releases/amd64/11.1-RELEASE/ HTTP/1.1" 200 None
2018/03/20 21:38:02 (INFO) Fetching: 11.1-RELEASE
2018/03/20 21:38:02 (DEBUG) Starting new HTTP connection (1): download.freebsd.org
2018/03/20 21:38:03 (DEBUG) http://download.freebsd.org:80 "GET /ftp/releases/amd64/11.1-RELEASE/MANIFEST HTTP/1.1" 301 178
2018/03/20 21:38:03 (DEBUG) Starting new HTTPS connection (1): download.freebsd.org
2018/03/20 21:38:03 (DEBUG) https://download.freebsd.org:443 "GET /ftp/releases/amd64/11.1-RELEASE/MANIFEST HTTP/1.1" 200 1157
2018/03/20 21:38:03 (DEBUG) Starting new HTTP connection (1): download.freebsd.org
2018/03/20 21:38:03 (DEBUG) http://download.freebsd.org:80 "GET /ftp/releases/amd64/11.1-RELEASE/base.txz HTTP/1.1" 301 178
2018/03/20 21:38:03 (DEBUG) Starting new HTTPS connection (1): download.freebsd.org
2018/03/20 21:38:03 (DEBUG) https://download.freebsd.org:443 "GET /ftp/releases/amd64/11.1-RELEASE/base.txz HTTP/1.1" 200 104780108
2018/03/20 21:38:19 (DEBUG) Starting new HTTP connection (1): download.freebsd.org
2018/03/20 21:38:19 (DEBUG) http://download.freebsd.org:80 "GET /ftp/releases/amd64/11.1-RELEASE/lib32.txz HTTP/1.1" 301 178
2018/03/20 21:38:19 (DEBUG) Starting new HTTPS connection (1): download.freebsd.org
2018/03/20 21:38:19 (DEBUG) https://download.freebsd.org:443 "GET /ftp/releases/amd64/11.1-RELEASE/lib32.txz HTTP/1.1" 200 18499068
2018/03/20 21:38:22 (DEBUG) Starting new HTTP connection (1): download.freebsd.org
2018/03/20 21:38:22 (DEBUG) http://download.freebsd.org:80 "GET /ftp/releases/amd64/11.1-RELEASE/doc.txz HTTP/1.1" 301 178
2018/03/20 21:38:22 (DEBUG) Starting new HTTPS connection (1): download.freebsd.org
2018/03/20 21:38:22 (DEBUG) https://download.freebsd.org:443 "GET /ftp/releases/amd64/11.1-RELEASE/doc.txz HTTP/1.1" 200 1428656
2018/03/20 21:38:23 (DEBUG) Starting new HTTP connection (1): download.freebsd.org
2018/03/20 21:38:23 (DEBUG) http://download.freebsd.org:80 "GET /ftp/releases/amd64/11.1-RELEASE/src.txz HTTP/1.1" 301 178
2018/03/20 21:38:23 (DEBUG) Starting new HTTPS connection (1): download.freebsd.org
2018/03/20 21:38:23 (DEBUG) https://download.freebsd.org:443 "GET /ftp/releases/amd64/11.1-RELEASE/src.txz HTTP/1.1" 200 147661560
2018/03/20 21:38:45 (INFO) Extracting: base.txz...
2018/03/20 21:39:24 (INFO) Extracting: lib32.txz...
2018/03/20 21:39:28 (INFO) Extracting: doc.txz...
2018/03/20 21:39:30 (INFO) Extracting: src.txz...
2018/03/20 21:41:02 (INFO)
* Updating 11.1-RELEASE to the latest patch level...
2018/03/20 21:41:43 (INFO) nextcloud successfully created!
2018/03/20 21:41:46 (INFO) nextcloud is not running, starting jail
2018/03/20 21:41:48 (INFO) nextcloud is not running, starting jail
2018/03/20 21:41:50 (INFO) nextcloud is not running, starting jail
2018/03/20 21:41:53 (INFO) Successfully added mount to nextcloud's fstab
2018/03/20 21:41:55 (INFO) Successfully added mount to nextcloud's fstab
2018/03/20 21:41:57 (INFO) Successfully added mount to nextcloud's fstab
2018/03/20 21:41:59 (INFO) Successfully added mount to nextcloud's fstab
2018/03/20 21:42:02 (INFO) Successfully added mount to nextcloud's fstab
2018/03/20 21:42:04 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:06 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:09 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:11 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:13 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:16 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:18 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:20 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:22 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:25 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:27 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:29 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:32 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:34 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:36 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:39 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:41 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:43 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:46 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:48 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:50 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:52 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:55 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:57 (INFO) nextcloud is not running, starting jail
2018/03/20 21:42:59 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:02 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:04 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:06 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:09 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:11 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:13 (ERROR) nextcloud is not running!
2018/03/20 21:43:16 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:18 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:20 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:23 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:25 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:28 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:30 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:32 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:34 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:37 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:39 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:41 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:44 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:46 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:48 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:51 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:53 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:55 (INFO) nextcloud is not running, starting jail
2018/03/20 21:43:58 (INFO) nextcloud is not running, starting jail
2018/03/20 21:44:00 (INFO) nextcloud is not running, starting jail
2018/03/20 21:44:02 (INFO) nextcloud is not running, starting jail
2018/03/20 21:44:05 (INFO) nextcloud is not running, starting jail
2018/03/20 21:44:07 (INFO) nextcloud is not running, starting jail
2018/03/20 21:44:09 (INFO) Successfully removed mount from nextcloud's fstab
2018/03/20 21:46:54 (INFO) +-----+-----------+-------+--------------+--------------+
| JID | NAME | STATE | RELEASE | IP4 |
+=====+===========+=======+==============+==============+
| - | nextcloud | down | 11.1-RELEASE | 192.168.1.66 |
+-----+-----------+-------+--------------+--------------+
2018/03/20 21:47:15 (ERROR) ZFS pool 'nextcloud' not found!
I get a "KeyError vnet_interface" message a lot during the script running. Could this be related: