Why is it so hard? (failing updates) (SOLVED)

Status
Not open for further replies.

escalibur

Dabbler
Joined
Jan 3, 2015
Messages
49
This is the third time I'm unable to update my FreeNAS via update-button. Last few times worked by manually uploading .txz file but this time even that doesnt work. https://forums.freenas.org/index.php?threads/unable-to-install-the-latest-updates.30801/#post-199929

There is about 70% of free space on my dual 8GB USB sticks. Rebooting doesn't help neither.

Here is the log when I try to update it with .txz file:

Jun 17 08:12:08 NAS root: + return 0
Jun 17 08:12:08 NAS root: + BLACKLIST_EXPR=''
Jun 17 08:12:08 NAS root: + INSTALL_DESTDIR=/
Jun 17 08:12:08 NAS root: + INSTALL_SRCDIR=/mnt/DATA/.freenas
Jun 17 08:12:08 NAS root: + VERBOSE=1
Jun 17 08:12:08 NAS root: + getopts D:f:m:v opt
Jun 17 08:12:08 NAS root: + shift 0
Jun 17 08:12:08 NAS root: + realpath /
Jun 17 08:12:08 NAS root: + INSTALL_DESTDIR=/
Jun 17 08:12:08 NAS root: + realpath /mnt/DATA/.freenas
Jun 17 08:12:08 NAS root: + INSTALL_SRCDIR=/mnt/DATA/.freenas
Jun 17 08:12:08 NAS root: + stage=pre-install
Jun 17 08:12:08 NAS root: + cd /mnt/DATA/.freenas
Jun 17 08:12:08 NAS root: + [ -z pre-install -o ! -d pre-install -o 1 -ne 1 ]
Jun 17 08:12:08 NAS root: + source_conf /mnt/DATA/.freenas/etc/avatar.conf NEW
Jun 17 08:12:08 NAS root: + local IFS conffile prefix tmp
Jun 17 08:12:08 NAS root: + conffile=/mnt/DATA/.freenas/etc/avatar.conf
Jun 17 08:12:08 NAS root: + prefix=NEW
Jun 17 08:12:08 NAS root: + [ ! -f /mnt/DATA/.freenas/etc/avatar.conf -o -z NEW ]
Jun 17 08:12:08 NAS root: + mktemp -t conf.XXXXXX
Jun 17 08:12:08 NAS root: + tmpconf=/tmp/conf.XXXXXX.hZ6NcV4o
Jun 17 08:12:08 NAS root: + sed -E -e 's/#.*//g' -e '/^[[:space:]]*$/d' -e '/^export /d' -e s/^/NEW_/g /mnt/DATA/.freenas/etc/avatar.conf
Jun 17 08:12:08 NAS root: + . /tmp/conf.XXXXXX.hZ6NcV4o
Jun 17 08:12:08 NAS root: + NEW_AVATAR_PROJECT=FreeNAS
Jun 17 08:12:08 NAS root: + NEW_AVATAR_PROJECT_SITE=http://www.freenas.org
Jun 17 08:12:08 NAS root: + NEW_AVATAR_SUPPORT_SITE=http://support.freenas.org
Jun 17 08:12:08 NAS root: + NEW_AVATAR_VERSION=9.3-STABLE
Jun 17 08:12:08 NAS root: + NEW_AVATAR_BUILD_NUMBER=23f1401
Jun 17 08:12:08 NAS root: + NEW_AVATAR_ARCH=x64
Jun 17 08:12:08 NAS root: + NEW_AVATAR_COMPONENT=os-base
Jun 17 08:12:08 NAS root: + rc=0
Jun 17 08:12:08 NAS root: + rm -f /tmp/conf.XXXXXX.hZ6NcV4o
Jun 17 08:12:08 NAS root: + return 0
Jun 17 08:12:08 NAS root: + source_conf //etc/avatar.conf OLD
Jun 17 08:12:08 NAS root: + local IFS conffile prefix tmp
Jun 17 08:12:08 NAS root: + conffile=//etc/avatar.conf
Jun 17 08:12:08 NAS root: + prefix=OLD
Jun 17 08:12:08 NAS root: + [ ! -f //etc/avatar.conf -o -z OLD ]
Jun 17 08:12:08 NAS root: + mktemp -t conf.XXXXXX
Jun 17 08:12:08 NAS root: + tmpconf=/tmp/conf.XXXXXX.vWb31e27
Jun 17 08:12:08 NAS root: + sed -E -e 's/#.*//g' -e '/^[[:space:]]*$/d' -e '/^export /d' -e s/^/OLD_/g //etc/avatar.conf
Jun 17 08:12:08 NAS root: + . /tmp/conf.XXXXXX.vWb31e27
Jun 17 08:12:08 NAS root: + OLD_AVATAR_PROJECT=FreeNAS
Jun 17 08:12:08 NAS root: + OLD_AVATAR_PROJECT_SITE=http://www.freenas.org
Jun 17 08:12:08 NAS root: + OLD_AVATAR_SUPPORT_SITE=http://support.freenas.org
Jun 17 08:12:08 NAS root: + OLD_AVATAR_VERSION=9.3-STABLE
Jun 17 08:12:08 NAS root: + OLD_AVATAR_BUILD_NUMBER=23f1401
Jun 17 08:12:08 NAS root: + OLD_AVATAR_ARCH=x64
Jun 17 08:12:08 NAS root: + OLD_AVATAR_COMPONENT=os-base
Jun 17 08:12:08 NAS root: + rc=0
Jun 17 08:12:08 NAS root: + rm -f /tmp/conf.XXXXXX.vWb31e27
Jun 17 08:12:08 NAS root: + return 0
Jun 17 08:12:08 NAS root: + mktemp -t install_worker.XXXXXX
Jun 17 08:12:08 NAS root: + stage_log=/tmp/install_worker.XXXXXX.gI5SkgfV
Jun 17 08:12:08 NAS root: + ec=0
Jun 17 08:12:08 NAS root: install_worker2.sh: INFO:: install_worker2.sh: INFO: sourcing pre-install/0001.prevent_downgrade.sh
Jun 17 08:12:08 NAS root: install_worker2.sh: INFO:: install_worker2.sh: INFO: sourcing pre-install/0002.arch.sh
Jun 17 08:12:08 NAS root: install_worker2.sh: INFO:: install_worker2.sh: INFO: sourcing pre-install/0003.project_switch.sh
Jun 17 08:12:08 NAS root: install_worker2.sh: INFO:: install_worker2.sh: INFO: sourcing pre-install/0004.hardware_requirements.sh
Jun 17 08:12:08 NAS root: + [ -s /tmp/install_worker.XXXXXX.gI5SkgfV ]
Jun 17 08:12:08 NAS root: + necho 'install_worker2.sh: pre-install summary'
Jun 17 08:12:08 NAS root: + myecho INFO: 'install_worker2.sh: pre-install summary'
Jun 17 08:12:08 NAS root: + local _type
Jun 17 08:12:08 NAS root: + _type=INFO:
Jun 17 08:12:08 NAS root: + shift
Jun 17 08:12:08 NAS root: + echo 'install_worker2.sh: INFO:: install_worker2.sh: pre-install summary'
Jun 17 08:12:08 NAS root: install_worker2.sh: INFO:: install_worker2.sh: pre-install summary
Jun 17 08:12:08 NAS root: + cat /tmp/install_worker.XXXXXX.gI5SkgfV
Jun 17 08:12:08 NAS root: + find pre-install -name '*.sh'
Jun 17 08:12:08 NAS root: + sort
Jun 17 08:12:08 NAS root: + vecho 'install_worker2.sh: INFO: sourcing pre-install/0001.prevent_downgrade.sh'
Jun 17 08:12:08 NAS root: + [ 1 != 0 ]
Jun 17 08:12:08 NAS root: + myecho INFO: 'install_worker2.sh: INFO: sourcing pre-install/0001.prevent_downgrade.sh'
Jun 17 08:12:08 NAS root: + local _type
Jun 17 08:12:08 NAS root: + _type=INFO:
Jun 17 08:12:08 NAS root: + shift
Jun 17 08:12:08 NAS root: + echo 'install_worker2.sh: INFO:: install_worker2.sh: INFO: sourcing pre-install/0001.prevent_downgrade.sh'
Jun 17 08:12:08 NAS root: + . pre-install/0001.prevent_downgrade.sh
Jun 17 08:12:08 NAS root: + compare_version 9.3-STABLE 9.3-STABLE
Jun 17 08:12:08 NAS root: + echo 9.3-STABLE
Jun 17 08:12:08 NAS root: + get_ver_fields
Jun 17 08:12:08 NAS root: + local _VER
Jun 17 08:12:08 NAS root: + read _VER
Jun 17 08:12:08 NAS root: + echo 9.3-STABLE
Jun 17 08:12:08 NAS root: + grep -Eq -- '-p[0-9]*-'
Jun 17 08:12:08 NAS root: + [ 1 -eq 1 ]
Jun 17 08:12:08 NAS root: + echo 9.3-STABLE
Jun 17 08:12:08 NAS root: + awk 'BEGIN{FS="-";}{for(i = 1; i < NF;i++){printf("%s-",$i)};printf("p0-%s",$NF)}'
Jun 17 08:12:08 NAS root: + _VER=9.3-p0-STABLE
Jun 17 08:12:08 NAS root: + echo 9.3-p0-STABLE
Jun 17 08:12:08 NAS root: + sed -e s,-DEBUG,, -e 's,-p\([0-9]\)*-,-\1-,g'
Jun 17 08:12:08 NAS root: + sed -E -e 's,-r([0-9]*)M?(/[a-z0-9]*)?,-\1,'
Jun 17 08:12:08 NAS root: + cut -f 1,3 -d-
Jun 17 08:12:08 NAS root: + local version1=9.3-STABLE
Jun 17 08:12:08 NAS root: + echo 9.3-STABLE
Jun 17 08:12:08 NAS root: + get_ver_fields
Jun 17 08:12:08 NAS root: + local _VER
Jun 17 08:12:08 NAS root: + read _VER
Jun 17 08:12:08 NAS root: + echo 9.3-STABLE
Jun 17 08:12:08 NAS root: + grep -Eq -- '-p[0-9]*-'
Jun 17 08:12:08 NAS root: + [ 1 -eq 1 ]
Jun 17 08:12:08 NAS root: + echo 9.3-STABLE
Jun 17 08:12:08 NAS root: + awk 'BEGIN{FS="-";}{for(i = 1; i < NF;i++){printf("%s-",$i)};printf("p0-%s",$NF)}'
Jun 17 08:12:08 NAS root: + _VER=9.3-p0-STABLE
Jun 17 08:12:08 NAS root: + echo 9.3-p0-STABLE
Jun 17 08:12:08 NAS root: + sed -e s,-DEBUG,, -e 's,-p\([0-9]\)*-,-\1-,g'
Jun 17 08:12:08 NAS root: + sed -E -e 's,-r([0-9]*)M?(/[a-z0-9]*)?,-\1,'
Jun 17 08:12:08 NAS root: + cut -f 1,3 -d-
Jun 17 08:12:08 NAS root: + local version2=9.3-STABLE
Jun 17 08:12:08 NAS root: + [ -z 9.3-STABLE ]
Jun 17 08:12:08 NAS root: + [ -z 9.3-STABLE ]
Jun 17 08:12:08 NAS root: + [ 9.3-STABLE = 9.3-STABLE ]
Jun 17 08:12:08 NAS root: + return 0
Jun 17 08:12:08 NAS root: + ec=0
Jun 17 08:12:08 NAS root: + saved_ec=0
Jun 17 08:12:08 NAS root: + [ 0 -ne 0 ]
Jun 17 08:12:08 NAS root: + vecho 'install_worker2.sh: INFO: sourcing pre-install/0002.arch.sh'
Jun 17 08:12:08 NAS root: + [ 1 != 0 ]
Jun 17 08:12:08 NAS root: + myecho INFO: 'install_worker2.sh: INFO: sourcing pre-install/0002.arch.sh'
Jun 17 08:12:08 NAS root: + local _type
Jun 17 08:12:08 NAS root: + _type=INFO:
Jun 17 08:12:08 NAS root: + shift
Jun 17 08:12:08 NAS root: + echo 'install_worker2.sh: INFO:: install_worker2.sh: INFO: sourcing pre-install/0002.arch.sh'
Jun 17 08:12:08 NAS root: + . pre-install/0002.arch.sh
Jun 17 08:12:08 NAS root: + [ x64 -a x64 != x64 ]
Jun 17 08:12:08 NAS root: + saved_ec=0
Jun 17 08:12:08 NAS root: + [ 0 -ne 0 ]
Jun 17 08:12:08 NAS root: + vecho 'install_worker2.sh: INFO: sourcing pre-install/0003.project_switch.sh'
Jun 17 08:12:08 NAS root: + [ 1 != 0 ]
Jun 17 08:12:08 NAS root: + myecho INFO: 'install_worker2.sh: INFO: sourcing pre-install/0003.project_switch.sh'
Jun 17 08:12:08 NAS root: + local _type
Jun 17 08:12:08 NAS root: + _type=INFO:
Jun 17 08:12:08 NAS root: + shift
Jun 17 08:12:08 NAS root: + echo 'install_worker2.sh: INFO:: install_worker2.sh: INFO: sourcing pre-install/0003.project_switch.sh'
Jun 17 08:12:08 NAS root: + . pre-install/0003.project_switch.sh
Jun 17 08:12:08 NAS root: + [ FreeNAS -a FreeNAS != FreeNAS ]
Jun 17 08:12:08 NAS root: + saved_ec=0
Jun 17 08:12:08 NAS root: + [ 0 -ne 0 ]
Jun 17 08:12:08 NAS root: + vecho 'install_worker2.sh: INFO: sourcing pre-install/0004.hardware_requirements.sh'
Jun 17 08:12:08 NAS root: + [ 1 != 0 ]
Jun 17 08:12:08 NAS root: + myecho INFO: 'install_worker2.sh: INFO: sourcing pre-install/0004.hardware_requirements.sh'
Jun 17 08:12:08 NAS root: + local _type
Jun 17 08:12:08 NAS root: + _type=INFO:
Jun 17 08:12:08 NAS root: + shift
Jun 17 08:12:08 NAS root: + echo 'install_worker2.sh: INFO:: install_worker2.sh: INFO: sourcing pre-install/0004.hardware_requirements.sh'
Jun 17 08:12:08 NAS root: + . pre-install/0004.hardware_requirements.sh
Jun 17 08:12:08 NAS root: + GB=1073741824
Jun 17 08:12:08 NAS root: + MINIMUM_CPU_REQUIREMENT=1000
Jun 17 08:12:08 NAS root: + MINIMUM_RAM_REQUIREMENT=1073741824
Jun 17 08:12:08 NAS root: + sysctl_n machdep.tsc_freq
Jun 17 08:12:08 NAS root: + sysctl -n machdep.tsc_freq
Jun 17 08:12:08 NAS root: + cpufreq=3492283488
Jun 17 08:12:08 NAS root: + [ 3492283488 -lt 1000 ]
Jun 17 08:12:08 NAS root: + sysctl_n hw.physmem
Jun 17 08:12:08 NAS root: + sysctl -n hw.physmem
Jun 17 08:12:08 NAS root: + ram=17042636800
Jun 17 08:12:08 NAS root: + [ 17042636800 -lt 1073741824 ]
Jun 17 08:12:08 NAS root: + saved_ec=0
Jun 17 08:12:08 NAS root: + [ 0 -ne 0 ]
Jun 17 08:12:08 NAS root: + rm -f /tmp/install_worker.XXXXXX.gI5SkgfV
Jun 17 08:12:08 NAS root: + exit 0
Jun 17 08:12:08 NAS root: + return 0
Jun 17 08:12:08 NAS root: + BLACKLIST_EXPR=''
Jun 17 08:12:08 NAS root: + INSTALL_DESTDIR=/
Jun 17 08:12:08 NAS root: + INSTALL_SRCDIR=/mnt/DATA/.freenas
Jun 17 08:12:08 NAS root: + VERBOSE=1
Jun 17 08:12:08 NAS root: + getopts D:f:m:v opt
Jun 17 08:12:08 NAS root: + shift 0
Jun 17 08:12:08 NAS root: + realpath /
Jun 17 08:12:08 NAS root: + INSTALL_DESTDIR=/
Jun 17 08:12:08 NAS root: + realpath /mnt/DATA/.freenas
Jun 17 08:12:08 NAS root: + INSTALL_SRCDIR=/mnt/DATA/.freenas
Jun 17 08:12:08 NAS root: + stage=install
Jun 17 08:12:08 NAS root: + cd /mnt/DATA/.freenas
Jun 17 08:12:08 NAS root: + [ -z install -o ! -d install -o 1 -ne 1 ]
Jun 17 08:12:08 NAS root: + source_conf /mnt/DATA/.freenas/etc/avatar.conf NEW
Jun 17 08:12:08 NAS root: + local IFS conffile prefix tmp
Jun 17 08:12:08 NAS root: + conffile=/mnt/DATA/.freenas/etc/avatar.conf
Jun 17 08:12:08 NAS root: + prefix=NEW
Jun 17 08:12:08 NAS root: + [ ! -f /mnt/DATA/.freenas/etc/avatar.conf -o -z NEW ]
Jun 17 08:12:08 NAS root: + mktemp -t conf.XXXXXX
Jun 17 08:12:08 NAS root: + tmpconf=/tmp/conf.XXXXXX.f0N01cFP
Jun 17 08:12:08 NAS root: + sed -E -e 's/#.*//g' -e '/^[[:space:]]*$/d' -e '/^export /d' -e s/^/NEW_/g /mnt/DATA/.freenas/etc/avatar.conf
Jun 17 08:12:08 NAS root: + . /tmp/conf.XXXXXX.f0N01cFP
Jun 17 08:12:08 NAS root: + NEW_AVATAR_PROJECT=FreeNAS
Jun 17 08:12:08 NAS root: + NEW_AVATAR_PROJECT_SITE=http://www.freenas.org
Jun 17 08:12:08 NAS root: + NEW_AVATAR_SUPPORT_SITE=http://support.freenas.org
Jun 17 08:12:08 NAS root: + NEW_AVATAR_VERSION=9.3-STABLE
Jun 17 08:12:08 NAS root: + NEW_AVATAR_BUILD_NUMBER=23f1401
Jun 17 08:12:08 NAS root: + NEW_AVATAR_ARCH=x64
Jun 17 08:12:08 NAS root: + NEW_AVATAR_COMPONENT=os-base
Jun 17 08:12:08 NAS root: + rc=0
Jun 17 08:12:08 NAS root: + rm -f /tmp/conf.XXXXXX.f0N01cFP
Jun 17 08:12:08 NAS root: + return 0
Jun 17 08:12:08 NAS root: + source_conf //etc/avatar.conf OLD
Jun 17 08:12:08 NAS root: + local IFS conffile prefix tmp
Jun 17 08:12:08 NAS root: + conffile=//etc/avatar.conf
Jun 17 08:12:08 NAS root: + prefix=OLD
Jun 17 08:12:08 NAS root: + [ ! -f //etc/avatar.conf -o -z OLD ]
Jun 17 08:12:08 NAS root: + mktemp -t conf.XXXXXX
Jun 17 08:12:08 NAS root: + tmpconf=/tmp/conf.XXXXXX.HqcoPgan
Jun 17 08:12:08 NAS root: + sed -E -e 's/#.*//g' -e '/^[[:space:]]*$/d' -e '/^export /d' -e s/^/OLD_/g //etc/avatar.conf
Jun 17 08:12:08 NAS root: + . /tmp/conf.XXXXXX.HqcoPgan
Jun 17 08:12:08 NAS root: + OLD_AVATAR_PROJECT=FreeNAS
Jun 17 08:12:08 NAS root: + OLD_AVATAR_PROJECT_SITE=http://www.freenas.org
Jun 17 08:12:08 NAS root: + OLD_AVATAR_SUPPORT_SITE=http://support.freenas.org
Jun 17 08:12:08 NAS root: + OLD_AVATAR_VERSION=9.3-STABLE
Jun 17 08:12:08 NAS root: + OLD_AVATAR_BUILD_NUMBER=23f1401
Jun 17 08:12:08 NAS root: + OLD_AVATAR_ARCH=x64
Jun 17 08:12:08 NAS root: + OLD_AVATAR_COMPONENT=os-base
Jun 17 08:12:08 NAS root: + rc=0
Jun 17 08:12:08 NAS root: + rm -f /tmp/conf.XXXXXX.HqcoPgan
Jun 17 08:12:08 NAS root: + return 0
Jun 17 08:12:08 NAS root: + mktemp -t install_worker.XXXXXX
Jun 17 08:12:08 NAS root: + stage_log=/tmp/install_worker.XXXXXX.wUgtSkZa
Jun 17 08:12:08 NAS root: + ec=0
Jun 17 08:12:08 NAS root: install_worker2.sh: INFO:: install_worker2.sh: INFO: sourcing install/0200.run_update.sh
Jun 17 08:12:13 NAS root: bin/install_worker2.sh: WARNING: Unable to create new boot environment
Jun 17 08:12:13 NAS root: + [ -s /tmp/install_worker.XXXXXX.wUgtSkZa ]
Jun 17 08:12:13 NAS root: + necho 'install_worker2.sh: install summary'
Jun 17 08:12:13 NAS root: + myecho INFO: 'install_worker2.sh: install summary'
Jun 17 08:12:13 NAS root: + local _type
Jun 17 08:12:13 NAS root: + _type=INFO:
Jun 17 08:12:13 NAS root: + shift
Jun 17 08:12:13 NAS root: + echo 'install_worker2.sh: INFO:: install_worker2.sh: install summary'
Jun 17 08:12:13 NAS root: install_worker2.sh: INFO:: install_worker2.sh: install summary
Jun 17 08:12:13 NAS root: + cat /tmp/install_worker.XXXXXX.wUgtSkZa
Jun 17 08:12:13 NAS root: + find install -name '*.sh'
Jun 17 08:12:13 NAS root: + sort
Jun 17 08:12:13 NAS root: + vecho 'install_worker2.sh: INFO: sourcing install/0200.run_update.sh'
Jun 17 08:12:13 NAS root: + [ 1 != 0 ]
Jun 17 08:12:13 NAS root: + myecho INFO: 'install_worker2.sh: INFO: sourcing install/0200.run_update.sh'
Jun 17 08:12:13 NAS root: + local _type
Jun 17 08:12:13 NAS root: + _type=INFO:
Jun 17 08:12:13 NAS root: + shift
Jun 17 08:12:13 NAS root: + echo 'install_worker2.sh: INFO:: install_worker2.sh: INFO: sourcing install/0200.run_update.sh'
Jun 17 08:12:13 NAS root: + . install/0200.run_update.sh
Jun 17 08:12:13 NAS root: + PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin
Jun 17 08:12:13 NAS root: + . /etc/avatar.conf
Jun 17 08:12:13 NAS root: + AVATAR_PROJECT=FreeNAS
Jun 17 08:12:13 NAS root: + AVATAR_PROJECT_SITE=http://www.freenas.org
Jun 17 08:12:13 NAS root: + AVATAR_SUPPORT_SITE=http://support.freenas.org
Jun 17 08:12:13 NAS root: + AVATAR_VERSION=9.3-STABLE
Jun 17 08:12:13 NAS root: + AVATAR_BUILD_NUMBER=23f1401
Jun 17 08:12:13 NAS root: + AVATAR_ARCH=x64
Jun 17 08:12:13 NAS root: + AVATAR_COMPONENT=os-base
Jun 17 08:12:13 NAS root: + export AVATAR_ARCH AVATAR_COMPONENT
Jun 17 08:12:13 NAS root: + export AVATAR_PROJECT AVATAR_VERSION AVATAR_BUILD_NUMBER
Jun 17 08:12:13 NAS root: + export AVATAR_PROJECT_SITE AVATAR_SUPPORT_SITE
Jun 17 08:12:13 NAS root: + . /etc/nanobsd.conf
Jun 17 08:12:13 NAS root: + NANO_DRIVE=ufs/FreeNAS
Jun 17 08:12:13 NAS root: + . /etc/rc.freenas
Jun 17 08:12:13 NAS root: + . /etc/rc.subr
Jun 17 08:12:13 NAS root: + : 21
Jun 17 08:12:13 NAS root: + export RC_PID
Jun 17 08:12:13 NAS root: + [ -z '' ]
Jun 17 08:12:13 NAS root: + _rc_subr_loaded=YES
Jun 17 08:12:13 NAS root: + SYSCTL=/sbin/sysctl
Jun 17 08:12:13 NAS root: + SYSCTL_N='/sbin/sysctl -n'
Jun 17 08:12:13 NAS root: + SYSCTL_W=/sbin/sysctl
Jun 17 08:12:13 NAS root: + ID=/usr/bin/id
Jun 17 08:12:13 NAS root: + IDCMD='if [ -x /usr/bin/id ]; then /usr/bin/id -un; fi'
Jun 17 08:12:13 NAS root: + PS='/bin/ps -ww'
Jun 17 08:12:13 NAS root: + /bin/ps -ww -p 69963 -o jid=
Jun 17 08:12:13 NAS root: + JID=0
Jun 17 08:12:13 NAS root: + _rc_namevarlist='program chroot chdir flags fib nice user group groups'
Jun 17 08:12:13 NAS root: + _rc_subr_loaded=:
Jun 17 08:12:13 NAS root: + : /data/freenas-v1.db
Jun 17 08:12:13 NAS root: + : /var/tmp/freenas_config.md5
Jun 17 08:12:13 NAS root: + : /usr/local/bin/sqlite3
Jun 17 08:12:13 NAS root: + : /var/tmp/rc.conf.freenas
Jun 17 08:12:13 NAS root: + : /etc/version
Jun 17 08:12:13 NAS root: + : /var/db/system
Jun 17 08:12:13 NAS root: + : /data/cd-upgrade
Jun 17 08:12:13 NAS root: + : /data/need-update
Jun 17 08:12:13 NAS root: + : /data/first-boot
Jun 17 08:12:13 NAS root: + : /usr/local/bin/openssl
Jun 17 08:12:13 NAS root: + : /etc/certificates
Jun 17 08:12:13 NAS root: + : /etc/certificates/CA
Jun 17 08:12:13 NAS root: + : /usr/local/sbin/nginx
Jun 17 08:12:13 NAS root: + : /usr/local/etc/nginx
Jun 17 08:12:13 NAS root: + : /usr/local/etc/rc.d/nginx
Jun 17 08:12:13 NAS root: + : /usr/local/etc/nginx/nginx.conf
Jun 17 08:12:13 NAS root: + : 443
Jun 17 08:12:13 NAS root: + : 80
Jun 17 08:12:13 NAS root: + : /var/tmp/.cache
Jun 17 08:12:13 NAS root: + : 2g
Jun 17 08:12:13 NAS root: + : 60
Jun 17 08:12:13 NAS root: + : /usr/local/etc/sssd/sssd.conf
Jun 17 08:12:13 NAS root: + : /usr/local/etc/openldap/ldap.conf
Jun 17 08:12:13 NAS root: + : /usr/local/etc/certs/cacert.crt
Jun 17 08:12:13 NAS root: + : 0
Jun 17 08:12:13 NAS root: + : /etc/ix/templates/pam.d
Jun 17 08:12:13 NAS root: + : /etc/pam.d
Jun 17 08:12:13 NAS root: + : /etc/nsswitch.conf
Jun 17 08:12:13 NAS root: + : /etc/ix/templates/kerberos/krb5.conf
Jun 17 08:12:13 NAS root: + : /etc/krb5.conf
Jun 17 08:12:13 NAS root: + : /etc/AD.keytab
Jun 17 08:12:13 NAS root: + : /usr/local/etc/smb4.conf
Jun 17 08:12:13 NAS root: + : /usr/local/bin/warden
Jun 17 08:12:13 NAS root: + ls /etc/directoryservice/rc.ActiveDirectory /etc/directoryservice/rc.DomainController /etc/directoryservice/rc.LDAP /etc/directoryservice/rc.NIS /etc/directoryservice/rc.NT4
Jun 17 08:12:13 NAS root: + . /etc/directoryservice/rc.ActiveDirectory
Jun 17 08:12:13 NAS root: + . /etc/rc.subr
Jun 17 08:12:13 NAS root: + : 21
Jun 17 08:12:13 NAS root: + export RC_PID
Jun 17 08:12:13 NAS root: + [ -z : ]
Jun 17 08:12:13 NAS root: + _rc_subr_loaded=:
Jun 17 08:12:13 NAS root: + : /etc/directoryservice/ActiveDirectory
Jun 17 08:12:13 NAS root: + : /etc/directoryservice/ActiveDirectory/config
Jun 17 08:12:13 NAS root: + : /etc/directoryservice/ActiveDirectory/ctl
Jun 17 08:12:13 NAS root: + : 10
Jun 17 08:12:13 NAS root: + : 10
Jun 17 08:12:13 NAS root: + : /usr/local/bin/adtool
Jun 17 08:12:13 NAS root: + . /etc/directoryservice/rc.DomainController
Jun 17 08:12:13 NAS root: + . /etc/rc.subr
Jun 17 08:12:13 NAS root: + : 21
Jun 17 08:12:13 NAS root: + export RC_PID
Jun 17 08:12:13 NAS root: + [ -z : ]
Jun 17 08:12:13 NAS root: + _rc_subr_loaded=:
Jun 17 08:12:13 NAS root: + . /etc/directoryservice/rc.LDAP
Jun 17 08:12:13 NAS root: + . /etc/rc.subr
Jun 17 08:12:13 NAS root: + : 21
Jun 17 08:12:13 NAS root: + export RC_PID
Jun 17 08:12:13 NAS root: + [ -z : ]
Jun 17 08:12:13 NAS root: + _rc_subr_loaded=:
Jun 17 08:12:13 NAS root: + : /etc/directoryservice/LDAP
Jun 17 08:12:13 NAS root: + : /etc/directoryservice/LDAP/config
Jun 17 08:12:13 NAS root: + : /usr/local/etc/nss_ldap.conf
Jun 17 08:12:13 NAS root: + : /usr/local/etc/nss_ldap.secret
Jun 17 08:12:13 NAS root: + : /usr/local/etc/openldap/ldap.conf
Jun 17 08:12:13 NAS root: + : /usr/local/etc/certs/cacert.crt
Jun 17 08:12:13 NAS root: + : 0
Jun 17 08:12:13 NAS root: + : /usr/local/bin/ldaptool
Jun 17 08:12:13 NAS root: + . /etc/directoryservice/rc.NIS
Jun 17 08:12:13 NAS root: + . /etc/rc.subr
Jun 17 08:12:13 NAS root: + : 21
Jun 17 08:12:13 NAS root: + export RC_PID
Jun 17 08:12:13 NAS root: + [ -z : ]
Jun 17 08:12:13 NAS root: + _rc_subr_loaded=:
Jun 17 08:12:13 NAS root: + : /etc/directoryservice/NT4
Jun 17 08:12:13 NAS root: + : /etc/directoryservice/NT4/ctl
Jun 17 08:12:13 NAS root: + : +:::::::::
Jun 17 08:12:13 NAS root: + : '+:*::'
Jun 17 08:12:13 NAS root: + : +::
Jun 17 08:12:13 NAS root: + . /etc/directoryservice/rc.NT4
Jun 17 08:12:13 NAS root: + . /etc/rc.subr
Jun 17 08:12:13 NAS root: + : 21
Jun 17 08:12:13 NAS root: + export RC_PID
Jun 17 08:12:13 NAS root: + [ -z : ]
Jun 17 08:12:13 NAS root: + _rc_subr_loaded=:
Jun 17 08:12:13 NAS root: + : /etc/directoryservice/NT4
Jun 17 08:12:13 NAS root: + : /etc/directoryservice/NT4/ctl
Jun 17 08:12:13 NAS root: + : 60
Jun 17 08:12:13 NAS root: + : 60
Jun 17 08:12:13 NAS root: + [ ! -d /.zfs ]
Jun 17 08:12:13 NAS root: + standard_upgrade
Jun 17 08:12:13 NAS root: + set -x
Jun 17 08:12:13 NAS root: + OS=FreeNAS
Jun 17 08:12:13 NAS root: + UPGRADE_DIR=/mnt/DATA/.freenas/update
Jun 17 08:12:13 NAS root: + mkdir -p /mnt/DATA/.freenas/update
Jun 17 08:12:13 NAS root: + tar xf /mnt/DATA/.freenas/gui-packages.tar -C /mnt/DATA/.freenas/update
Jun 17 08:12:13 NAS root: + /usr/local/bin/manifest_util -M /mnt/DATA/.freenas/update/FreeNAS-MANIFEST sequence
Jun 17 08:12:13 NAS root: + NEW_VERSION=FreeNAS-FreeNAS-9.3-STABLE-201506042008
Jun 17 08:12:13 NAS root: + [ FreeNAS-FreeNAS-9.3-STABLE-201506042008 = FreeNAS- ]
Jun 17 08:12:13 NAS root: + beadm create FreeNAS-FreeNAS-9.3-STABLE-201506042008
Jun 17 08:12:13 NAS root: cannot create 'freenas-boot/ROOT/FreeNAS-FreeNAS-9.3-STABLE-201506042008': dataset already exists
Jun 17 08:12:13 NAS root: + upgrade_fail 'Unable to create new boot environment'
Jun 17 08:12:13 NAS root: + warn Unable to create new boot environment
Jun 17 08:12:13 NAS root: + [ -x /usr/bin/logger ]
Jun 17 08:12:13 NAS root: + logger 'bin/install_worker2.sh: WARNING: Unable to create new boot environment'
Jun 17 08:12:13 NAS root: + echo 'bin/install_worker2.sh: WARNING: Unable to create new boot environment'
Jun 17 08:12:13 NAS root: bin/install_worker2.sh: WARNING: Unable to create new boot environment
Jun 17 08:12:13 NAS root: + upgrade_cleanup
Jun 17 08:12:13 NAS root: + find /mnt/DATA/.freenas -type f -exec truncate -s 0 {} +
Jun 17 08:12:13 NAS root: + exit 1
Jun 17 08:12:13 NAS root: + saved_ec=1
Jun 17 08:12:13 NAS root: + [ 1 -ne 0 ]
Jun 17 08:12:13 NAS root: + ec=1
Jun 17 08:12:13 NAS root: + rm -f /tmp/install_worker.XXXXXX.wUgtSkZa
Jun 17 08:12:13 NAS root: + exit 1
Jun 17 08:12:13 NAS manage.py: [middleware.exceptions:38] [MiddlewareError: The update failed: Command '['bin/install_worker.sh', 'install']' returned non-zero exit status 1]


No offence but is anyone really testing these updates? Yes there are millions of different configurations, yes FreeNAS is free etc but if something should work are these updates :(


ps. My specs are AsRockRack E3C226D2I, i3 4330, 16GB DDR3 ECC ram, 3x 3TB WD RED, 2x 8GB USB 2.0 etc...
 

Noctris

Contributor
Joined
Jul 3, 2013
Messages
163
Probably because of that different hardware. I haven't had a single update fail. What i did have, is stuff breaking over an update. So as an extra question: WHY are you updating? If there was something in it you need, i understand. But if it's not broken, don't fix it. Just stay with your version. You avoid all risks ( like this) and can let others be the testing pigs :)

As for your specific issue: what is the brand of usb?

I also notice installation is failing because the dataset already exists. Have you tried updating to this version before?
Have you tried a verify install?
Sent from my HTC One_M8 using Tapatalk
 
Last edited:
D

dlavigne

Guest
Does removing some boot environments fix it? Sounds like there isn't enough space to complete the update...
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
Actually

Code:
Jun 17 08:12:13 NAS root: + beadm create FreeNAS-FreeNAS-9.3-STABLE-201506042008
Jun 17 08:12:13 NAS root: cannot create 'freenas-boot/ROOT/FreeNAS-FreeNAS-9.3-STABLE-201506042008': dataset already exists


Sounds like that dataset already exists and is causing the upgrade to fail. Does that in fact exist ("zfs list")?
 

escalibur

Dabbler
Joined
Jan 3, 2015
Messages
49
First I tried to update via menu by just checking for the updates and then automatically applying them. Loading animation works fine until it is stuck with "overall process:" 20% and "current process:" 60%. Nothing happened no matter how long I waited and console was static without any changes going on. After that I tried again -> same thing. Then I tried to update it manually by uploading update-file and still nothing. Stucked without anything going on. After that I tried again and this time it even rebooted automatically so I thought finally it's done. After reboot the version in use/booted one was the same before update ("June 4ht"). After that I give it one more shot and then it was updated to the latest current version.

It would be nice if FreeNAS could really do some checkups before going "yes yes, proceeed" installation without caring much what might be the result of it. I'm not sure how hard it is to implement something like that but that would definitely save us a lot of time and fustration when you never know will it succeed or not.

Other solution could be that -STABLE releases are released after a bit longer testin period compared to current one.


ps. I know I don't have to be testing pig :) but it's not nice surprise regardless to whom it happens. Cheers!
 

Noctris

Contributor
Joined
Jul 3, 2013
Messages
163
So that is probably why consequent efforts did not work (like both @jgreco and I said before: it says dataset already exists) so most likely the first time you tryed, the update went wrong somewhere ( not clear why or where), and left it's "dataset" there. All next attempts just bounce back because they already "see" the dataset

have you checked wether you see this specific "version" in your list of boot enviroments , and if so .. what does it say there ( if not "current" or "On Reboot", it might be safe to delete and then retry the update. Can @dlavigne comfirm that?)
 

jgreco

Resident Grinch
Joined
May 29, 2011
Messages
18,680
I think it's fair to say that if an installation bombed and didn't clean up after itself, you could file a bug report on that, since it appears to be interfering with updating.
 

escalibur

Dabbler
Joined
Jan 3, 2015
Messages
49
Ok. Now after giving FreeNAS some time it seems that last few updates were installed without any issues. (just by using "Update now" button). I wouldn't mind if bombing installations could be prevented somehow. Thanks everyone for the help! All I wish is that more attention could be paid in terms of updates' testing. I'm sure all of us want STABLE to mean what it is supposed to.
 
Status
Not open for further replies.
Top