Hey there..
I have been using a jail to host my nextcloud and other projects for a while now. Few days ago, mariadb started going down. Not sure what the problem was... but I thought maybe need to update installed packages. Once I started that, I got:
pkg: repository FreeBSD contains packages for wrong OS version
That message lead me to:
That ultimately lead me to packages upgrading... however, now I cannot start mariadb at all. I just get:
I've been searching to fix that, but no luck yet. I'm seeing others mention that fdatasync is not part of freebsd prior to 11.1 which makes this more confusing for me since the uname showing 11.1 stable.
Not sure what to do here... I need to get this back up and running before the fam starts complaining about the nextcloud files... :(
My goal:
1) Get this jail back to operational.
2) Migrate from this warden jail to the iocage jail - need to find a good recent guide for this.
If anyone can guide me here I'd be very grateful.
EDIT: I do have snapshots on the jails dataset. I suppose I could go back, but worried about the nextcloud storage directory and db matching.
Thank you
I have been using a jail to host my nextcloud and other projects for a while now. Few days ago, mariadb started going down. Not sure what the problem was... but I thought maybe need to update installed packages. Once I started that, I got:
pkg: repository FreeBSD contains packages for wrong OS version
Code:
:~ # uname -KU 1101505 1100122 uname -a FreeBSD myserver 11.1-STABLE FreeBSD 11.1-STABLE #0 r321665+9902d126c39(freenas/11.1-stable): Tue Aug 21 12:24:37 EDT 2018 root@nemesis.tn.ixsystems.com:/freenas-11-releng/freenas/_BE/objs/freenas-11-releng/freenas/_BE/os/sys/FreeNAS.amd64 amd64
That message lead me to:
Code:
pkg -o OSVERSION=1101505 update -f pkg -o OSVERSION=1101505 upgrade
That ultimately lead me to packages upgrading... however, now I cannot start mariadb at all. I just get:
Code:
/usr/local/libexec/mysqld: Undefined symbol "fdatasync"
I've been searching to fix that, but no luck yet. I'm seeing others mention that fdatasync is not part of freebsd prior to 11.1 which makes this more confusing for me since the uname showing 11.1 stable.
Not sure what to do here... I need to get this back up and running before the fam starts complaining about the nextcloud files... :(
My goal:
1) Get this jail back to operational.
2) Migrate from this warden jail to the iocage jail - need to find a good recent guide for this.
If anyone can guide me here I'd be very grateful.
EDIT: I do have snapshots on the jails dataset. I suppose I could go back, but worried about the nextcloud storage directory and db matching.
Thank you
Last edited: