User Tools

Site Tools


freenas

FreeNAS

Memory leak

1G in system processes for python3.6
:!: This is fixed in latest stable.

pkill -9 -f middlewared
(WAIT about 10 seconds)
service middlewared start

You can do this live while in production. This will only restart the middleware process that effects the WebUI.

Jail migration warden to iocage

After upgrading from 11.1 to 11.3, one must migrate all jain from warden to iocage.
In order to migrate there is utility provided but need some tweaking.

/usr/local/sbin/migrate_warden.py

After fresh update it gives error :!: Warden does not have a path set, please set one in the GUI.
In order to fix issue change as follow.

| /usr/local/sbin/migrate_warden.py
- _dir = None
+ _dir = "/mnt/<zpool>/Jails"

Next step is to run migration script.

/usr/local/sbin/migrate_warden.py -v -j <Jail_name> -p <zpool>

Jails

Upgrading Jail after major update

:!: Select the appropriate version

iocage fetch
iocage upgrade backuppc -r 12.2-RELEASE

pkg command broken after major version update

:!:When iocage pkg backuppc update does not work.

Check if file /usr/local/etc/pkg/repos/FreeBSD.conf using the correct ABI.
Once the version confirmed, run following commands in jail.

# pkg-static install -f pkg
pkg-static bootstrap -f
pkg update -f
pkg upgrade
freenas.txt · Last modified: 2020/10/30 17:11 by k2patel