This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

unable to upgrade 0.7.2 to latest - am I missing something?

For "upgrading" from FreeNAS/NAS4Free Legacy to XigmaNAS and upgrading XigmaNAS to newer builds.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
hbueno
NewUser
NewUser
Posts: 8
Joined: 15 Dec 2013 03:56
Status: Offline

unable to upgrade 0.7.2 to latest - am I missing something?

Post by hbueno »

I built a Freenas box (embedded) several years ago - Interl Atom motherboard, 1 GB RAM, using flash drive for boot.

In reading the forum, it appears I should be able to download the x86 embedded IMG and use the 0.7.2 GUI to perform a firmware upgrade. However, when I do this I get an error "The uploaded image file is not for this platform (i386-embedded)." This occurs with the IMG file name "NAS4Free-x86-embedded-9.1.0.1.847.img"

Here is the basic system information of my system:
Version 0.7.2 Sabanda (revision 8191)
Built on Sun Oct 9 19:21:38 JST 2011
OS Version FreeBSD 7.3-RELEASE-p7 (revision 199506)
Platform i386-embedded on Intel(R) Atom(TM) CPU D510 @ 1.66GHz

Am I misunderstanding the forums and documentation? Is a GUI upgrade from 0.7.2 not possible?

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

Re: unable to upgrade 0.7.2 to latest - am I missing somethi

Post by raulfg3 »

hbueno wrote:In reading the forum, it appears I should be able to download the x86 embedded IMG and use the 0.7.2 GUI to perform a firmware upgrade. However, when I do this I get an error "The uploaded image file is not for this platform (i386-embedded)." This occurs with the IMG file name "NAS4Free-x86-embedded-9.1.0.1.847.img"
YOU CAN NOT Upgrade by WebGUI from 0.7 to 9.1.

But you can do a fresh install, and restore your previosly saved config when boot properly.

And do normal webgui updates to never versions when done. (from 9.1 to 9.x)


Please read simmilar post on Forum: viewforum.php?f=16
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

hbueno
NewUser
NewUser
Posts: 8
Joined: 15 Dec 2013 03:56
Status: Offline

Re: unable to upgrade 0.7.2 to latest - am I missing somethi

Post by hbueno »

Thanks for the clarification. I did read many posts on the forum, but was unable to find a definitive answer.

Next step is to figure to how to upgrade. My NAS box does not have a CDROM. Are there instructions on how to build an embedded system on a flash drive? The documentation on the site seems to focus on using the ISO with a CD.

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

Re: unable to upgrade 0.7.2 to latest - am I missing somethi

Post by raulfg3 »

you can create the embeded Flash on every PC that you want.
EG: You can create in the desktop PC and once done, use in your NAS

PD: You only need to copy apropiate *.img to your USB Stick, this can be done in your desktop PC.

I use : http://sourceforge.net/projects/win32diskimager/files/ to do it.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

hbueno
NewUser
NewUser
Posts: 8
Joined: 15 Dec 2013 03:56
Status: Offline

Re: unable to upgrade 0.7.2 to latest - am I missing somethi

Post by hbueno »

Excellent, thank you. It seems easier than I thought it would be.

hbueno
NewUser
NewUser
Posts: 8
Joined: 15 Dec 2013 03:56
Status: Offline

Re: unable to upgrade 0.7.2 to latest - am I missing somethi

Post by hbueno »

Happy New Year to all!

I finally got around to attempting the upgrade. I was able to write the embedded 64-bit image to a flash drive, set IP address and then log on to the GUI. However, when I try to restore the config.xml, it says "The configuration could not be restored. Invalid file format."

What now?

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

Re: unable to upgrade 0.7.2 to latest - am I missing somethi

Post by raulfg3 »

hbueno wrote:What now?
use new button in disk webgui to "Clear config and import disk".

Once done if are a ZFS pool go to ZFS tools and syncronize your detected pool and your actual webgui.

whith this you have your data back, now you only need to configur by hand the rest ( SNB shares, ftp, etc...)


and read other user experience upgrading: viewforum.php?f=16

viewtopic.php?f=16&t=3099
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

hbueno
NewUser
NewUser
Posts: 8
Joined: 15 Dec 2013 03:56
Status: Offline

Re: unable to upgrade 0.7.2 to latest - am I missing somethi

Post by hbueno »

OK, I was able to complete the upgrade of my embedded system from 0.7.2 to the latest version.

To help others, I will summarize my steps:

1. Before starting, save a copy of the FreeNAS config to an XML file. The text of the XML file should be sufficient to help you re-enter all settings after the upgrade. If you do not feel comfortable with the XML file, I suppose you could tale a screenshot of every configuration setting for later reference. The config XML file is not compatible and cannot be imported to restore the settings once the system is running 9.x.
2. Remove and keep your original flash drive in a safe place.
3. Download the desired IMG file
4. Using Win32DiskImager, "burn" the image to the new flash drive. Note that the IMG that is downloaded cannot be used as-is. It must FIRST be decpompressed (I used WinRAR) and then renamed with an IMG filename extension. Otherwise, the image will be written without errors, but it will not boot.
5. Boot the NAS with the new USB flash drive and configure network settings using the console menu.
6. Log on to the WebGUI and Clear config and import disk. The RAID status may show as Degraded but in my case, all data was accessible. It took a few hours for a rebuild.
7. All other settings must be re-entered manually. Use Notepad or other text editor to view the XML file. It can be used as a guide to restore all settings.

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

