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

Failed to install Nextcloud #206

Closed Azsumbre closed 11 months ago

Azsumbre commented 11 months ago

Getting issue when trying to install nextcloud:

After this the script exits with Nextcloud failed to be installed

cas206 commented 11 months ago

Tried latest version and got the same error.

cas206 commented 11 months ago

Running that last line manually gives jail 'su' not found! forgot jail name

cas206 commented 11 months ago

ld-elf.so.1: /usr/local/lib/libtasn1.so.6: Undefined symbol "strverscmp@FBSD_1.7" Version:

TrueNAS-13.0-U5.3

Azsumbre commented 11 months ago

Tried to install it again today and used DATABASE="pgsql" instead of the default. But still got the same error :

EATE ROLE

Also tried it on TrueNas U5.3 and U1.1 , but still the same issue

Azsumbre commented 11 months ago

Can someone help?

danb35 commented 11 months ago

I don't know that I can help immediately, but I'm getting the same error. libtasn1.so.6 appears to belong to the GnuTLS, and the error appears to suggest that it wasn't compiled correctly for this version of FreeBSD.

tschettervictor commented 11 months ago

Workaround right now is to edit the nextcloud-jail.sh file, comment out the RELEASE line (I think it’s 20-30 lines into the script) and add another line underneath it like this.

RELEASE=“13.2-RELEASE”

Just tried and it worked.

danb35 commented 11 months ago

I'd suspected the same and was in the middle of testing it, but seems you beat me to it. The combination of hyper-aggressive EOL policies by the FreeBSD crew and iX' inability to keep their underlying OS up-to-date strikes again.

tschettervictor commented 11 months ago

I sure hope they don’t stop at 13. It would sure not be very helpful if things would break because of the underlying OS lagging behind.

Especially TrueNAS Core, the playground of FreeBSD imo.

tschettervictor commented 11 months ago

Should probably add that to the script ASAP because people generally don't read the issues before trying to install. Unless that would conflict with installing on a regular FreeBSD system.

Azsumbre commented 11 months ago

Checked it , it works