Closed Azsumbre closed 11 months ago
Tried latest version and got the same error.
Running that last line manually gives
jail 'su' not found!
forgot jail name
ld-elf.so.1: /usr/local/lib/libtasn1.so.6: Undefined symbol "strverscmp@FBSD_1.7" Version:
TrueNAS-13.0-U5.3
Tried to install it again today and used DATABASE="pgsql" instead of the default. But still got the same error :
EATE ROLE
iocage exec nextcloud2p psql -U postgres -c 'GRANT ALL PRIVILEGES ON DATABASEnextcloud TO nextcloud;' GRANT
t (1 row)
echo 'PostgreSQL root password is E68C4JCprKWpaBgOKTLGXw=='
echo 'Nextcloud database password is ZPZRqOVlsRMsoknTD6zGQA=='
echo 'Nextcloud Administrator password is QQgvgqI/Yq+1hRnr'
iocage exec nextcloud2p mkdir -p /var/log/nextcloud/
iocage exec nextcloud2p chown www:www /var/log/nextcloud
[ pgsql '=' mariadb ]
[ pgsql '=' pgsql ]
iocage exec nextcloud2p su -m www -c 'php /usr/local/www/nextcloud/occ maintenance:install --database="pgsql" --database-name="nextcloud" --database-user="nextcloud" --database-pass="ZPZRqOVlsRMsoknTD6zGQA==" --database-host="localhost:/tmp/.s.PGSQL.5432" --admin-user="admin" --admin-pass="QQgvgqI/Yq+1hRnr" --data-dir="/mnt/files"' ld-elf.so.1: /usr/local/lib/libtasn1.so.6: Undefined symbol "strverscmp@FBSD_1.7" Command: su -m www -c php /usr/local/www/nextcloud/occ maintenance:install --database="pgsql" --database-name="nextcloud" --database-user="nextcloud" --database-pass="ZPZRqOVlsRMsoknTD6zGQA==" --database-host="localhost:/tmp/.s.PGSQL.5432"--admin-user="admin" --admin-pass="QQgvgqI/Yq+1hRnr" --data-dir="/mnt/files" failed!
echo 'Failed to install Nextcloud, aborting' Failed to install Nextcloud, aborting
exit 1
Also tried it on TrueNas U5.3 and U1.1 , but still the same issue
Can someone help?
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.
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.
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.
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.
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.
Checked it , it works
Getting issue when trying to install nextcloud:
After this the script exits with Nextcloud failed to be installed