*New 12.1 series Release:
2020-04-17: XigmaNAS 12.1.0.4.7542 - released

*New 11.3 series Release:
2020-04-16: XigmaNAS 11.3.0.4.7538 - released!


We really need "Your" help on XigmaNAS https://translations.launchpad.net/xigmanas translations. Please help today!

Producing and hosting XigmaNAS costs money. Please consider donating for our project so that we can continue to offer you the best.
We need your support! eg: PAYPAL

XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

Posts only related to Release Builds, all others will be removed!
Forum rules
Set-Up GuideFAQsForum Rules
User avatar
zoon01
Developer
Developer
Posts: 794
Joined: 20 Jun 2012 21:06
Location: Netherlands
Contact:
Status: Offline

XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#1

Post by zoon01 »

We are pleased to announce the release of XigmaNAS version 12.1.0.4.7389 Ingva.
This is a new release for the 12.x branche.

First BACKUP your current Configuration!
READ readme_12.1.txt please before you do anything!

Download build 12.1.0.4.7389

Regards,
Team XigmaNAS


Basic Note:
- Make a new backup of your system configuration and store this on safe location, the system config.xml could be upgraded!
- Clear your browser's cache to avoid display issues after upgrade when coming from older release.
System specs: XigmaNAS 11.2.0.4 -embedded on Samsung 860 EVO 256GB and Supermicro X10SL7-F w / Bios v3.2, IPMI v.03.86 / CPU E3-1241 v3 @ 3.50GHz - 32GB Crucial DDR3L 1600mhz ECC 1.35v , LSI 2308 on PH20.00.07.00 IT mode, Storage: 5x Western Digital Red (WD30EFRX) raidz

Development system is same system in virtualbox.

User avatar
zoon01
Developer
Developer
Posts: 794
Joined: 20 Jun 2012 21:06
Location: Netherlands
Contact:
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#2

Post by zoon01 »

Warning! Extended GUI is not compatible with this release.
Disable and remove the extension before you upgrade.
System specs: XigmaNAS 11.2.0.4 -embedded on Samsung 860 EVO 256GB and Supermicro X10SL7-F w / Bios v3.2, IPMI v.03.86 / CPU E3-1241 v3 @ 3.50GHz - 32GB Crucial DDR3L 1600mhz ECC 1.35v , LSI 2308 on PH20.00.07.00 IT mode, Storage: 5x Western Digital Red (WD30EFRX) raidz

Development system is same system in virtualbox.

markmarques
Starter
Starter
Posts: 30
Joined: 26 Feb 2018 13:27
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#3

Post by markmarques »

Updated to this release with no issues whatsoever....
Thanks for the fast update ...

KTL
Starter
Starter
Posts: 22
Joined: 02 Dec 2018 01:27
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#4

Post by KTL »

Previous full releases had .tgz extensions for upgrade, is it ok to use the .txz file as well?

User avatar
zoon01
Developer
Developer
Posts: 794
Joined: 20 Jun 2012 21:06
Location: Netherlands
Contact:
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#5

Post by zoon01 »

KTL wrote:
25 Mar 2020 19:47
Previous full releases had .tgz extensions for upgrade, is it ok to use the .txz file as well?
only for full installed systems, recent we added support to compress the full images, so make sure you on the xigmanas release before this one
or do a new install and restore config.
System specs: XigmaNAS 11.2.0.4 -embedded on Samsung 860 EVO 256GB and Supermicro X10SL7-F w / Bios v3.2, IPMI v.03.86 / CPU E3-1241 v3 @ 3.50GHz - 32GB Crucial DDR3L 1600mhz ECC 1.35v , LSI 2308 on PH20.00.07.00 IT mode, Storage: 5x Western Digital Red (WD30EFRX) raidz

Development system is same system in virtualbox.

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1124
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#6

Post by JoseMR »