Re: unable to upgrade 0.7.2 to latest - am I missing somethi

Post by raulfg3 »

congratulations, only add that normally FreeNAs 7.x can be upgrade automatically, only few version are not possible, and I think that yours is one of affected ones.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
apollo567
Site Admin
Site Admin
Posts: 675
Joined: 23 Jun 2012 06:37
Location: Ludwigshafen, Germany
Status: Offline

Re: unable to upgrade 0.7.2 to latest - am I missing somethi

Post by apollo567 »

hbueno wrote: Version 0.7.2 Sabanda (revision 8191)
Wasn't this the latest Version before daoyama moved the N4F to FreeBSD 9 ???
So shouldn't this version be a supported version for automatic update then ?
Anyone with more information about this ?
my NAS and its development until today: viewtopic.php?f=63&t=39&sid=039fed830cf ... 4d0abe4a04

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

Re: unable to upgrade 0.7.2 to latest - am I missing somethi

Post by raulfg3 »

sorry, you are right, this is what Daoyama say in readme:
  • * Upgrading FreeNAS 7 server?
    ==============================
    This version supports upgrading from FreeNAS 0.7.2 or 0.7.5.
    The supported lowest config version is 8.9. (0.7.2.5246)
    Versions older than 0.7.2.5246 are not supported.
    Also, restoring FreeNAS config is never supported.
    The password in FreeNAS config is not changed.
    If you want, change it, use option "3) Reset WebGUI Password" of Console setup.
    First boot of NAS4Free after upgrading from FreeNAS,
    it takes special convert mode for NAS4Free config 1.0.
    Once it finished, you can't downgrade to FreeNAS!
    Don't forget create backup configuration of NAS4Free after upgrading!
but also say:
  • v9.6 config is forever marked as a blacklist.
and I'm not sure what version is 9.6
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

User avatar
lux
Advanced User
Advanced User
Posts: 193
Joined: 23 Jun 2012 11:37
Location: Bielefeld, Germany
Contact:
Status: Offline

Re: unable to upgrade 0.7.2 to latest - am I missing somethi

Post by lux »

current backup'ed config:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<nas4free>
	<version>1.7</version>
	<lastchange>1388317500</lastchange>
        ...
we are current on nas4free v1.7 - so i assume v9.6 is one of the last/latest freenas

since Nas4free we're count up again from 1.0
Home:11.3.x.7538/emb@32GB USB|1270v2@X9SCA-F|ECC32GB|i340-T4[lagg@GS108Tv2&smb-mch]|M1015@IT|9HDD~40TB@3xRaidZ1+1HDD+2SSD i335&i520+1xi800P@ZIL|~44W idle@SS-400FL2|Nanoxia Deep Silence 6B|24/7
Services: CIFS, FTP, TFTP, SSH, NFS, Rsync, Syncthing, Webserver, BitTorrent, VirtualBox | Extensions: OBI, TheBrig[certbot, Asterisk] | Extensions via vBox: Pi-hole, Jellyfin & zigbee2mqtt @DebianVM's
Test:12.x/emb@16GB USB|X3 420e@M4A88TD-V|16GB|i350-T2|M1015@IT|8xHDD+3xSSD[different Size&Brand]RaidZ1+2|for TESTing only

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 758
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: unable to upgrade 0.7.2 to latest - am I missing somethi

Post by ChriZathens »

IIRC count started from 1.0 when n4f 9.0.1.1 came out.
But before n4f 9.0.1.1 we had n4f 9.0.0.1...
v9.6 config was part of one of the latest n4f 9.0.0.1 releases
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

marklyn
NewUser
NewUser
Posts: 6
Joined: 12 Jul 2012 19:28
Status: Offline

Re: unable to upgrade 0.7.2 to latest - am I missing somethi

Post by marklyn »

I could use some clarification on the restore part. Several places reference saving /backing up your config file, yet in a situation where I'm re-installing NAS4Free 9.x, does this mean I can not use my xml conf file from my .7x version?
Is it because the version difference is so great that the config file for that 'old' version is incompatible?
If that is true then when can I use a saved config file to restore from? When it's in the same major version group (ie: 8, 9, etc.)

I was truly hoping I could use my config file to restore from but it's looking more and more when I re-install I will have to start from scratch.

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

Re: unable to upgrade 0.7.2 to latest - am I missing somethi

Post by raulfg3 »

marklyn wrote: does this mean I can not use my xml conf file from my .7x version?
Is it because the version difference is so great that the config file for that 'old' version is incompatible?
you can only use first time, Nas4Free detect that is an old config and convert to new model config, in the conversin some features can be lost, but data and disk normally are well converted.

If you upgrade from 0.7 to 9 you only need to do this conversion one time.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

Post Reply

Return to “Upgrade XigmaNAS”