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

Update nextcloud-jail.sh because of a 500 server error on reinstall. #199

Closed tschettervictor closed 1 year ago

tschettervictor commented 1 year ago

Moved line 482-484 to the point right before it detects a reinstall to ensure redis functionality.

Tested with a NO_CERT variant of the script reinstall, and it worked fine without errors.

Original script gives a 500 server error when doing a reinstall.

tschettervictor commented 1 year ago

Test with NO_CERT original install, then doing a SELFSIGNED_CERT. Worked flawlessly.