KTL wrote:
25 Mar 2020 19:47
Previous full releases had .tgz extensions for upgrade, is it ok to use the .txz file as well?
Hello KTL, zoon pretty much nailed it, I did actually announce this new change HERE, you just pick the .TXZ and perform the upgrades from now on, in the odd case that you can't upgrade for some reason just drop a msg here and I can help you upgrade without to reinstall the Full platform.

Regards
System: FreeBSD 12 RootOnZFS Mirror, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page

igr4free
experienced User
experienced User
Posts: 95
Joined: 19 Dec 2016 15:12
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#7

Post by igr4free »

Hello, I wanted to update to this last version, from "firmware upgrade" and loading the .txz file.

After waiting for a while and reviewing the system.log by cli, I have seen that there is a corrupt file error and now I cannot access the server via http.

before updating check the checksum and it was correct. so the file is not corrupt:
SHA512 (XigmaNAS-x64-full-12.1.0.4.7389.txz) = 68d22e7b9276c7be82bdf4a427ac42f6c0fa581098932bc4b5d9577cbe05a4f14f1db1ad9adff47e9691bfa694d4f963c8d9319230a7b6b2ddc49c5c68bcc03a

certutil -hashfile XigmaNAS-x64-full-12.1.0.4.7389.txz sha512
SHA512 hash de XigmaNAS-x64-full-12.1.0.4.7389.txz:
68d22e7b9276c7be82bdf4a427ac42f6c0fa581098932bc4b5d9577cbe05a4f14f1db1ad9adff47e9691bfa694d4f963c8d9319230a7b6b2ddc49c5c68bcc03a
CertUtil: -hashfile comando completado correctamente.



Image

Now when I want to access via webgui it always redirects me to the firmware update page

Before restarting, I would like to be sure not to lose the complete management or carry out some procedure (from cli "restard webgui" has not worked) any command to cancel the update?

My previous version was 12.1.0.4.7091 and in the Readme I have not seen any reference that said it could not be updated.

Can you help me?
XigmaNAS 12.1.0.4.7542 released (FreeBSD 12.1-RELEASE-P3) RootOnZFS (mirror disk)
HPE Proliant Microserver Gen8 / CPU: E3-1265L V2 @ 2.50GHz / Mem: 16GB DDR3 ECC / Storage: IBM ServerRaid m1015, 4x 1TB HITACHI RaidZ1, 2x 1TB HITACHI Stripe, OS Disk: 2x 80GB INTEL SSD

KTL
Starter
Starter
Posts: 22
Joined: 02 Dec 2018 01:27
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#8

Post by KTL »

zoon01 wrote:
25 Mar 2020 20:08
only for full installed systems, recent we added support to compress the full images, so make sure you on the xigmanas release before this one
or do a new install and restore config.
JoseMR wrote:
25 Mar 2020 20:29
Hello KTL, zoon pretty much nailed it, I did actually announce this new change HERE, you just pick the .TXZ and perform the upgrades from now on, in the odd case that you can't upgrade for some reason just drop a msg here and I can help you upgrade without to reinstall the Full platform.
Regards
Thank-you very much to both of you for the quick responses. I had Googled and read the difference between .tgz and .txz, just wasn't sure if the upgrade GUI had accepted this format. I was on the 12.1.0.4.7321 build, but now successfully on 7389. Sorry I'm not much of a contributor, I'm more on the side of hardware fixer. Anyway, be safe out there!

User avatar
gomario
experienced User
experienced User
Posts: 106
Joined: 17 Dec 2016 08:45
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#9

Post by gomario »

TOOLS -> FILE MANAGER Redirects to SYSTEM INFORMATION !

Any fix for this yet or should I go back to the previous version?

jamaroney
Advanced User
Advanced User
Posts: 250
Joined: 13 Aug 2012 17:32
Location: Stroudsburg, PA
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#10

Post by jamaroney »

gomario wrote:
27 Mar 2020 11:29
TOOLS -> FILE MANAGER Redirects to SYSTEM INFORMATION !

Any fix for this yet or should I go back to the previous version?
My updated install doesn't have that problem. Maybe a fresh install is needed?

