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
250 stars 71 forks source link

/.well-known/webfinger & /.well-known/nodeinfo #179

Closed Bosstox closed 2 years ago

Bosstox commented 2 years ago

Hi.

I installed the nextcloud with your script in 2019.

After updating my nextcloud to 21 i got the error from above. I was searching for long time for a fix but can't find one that is working. The nextcloud is running on Caddy V1. Your new script and files are for Caddy V2.

I added the lines in the Caddyfile for the two well-known but this doesn't fix it.

Is there a way to update the Caddy from V1 to V2 or is it easier to make a clean installation?

thx

danb35 commented 2 years ago

Is there a way to update the Caddy from V1 to V2 or is it easier to make a clean installation?

It's probably easier to just do a clean installation. To be on the safe side, stop your current jail, and when you re-run the current version of the script, change the jail name. Also, snapshot wherever you're storing all your Nextcloud data. That way, if it all goes sideways, you can roll back to the snapshot and reuse the old jail.

Bosstox commented 2 years ago

thx.

will do it as soon as i have time for that.