danb35 / freenas-iocage-nextcloud

Script to create an iocage jail on FreeNAS for the latest Nextcloud 28 release, including Caddy, MariaDB or PostgreSQL, and Let's Encrypt
GNU General Public License v3.0
258 stars 70 forks source link

Jail creation fails - RELEASE incorrect #149

Closed danb35 closed 3 years ago

danb35 commented 3 years ago

For some reason, comments were left on commit 0514448d80aceb5f5cb3f68b353f635a2c77d89a by @tj775 about a failure to create the jail. No idea why they were on that commit, as it only touched the README file. No idea what version(s) of FreeNAS/TrueNAS it applies to, either. PR #148 is said to fix this.

danb35 commented 3 years ago

At least a couple of days ago, on TN Core 12.0-RELEASE, this script ran and gave a running jail at release 12.2-RC3. If I destroy the jail and try to re-run the script, the jail's still created. But it looks like it's using the release previously downloaded. If I delete that with iocage destroy -r 12.2-RC3, and then re-run the script, now I see the error mentioned.

danb35 commented 3 years ago

PR #148 fixes this, merged.