Hey gents I hope someone can help me on this one.
I am trying to upgrade from 9.2.1.5 to 9.2.1.9 via CLI as my Web GUI is down and I don't have access to the pysical machine right now. I am getting "An unhandled exception was thrown by the application." via the web gui. This issue just showed up. The system is configured to boot on Monday at 1AM files are rsynced to the machine and then performs a automated shutdown at Monday 6AM. System has been running on this hardware for 4 years and works perfectly. I was checking systems for shell shock issues and got to this one and I could not get to the web interface. I figured the best way to fix it is to upgrade to the latest 9.2.x version.
This is what I am getting when I run an upgrade via CLI. Can anyone help me
[root@archive] ~# mount -uw /dev/ufs/FreeNASs1a
[root@archive] ~# xz -cd /mnt/Archive_1/Media/temp/FreeNAS-9.2.1.9-RELEASE-x64.GUI_Upgrade.txz | sh /root/update && touch /data/need-update
+ PARTNUM=2
+ OTHER_PARTNUM=1
+ set -e
+ . /etc/nanobsd.conf
+ NANO_DRIVE=ufs/FreeNAS
+ mount
+ grep ufs/FreeNASs2
+ echo ufs/FreeNAS
+ cut -f2 -d/
+ LABELNAME=FreeNAS
+ glabel status
+ awk '/ufs\/FreeNASs1a/ { print $3; }'
+ sed -e s,s1a,,
+ TARGET_DRIVE=da0
+ dd if=/dev/zero of=/dev/da0s2 bs=1m count=1
+ echo 5470
+ dd if= of=/dev/da0s2 obs=128k conv=sparse
+ wait
+ fsck_ffs -n /dev/da0s2a
Can't stat /dev/da0s2a: No such file or directory Can't stat /dev/da0s2a: No such file or directory + tunefs -L FreeNASs2a /dev/da0s2a
Can't stat /dev/da0s2a: No such file or directory
+ tunefs -L FreeNASs2a /dev/da0s2a
tunefs: /dev/da0s2a: could not find special device
[root@archive]
Current System:
[root@archive] ~# freenas-debug -h
+--------------------------------------------------------------------------------+
+ FreeNAS-9.2.1.5-RELEASE-x64 (80c1d35) + +--------------------------------------------------------------------------------+
Operating system type: FreeBSD
Operating system release: 9.2-RELEASE-p4
Operating system revision: 199506
Kernel version: FreeBSD 9.2-RELEASE-p4 #0 r262572+17a4d3d: Wed Apr 23 10:09:38 PDT 2014 root@build3.ixsystems.com:/tank/home/jkh/build/9.2.1/freenas/os-base/amd64/fusion/jkh/9.2.1/freenas/FreeBSD/src/sys/FREENAS.amd64
Hostname: archive.xyx.com
Name of kernel file booted: /boot/kernel/kernel
+--------------------------------------------------------------------------------+
+ Hardware +
+--------------------------------------------------------------------------------+
Machine class: amd64
System architecture: amd64
Machine model: Intel(R) Core(TM)2 Quad CPU Q6700 @ 2.66GHz
Number of active CPUs: 4
Number of CPUs online: 4
Current CPU frequency: 2.28 Ghz
Physical Memory: 3.98 GiB
I am trying to upgrade from 9.2.1.5 to 9.2.1.9 via CLI as my Web GUI is down and I don't have access to the pysical machine right now. I am getting "An unhandled exception was thrown by the application." via the web gui. This issue just showed up. The system is configured to boot on Monday at 1AM files are rsynced to the machine and then performs a automated shutdown at Monday 6AM. System has been running on this hardware for 4 years and works perfectly. I was checking systems for shell shock issues and got to this one and I could not get to the web interface. I figured the best way to fix it is to upgrade to the latest 9.2.x version.
This is what I am getting when I run an upgrade via CLI. Can anyone help me
[root@archive] ~# mount -uw /dev/ufs/FreeNASs1a
[root@archive] ~# xz -cd /mnt/Archive_1/Media/temp/FreeNAS-9.2.1.9-RELEASE-x64.GUI_Upgrade.txz | sh /root/update && touch /data/need-update
+ PARTNUM=2
+ OTHER_PARTNUM=1
+ set -e
+ . /etc/nanobsd.conf
+ NANO_DRIVE=ufs/FreeNAS
+ mount
+ grep ufs/FreeNASs2
+ echo ufs/FreeNAS
+ cut -f2 -d/
+ LABELNAME=FreeNAS
+ glabel status
+ awk '/ufs\/FreeNASs1a/ { print $3; }'
+ sed -e s,s1a,,
+ TARGET_DRIVE=da0
+ dd if=/dev/zero of=/dev/da0s2 bs=1m count=1
+ echo 5470
+ dd if= of=/dev/da0s2 obs=128k conv=sparse
+ wait
+ fsck_ffs -n /dev/da0s2a
Can't stat /dev/da0s2a: No such file or directory Can't stat /dev/da0s2a: No such file or directory + tunefs -L FreeNASs2a /dev/da0s2a
Can't stat /dev/da0s2a: No such file or directory
+ tunefs -L FreeNASs2a /dev/da0s2a
tunefs: /dev/da0s2a: could not find special device
[root@archive]
Current System:
[root@archive] ~# freenas-debug -h
+--------------------------------------------------------------------------------+
+ FreeNAS-9.2.1.5-RELEASE-x64 (80c1d35) + +--------------------------------------------------------------------------------+
Operating system type: FreeBSD
Operating system release: 9.2-RELEASE-p4
Operating system revision: 199506
Kernel version: FreeBSD 9.2-RELEASE-p4 #0 r262572+17a4d3d: Wed Apr 23 10:09:38 PDT 2014 root@build3.ixsystems.com:/tank/home/jkh/build/9.2.1/freenas/os-base/amd64/fusion/jkh/9.2.1/freenas/FreeBSD/src/sys/FREENAS.amd64
Hostname: archive.xyx.com
Name of kernel file booted: /boot/kernel/kernel
+--------------------------------------------------------------------------------+
+ Hardware +
+--------------------------------------------------------------------------------+
Machine class: amd64
System architecture: amd64
Machine model: Intel(R) Core(TM)2 Quad CPU Q6700 @ 2.66GHz
Number of active CPUs: 4
Number of CPUs online: 4
Current CPU frequency: 2.28 Ghz
Physical Memory: 3.98 GiB