User avatar
gomario
experienced User
experienced User
Posts: 106
Joined: 17 Dec 2016 08:45
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#11

Post by gomario »

Correct. On updated install it was all OK. But on a completely fresh install the issue started. I uninstalled the latest version, re-installed the previous version and updated. Now all works OK but someone should have a look at the issue. Fresh Install should work "Out Of The Box" too. OK, most people do an "Updated Install" though.

User avatar
ms49434
Developer
Developer
Posts: 915
Joined: 03 Sep 2015 18:49
Location: Neuenkirchen-Vörden, Germany - GMT+1
Contact:
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#12

Post by ms49434 »

jamaroney wrote:
27 Mar 2020 12:44
gomario wrote:
27 Mar 2020 11:29
TOOLS -> FILE MANAGER Redirects to SYSTEM INFORMATION !

Any fix for this yet or should I go back to the previous version?
My updated install doesn't have that problem. Maybe a fresh install is needed?
Language set to 'autodetect' is causing the issue, please change to your language in System > General Setup.
1) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 22GB out of 32GB ECC RAM, LSI 9300-8i IT mode in passthrough mode. Pool 1: 2x HGST 10TB, mirrored, L2ARC: Samsung 850 Pro; Pool 2: 1x Samsung 860 EVO 1TB, SLOG: Samsung SM883, services: Samba AD, CIFS/SMB, ftp, ctld, rsync, syncthing, zfs snapshots.
2) XigmaNAS 12.1.0.4 amd64-embedded on a Dell T20 running in a VM on ESXi 6.7U3, 8GB out of 32GB ECC RAM, IBM M1215 crossflashed, IT mode, passthrough mode, 2x HGST 10TB , services: rsync.

rongway83
NewUser
NewUser
Posts: 3
Joined: 21 Nov 2018 03:10
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#13

Post by rongway83 »

Just reinstalled and moved to a new chassis, no reported issues from upgrade was previously on the 11.3 family. Supermicro SC846 X9 board, led activity light and fault lights functional, happy with the change.

User avatar
gomario
experienced User
experienced User
Posts: 106
Joined: 17 Dec 2016 08:45
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#14

Post by gomario »

ms49434 wrote:
27 Mar 2020 15:33
jamaroney wrote:
27 Mar 2020 12:44
gomario wrote:
27 Mar 2020 11:29
TOOLS -> FILE MANAGER Redirects to SYSTEM INFORMATION !

Any fix for this yet or should I go back to the previous version?
My updated install doesn't have that problem. Maybe a fresh install is needed?
Language set to 'autodetect' is causing the issue, please change to your language in System > General Setup.
Indeed that was the problem. Now it is fixed and I also can use it in my preffered home language. Never knew there is Afrikaans for XigmaNas :-)
TX buddy...

igr4free
experienced User
experienced User
Posts: 95
Joined: 19 Dec 2016 15:12
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#15

Post by igr4free »

hi,

After the file error in the update and the webgui system blocked, I finally rebooted after doing some backups.

Today I updated the system from version 12.1.0.4.7091 to 12.1.0.4.7321 with no problems.

Now I'm downloading the latest version again, XigmaNAS-x64-full-12.1.0.4.7389.txz. But sourceforge seems to be working very slowly (between 400 and 800KBs)
XigmaNAS 12.1.0.4.7542 released (FreeBSD 12.1-RELEASE-P3) RootOnZFS (mirror disk)
HPE Proliant Microserver Gen8 / CPU: E3-1265L V2 @ 2.50GHz / Mem: 16GB DDR3 ECC / Storage: IBM ServerRaid m1015, 4x 1TB HITACHI RaidZ1, 2x 1TB HITACHI Stripe, OS Disk: 2x 80GB INTEL SSD

igr4free
experienced User
experienced User
Posts: 95
Joined: 19 Dec 2016 15:12
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#16

Post by igr4free »

hi,

