danb35/freenas-iocage-nextcloud

TrueNAS CORE 13.0 support - issues found

Closed this issue · 1 comments

Just heads up, I tried this with TrueNAS CORE 13.0 ( yes, fully aware that it's not supported as per documentation )
It seems latest version is using: 13.1-RELEASE-p5

Getting this issue below with mariadb.

Same if i try to use postgresql it says basically that the /usr/local/etc/rc.d/postgresql file is not found when it tried to initialize the database, but I do see the postgresql server being installed in logs.

` + Stopping services OK

  • Tearing down VNET OK
  • Removing devfs_ruleset: 1000 OK
  • Removing jail process OK
  • Executing poststop OK
    No default gateway found for ipv6.
  • Starting nextcloud
    • Started OK
    • Using devfs_ruleset: 1000 (iocage generated default)
    • Configuring VNET OK
    • Using IP options: vnet
    • Starting services OK
    • Executing poststart OK
      ERROR 2002 (HY000): Can't connect to local server through socket '/var/run/mysql/mysql.sock' (2)
      Command: mysql -e CREATE DATABASE nextcloud; failed!
      mysqladmin: connect to server at 'localhost' failed
      error: 'Can't connect to local server through socket '/var/run/mysql/mysql.sock' (2)'
      Check that mariadbd is running and that the socket: '/var/run/mysql/mysql.sock' exists!
      Command: mysqladmin --user=root password aBVFFTrhcZIRrB9BJPoh4w== reload failed!
      Error while trying to create admin user: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory
      `

Closing as this seems to only affect unsupported by the script postgresql15 and description of issue is not correct.

confirmed this works with mariadb