I upgraded 12.1.0.4.7321 to 12.1.0.4.7389 without problems.
XigmaNAS 12.1.0.4.7542 released (FreeBSD 12.1-RELEASE-P3) RootOnZFS (mirror disk)
HPE Proliant Microserver Gen8 / CPU: E3-1265L V2 @ 2.50GHz / Mem: 16GB DDR3 ECC / Storage: IBM ServerRaid m1015, 4x 1TB HITACHI RaidZ1, 2x 1TB HITACHI Stripe, OS Disk: 2x 80GB INTEL SSD

Chucko
Starter
Starter
Posts: 25
Joined: 18 Jan 2016 09:48
Location: Silicon Valley, CA, USA
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#17

Post by Chucko »

For quite some time I've been unable to do full upgrades from the GUI, and the system log provides no insight as to why it fails. So I open an ssh session and do it from the command line. I've even had to modify /etc/rc.firmware to see exactly what has failed.

I am currently running 12.1.0.4.7287. The latest download of XigmaNAS-x64-full-12.1.0.4.7389.txz from Sourceforge being packaged as a .txz file breaks /etc/rc.firmware in this release, which explicitly invokes gunzip to test the file integrity.

And when I work around that by using unxz instead, tar successfully opens the archive to extract the obsolete file list, but fails to open the file for extracting the new root filesystem.

This is the failing command:

Code: Select all

/usr/bin/tar  --exclude=cf --exclude=conf --exclude=tmp --exclude=var --exclude=version --keep-newer-files -v -x -U -P -f XigmaNAS-x64-full-12.1.0.4.7389.txz -C /var/tmp/be_upgrade > /dev/null 2>&1
These are the diffs of my customized rc.firmware file:

Code: Select all

nas4free: chucko# diff /etc/rc.firmware /etc/rc.firmware.crf
5,6c5,6
< # Part of XigmaNAS® (https://www.xigmanas.com).
< # Copyright © 2018-2020 XigmaNAS® <info@xigmanas.com>.
---
> # Part of XigmaNAS (https://www.xigmanas.com).
> # Copyright (c) 2018-2019 XigmaNAS <info@xigmanas.com>.
12c12
< # - enable: Create a 320MB ram drive in ${FTMP}
---
> # - enable: Create a 512MB ram drive in ${FTMP}
24c24
< SIZEMFS="384M"
---
> SIZEMFS="512M"
622c622,629
< 	/usr/bin/gunzip -t "${ARG}"
---
> 	if echo "$ARG" | grep -q 'xz$'
> 	then
> 	    # Is xzipped
> 	    /usr/bin/unxz -t "${ARG}"
> 	else
> 	    # Is gzipped
> 	    /usr/bin/gunzip -t "${ARG}"
> 	fi
705c712,714
< 	/usr/bin/tar ${EXCLUDED} --keep-newer-files -v -x -U -P -f ${ARG} -C ${BEPATH} > /dev/null 2>&1
---
> 	#/usr/bin/tar ${EXCLUDED} --keep-newer-files -v -x -U -P -f ${ARG} -C ${BEPATH} > /dev/null 2>&1
> 	echo "/usr/bin/tar ${EXCLUDED} --keep-newer-files -v -x -U -P -f ${ARG} -C ${BEPATH}"
> 	/usr/bin/tar ${EXCLUDED} --keep-newer-files -v -x -U -P -f ${ARG} -C ${BEPATH}
804c813
< exit 0
\ No newline at end of file
---
> exit 0
nas4free: chucko# 
And this is the result of executing the modified script:

Code: Select all

nas4free: chucko# /etc/rc.firmware.crf fullupgrade XigmaNAS-x64-full-12.1.0.4.7389.txz
Created successfully
Mounted successfully on '/var/tmp/be_upgrade'
/usr/bin/tar  --exclude=cf --exclude=conf --exclude=tmp --exclude=var --exclude=version --keep-newer-files -v -x -U -P -f XigmaNAS-x64-full-12.1.0.4.7389.txz -C /var/tmp/be_upgrade
tar: Error opening archive: Failed to open 'XigmaNAS-x64-full-12.1.0.4.7389.txz'
Unmounted successfully
Destroyed successfully
nas4free: chucko# 
I would appreciate any help you can offer.

Chucko
Starter
Starter
Posts: 25
Joined: 18 Jan 2016 09:48
Location: Silicon Valley, CA, USA
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#18

Post by Chucko »

The same thing happens with XigmaNAS-x64-full-12.1.0.4.7321.tgz. So it's not just the difference in compression.

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1124
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#19

Post by JoseMR »

Chucko wrote:
28 Mar 2020 21:27
The same thing happens with XigmaNAS-x64-full-12.1.0.4.7321.tgz. So it's not just the difference in compression.
Hi, I've previously made an Announcement about the switching from .TGZ to .TXZ for the Full upgrade dist file, denoting minimum version requirements as Rev7321.

Please go to RootOnZFS Changes and Fixes and manually update your rc.firmware file to latest and try upgrade again with latest Full upgrade file .TXZ, preferably from the shell as your system may missing latest PHP* file that recognizes the .TXZ file format.

Here is the relevant command for 12.1:(mandatory file)

Code: Select all

fetch --no-verify-peer -o /etc/rc.firmware "https://sourceforge.net/p/xigmanas/code/HEAD/tree/trunk/etc/rc.firmware?format=raw"
*To update relevant PHP file:(required if you want to perform the upgrade from WebGUI instead)

Code: Select all

fetch --no-verify-peer -o /usr/local/www/system_firmware.php "https://sourceforge.net/p/xigmanas/code/HEAD/tree/trunk/www/system_firmware.php?format=raw"
Regards
System: FreeBSD 12 RootOnZFS Mirror, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page

doktornotor
Advanced User
Advanced User
Posts: 200
Joined: 16 May 2017 00:22
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#20

Post by doktornotor »

JoseMR wrote:
29 Mar 2020 00:48
*To update relevant PHP file:(required if you want to perform the upgrade from WebGUI instead)

Code: Select all

fetch --no-verify-peer -o /www/system_firmware.php "https://sourceforge.net/p/xigmanas/code/HEAD/tree/trunk/www/system_firmware.php?format=raw"
Should be

Code: Select all

fetch --no-verify-peer -o /usr/local/www/system_firmware.php "https://sourceforge.net/p/xigmanas/code/HEAD/tree/trunk/www/system_firmware.php?format=raw"
I'd say...

netware5
experienced User
experienced User
Posts: 135
Joined: 31 Jan 2017 21:39
Location: Sofia, BULGARIA
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#21

Post by netware5 »

Successfully upgraded embedded from 7287. No issues so far. Thanks to the developers!
XigmaNAS 12.1.0.4 - Ingva (rev.7542) embedded on HP Proliant Microserver Gen8, Xeon E3-1265L, 16 GB ECC, 2x4TB WD Red ZFS Mirror

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1124
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#22

Post by JoseMR »

doktornotor wrote:
29 Mar 2020 17:36
...
Should be

Code: Select all

fetch --no-verify-peer -o /usr/local/www/system_firmware.php "https://sourceforge.net/p/xigmanas/code/HEAD/tree/trunk/www/system_firmware.php?format=raw"
I'd say...
Thanks doktornotor, I've fixed the typo on the previous post, I must be sleepy while I was typing it. :lol:

Regards
System: FreeBSD 12 RootOnZFS Mirror, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page

Chucko
Starter
Starter
Posts: 25
Joined: 18 Jan 2016 09:48
Location: Silicon Valley, CA, USA
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#23

Post by Chucko »

JoseMR wrote:
29 Mar 2020 00:48
Chucko wrote:
28 Mar 2020 21:27
The same thing happens with XigmaNAS-x64-full-12.1.0.4.7321.tgz. So it's not just the difference in compression.
Hi, I've previously made an Announcement about the switching from .TGZ to .TXZ for the Full upgrade dist file, denoting minimum version requirements as Rev7321.

Please go to RootOnZFS Changes and Fixes and manually update your rc.firmware file to latest and try upgrade again with latest Full upgrade file .TXZ, preferably from the shell as your system may missing latest PHP* file that recognizes the .TXZ file format.
I have done as you suggested, using the version 7321 tar file, and I see no change.

/usr/bin/tar fails to open the .tgz file with no explanation, but only when extracting to zroot. Here is what the permissions look like:

Code: Select all

nas4free: ~chucko# ls -l Xigma*
-rw-rw-r--  1 chucko  wheel  407344432 Mar 28 13:21 XigmaNAS-x64-full-12.1.0.4.7321.tgz
-rw-rw-r--  1 chucko  wheel  228838116 Mar 28 12:24 XigmaNAS-x64-full-12.1.0.4.7389.txz
nas4free: ~chucko# 
I'm running the script as root, so file permissions shouldn't be an issue in any event.

I'm not a FreeBSD guru, but I have decades of experience on Linux and other Unices. I could use some help tracking down the cause of the tar failure. 'ktrace' doesn't work, presumably because it's not enabled in the kernel. Is there another way to trace system calls?

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1124
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#24

Post by JoseMR »

Chucko wrote:
29 Mar 2020 23:25

I have done as you suggested, using the version 7321 tar file, and I see no change.

/usr/bin/tar fails to open the .tgz file with no explanation, but only when extracting to zroot. Here is what the permissions look like:

Code: Select all

nas4free: ~chucko# ls -l Xigma*
-rw-rw-r--  1 chucko  wheel  407344432 Mar 28 13:21 XigmaNAS-x64-full-12.1.0.4.7321.tgz
-rw-rw-r--  1 chucko  wheel  228838116 Mar 28 12:24 XigmaNAS-x64-full-12.1.0.4.7389.txz
nas4free: ~chucko# 
I'm running the script as root, so file permissions shouldn't be an issue in any event.

I'm not a FreeBSD guru, but I have decades of experience on Linux and other Unices. I could use some help tracking down the cause of the tar failure. 'ktrace' doesn't work, presumably because it's not enabled in the kernel. Is there another way to trace system calls?
Hi, once you apply the below command:

Code: Select all

fetch --no-verify-peer -o /etc/rc.firmware "https://sourceforge.net/p/xigmanas/code/HEAD/tree/trunk/etc/rc.firmware?format=raw"
You can just use the latest file base.txz file format directly.


However, just out of curiosity, on a dedicated directory, are you able to to test/extract the latest firmware file with the default options, i.e:

Code: Select all

xigmanas: ~# cd /mnt/test
xigmanas: test# ls
XigmaNAS-x64-full-12.1.0.4.7389.txz
xigmanas: test# xz -t XigmaNAS-x64-full-12.1.0.4.7389.txz
xigmanas: test# tar -x -U -P -f XigmaNAS-x64-full-12.1.0.4.7389.txz
xigmanas: test# ls
bin                                 dev                                 mnt                                 usr
boot                                etc                                 proc                                var
cf                                  ftmp                                root                                version
conf                                lib                                 sbin                                XigmaNAS-x64-full-12.1.0.4.7389.txz
conf.default                        libexec                             tmp
xigmanas: ~# cd
xigmanas: ~# chflags -R 0 /mnt/test
xigmanas: test# rm -rf /mnt/test
xigmanas: ~#
Does tar have the same behaviour when working the file manually?

P.S. it is working as expected here:

Code: Select all

xigmanas: ~# cd /var/tmp/ftmp
xigmanas: ftmp# ls
XigmaNAS-x64-full-12.1.0.4.7389.txz
xigmanas: ftmp# /etc/rc.firmware fullupgrade /var/tmp/ftmp/XigmaNAS-x64-full-12.1.0.4.7389.txz
Created successfully
Mounted successfully on '/var/tmp/be_upgrade'
...
....
Unmounted successfully
Activated successfully
xigmanas: ftmp#
Regards
System: FreeBSD 12 RootOnZFS Mirror, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page

Chucko
Starter
Starter
Posts: 25
Joined: 18 Jan 2016 09:48
Location: Silicon Valley, CA, USA
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#25

Post by Chucko »

JoseMR wrote:
30 Mar 2020 00:16

However, just out of curiosity, on a dedicated directory, are you able to to test/extract the latest firmware file with the default options, i.e:

Code: Select all

xigmanas: ~# cd /mnt/test
xigmanas: test# ls
XigmaNAS-x64-full-12.1.0.4.7389.txz
xigmanas: test# xz -t XigmaNAS-x64-full-12.1.0.4.7389.txz
xigmanas: test# tar -x -U -P -f XigmaNAS-x64-full-12.1.0.4.7389.txz
xigmanas: test# ls
bin                                 dev                                 mnt                                 usr
boot                                etc                                 proc                                var
cf                                  ftmp                                root                                version
conf                                lib                                 sbin                                XigmaNAS-x64-full-12.1.0.4.7389.txz
conf.default                        libexec                             tmp
xigmanas: ~# cd
xigmanas: ~# chflags -R 0 /mnt/test
xigmanas: test# rm -rf /mnt/test
xigmanas: ~#
Does tar have the same behaviour when working the file manually?
No, it doesn't behave the same manually! I am able to extract the entire archive manually. I tried replicating the actual command used in the script, and it worked fine. I successfully extracted the tar file in both the ZFS root partition (into /var/tmp/be_upgrade) and in a tmpfs (/var/tmp/ftmp). It worked several times. But I cannot for the life of me figure out why it doesn't work in the script.

When cleaning up after the experiments, I found one file, /var/temp/be_upgrade/usr/lib/librt.so.1 (I think) had the 'immutable' flag set. After dealing with that and clearing out the extraction directory, I tried to run the script again, but there was no change, it failed exactly as before. The immutable file did not reappear.

P.S. it is working as expected here:

Code: Select all

xigmanas: ~# cd /var/tmp/ftmp
xigmanas: ftmp# ls
XigmaNAS-x64-full-12.1.0.4.7389.txz
xigmanas: ftmp# /etc/rc.firmware fullupgrade /var/tmp/ftmp/XigmaNAS-x64-full-12.1.0.4.7389.txz
Created successfully
Mounted successfully on '/var/tmp/be_upgrade'
...
....
Unmounted successfully
Activated successfully
xigmanas: ftmp#
Regards
Yes, that's what I've seen many times before, until the most recent releases. This failure is extremely puzzling.

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1124
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#26

Post by JoseMR »

Chucko wrote:
31 Mar 2020 07:30
...
No, it doesn't behave the same manually! I am able to extract the entire archive manually. I tried replicating the actual command used in the script, and it worked fine. I successfully extracted the tar file in both the ZFS root partition (into /var/tmp/be_upgrade) and in a tmpfs (/var/tmp/ftmp). It worked several times. But I cannot for the life of me figure out why it doesn't work in the script.
...
Hi, If the tar command is working fine for you by manual execution, i.e. manual file open/extraction, then this is indeed a puzzle, unfortunately I don't have the installer for the older XigmaNAS version 12.1.0.4.7287 in order to try replicate your issue here.

However, while further investigating here, I was able to reproduce similar behaviour as you while trying to upgrade from CLI with the file located inside the '/root' directory, which made me wonder about some environment/perms issues, so when I've moved the upgrade file to '/tmp', I was successfully able to upgrade without errors.

So please try upgrading with the file in another location than the root directory, preferably '/tmp'.

Instructions:
Clear every stale/interrupted upgrade files if any:

Code: Select all

rm -rf /var/tmp/ftmp/*
Update to latest 12.1 rc.firmware file:

Code: Select all

fetch --no-verify-peer -o /etc/rc.firmware "https://sourceforge.net/p/xigmanas/code/HEAD/tree/trunk/etc/rc.firmware?format=raw"
Place the upgrade_file.txz below '/tmp' and call the upgrade command from there:

Code: Select all

/etc/rc.firmware fullupgrade /tmp/XigmaNAS-x64-full-12.1.0.4.7389.txz
Hope this will work for you.

Regards
System: FreeBSD 12 RootOnZFS Mirror, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page

arghdubya
NewUser
NewUser
Posts: 10
Joined: 05 May 2018 02:31
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#27

Post by arghdubya »

I stepped up from the early March without issue when I found the instructions that 7321 was a required update.
I'm just noting that I did a test scrub after a rebuild recently on 7287:
Now I'm getting CRC errors on drives(I had none before except rarely for the bad drive on replace) but no ahci errors (no timeouts etc, but had tons before with bad drives) in the system log.
There was one CRC error listed for the Z pool itself, but no error, and that's alarming.

So there's been a reporting change commit has hit on the stats and maybe the system log.
1: N40L 4gb [(6) int 2tb +esata mediasonic (4) 2tb] 20tb's in Z2 , Marvel based eSata, boot on ZFSonRoot
2: Noontec (J1800 based) 4gb 2bay NAS with 1tb mirror, dedup on, rev5074, USB boot
3: UNAS 4bay Intel DH61DL 8gb, Marvel MiniPCIe AHCI, SDD boot root-on-ZFS , (6) 3tb in Z1 (10tb total currently)
& 4 QNAPs, 1 Synology, Win2008 EX495, Vsphere 6.7, Win Server 2016 AD

User avatar
JoseMR
Hardware & Software Guru
Hardware & Software Guru
Posts: 1124
Joined: 16 Apr 2014 04:15
Location: PR
Contact:
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#28

Post by JoseMR »

arghdubya wrote:
01 Apr 2020 19:48
I stepped up from the early March without issue when I found the instructions that 7321 was a required update.
I'm just noting that I did a test scrub after a rebuild recently on 7287:
Now I'm getting CRC errors on drives(I had none before except rarely for the bad drive on replace) but no ahci errors (no timeouts etc, but had tons before with bad drives) in the system log.
There was one CRC error listed for the Z pool itself, but no error, and that's alarming.

So there's been a reporting change commit has hit on the stats and maybe the system log.
Hi arghdubya, you could make a separate post of your related ZFS/CRC issues after the upgrade so you can post there related system setup, error output/images, so we can assist you for a solution.

Regards
System: FreeBSD 12 RootOnZFS Mirror, MB: Supermicro X8SI6-F, Xeon X3450, 16GB DDR3 ECC RDIMMs.
XigmaNAS RootOnZFS
Addons at GitHub
BastilleBSD
Boot Environments Intro
Resources Home Page

User avatar
Maurizio
Starter
Starter
Posts: 67
Joined: 05 Jul 2018 21:49
Location: Linate (MIlan)
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#29

Post by Maurizio »

I have just upgrade the Dell server. The BitTorrent is running:

Code: Select all

# /etc/rc.d/transmission status
transmission is running as pid 8338.
but I cannot access the Administrative WebGUI, clicking on the Administrative WebGUI URL the XigmaNAS home page is displayed.
XigmaNAS 12.1.0.4 on Dell R710 144GB RAM - RootOnZFS zroot on 2x 64GB 15k HDDs in mirror, zdata on 3x 1TB SSD in RAIDZ1.
2x XigmaNAS 11.2.0.4 - RootOnZFS on HPE Proliant Microserver gen10 X3216 - 3x 4TB WD RED. In mirror with zrep.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 5086
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: XigmaNAS 12.1.0.4.7389 released (FreeBSD 12.1-RELEASE-P3)

#30

Post by raulfg3 »

Try to Restart service (stop, wait a bit and start), and post what happen
12.0.0.4 (revision 6766)+OBI on SUPERMICRO X8SIL-F 8GB of ECC RAM, 12x3TB disk in 3 vdev in RaidZ1 = 32TB Raw size only 22TB usable

Wiki
Last changes

HP T510

Post Reply

Return to “Release Builds”