[SOLVED] Upgrading unRAID from Version 5 to Version 6


Recommended Posts

Afternoon

I am trying to upgrade my unraid from version 5 to 6 

I followed the instruction fine but for some reson the unraid server will not get an ip address with the new usb stick that has version 6 on.

as soon as I plug in my usb stick with version 5 its fine.

I get an message regarding bonding "cannot find device "Bond0" during the startup so I did make a change to the network file and set bonding to no.

I am stuck as to what to do can somebody please help.

I also logged in as root and typed diaganostics and it said zip file created \boot\logs

However when I go to usb drive that folder is not there.

 

Network File Settings

# Generated settings:
USE_DHCP="no"
IPADDR="192.168.0.14"
NETMASK="255.255.255.0"
GATEWAY="192.168.0.1"
DHCP_KEEPRESOLV="no"
DNS_SERVER1="8.8.8.8"
DNS_SERVER2="8.8.4.4"
DNS_SERVER3=""
BONDING="no"

 

Thank You

Regards

 

 

 

Link to comment
1 minute ago, johnnie.black said:

It should, that suggests a problem with the flash drive, try a different one or recreating that one.

just to confirm I am doing a quick format with NTFS the usb drive is Cruzer 3.0 16GB

that correct 

Link to comment

Ok looks like I am getting somewhere now.

I now have the correct IP address 

I can also ping the IP address from my PC.

I do a IP scan on my PC and can see it on there as well by its name and IP "Tower"

The problem is when I type in the IP address in the browser (like I did for version 5) notthing happens 

Also when I go to file explorer and Network

I can see Tower but all I can see below is my USB drive 

I am unable to see any of my drives.

Have I missed something?

 

These are the instructions I have been following

Report post

 

Posted March 30, 2015 (edited)

Over the past few weeks I have been considering converting my media server from ver5.0.6 to version 6.  I have been running the beta versions of version 6 on my test bed server almost since it has been introduced and knew what the differences were between the two versions.  Since most of the plugins that I had installed for version 5.0.6 would not function properly for version 6, I realized that making the jump would not really be a simple task of overwriting a few system files.  To this end, I have been collecting notes of how to do this update with a minimum of hassle.  I had thought originally that I might wait until the first release candidate was released.  But then I realized that version 6b14b seems to be quite stable and usable on my basic 'Plain Jane' server.  As a result I got impatient and decided to do the upgrade of my Media server using version 6b14b.

 

I used the assembled notes that I had collected and everything went quite smoothly.  The server is running without any problems. 

 

I then thought that soon the first release candidate will be posted and there will be a lot more people that will want to move to the next version and that these instructions that I put together for my own use might be of some value to others.  I am posting them below and have attached a PDF file which contains the same instructions.  (I have found when doing some thing like this, I make fewer mistakes if I physically check-off each step as I proceed!)

 

On 4-2-2015, I revised these instructions to make it more clear exactly what I did.  In the original set, I was trying to stick a bit to close to what LimeTech proposed doing and That has confused at least one person. 

 

Upgrading unRAID from Version 5 to Version 6

 

IMPORTANT: Read this entire set of instructions before you start.  Make sure that you understand each step to minimize the possibility of making a mistake.  Most of this content was plagiarized from other sources over a period of several weeks and I can not at this time recall who the original Authors were and I do apologize to each of them!

 

It will take some time to actually do the upgrade so make sure you have enough time to go through each step slowly and not be tempted to take any shortcuts.  If you were running a very basic unRAID  NAS setup, an hour or two should be enough.  If you were running a lot of plugins to provide extended services, you will need a lot more time to complete the conversion including some research time to determine which Docker packages you will require. (If you are wondering what a 'Docker' package is, keep reading.  Remember, I told you to read the whole instruction set first!)

 

First backup the contents of your USB Flash device to a folder on your PC.  You should stop the array before making the backup.  (By clicking on 'Main', Array Operation' tab, and the 'Stop' button.)  This will allow you to roll-back to your old setup with a minimum of hassle if circumstances should require it. 

 

Then install Version 6 according to the instructions (most of this was copied from LimeTech's) below:

 

1. Open 'My Computer' (XP) or 'Computer' (Vista/Win7) and right-click your Flash device. Click 'Format...', set the volume label to UNRAID and then click 'Start'. Important: the volume label must be set exactly to UNRAID (all caps).

 

2. Click on your Flash device (to open it), click on the downloaded unRAID zip file (to open it) and drag then entire contents of the unRAID Server zip file to the Flash. (IMPORTANT NOTE:  You are dragging the contents of the ZIP file, NOT the .ZIP file itself!)

 

3. For Windows XP, click on the file 'make_bootable' on the Flash Drive. A DOS window will open and run the 'syslinux' utility on the Flash. For Windows Vista or Windows 7, right-click on the file 'make_bootable' and select 'Run as administrator'. The 'syslinux' utility will write the Master Boot Record and create a small hidden file named 'ldlinux.sys' on the Flash device, making it bootable.  (There is a 'make_bootable_mac' file which does the same thing for Mac users.)

 

4. Now copy the contents of the 'config' directory from your back up of version 5 that you made earlier to the  version 6 Flash Drive. Do NOT copy the 'go' file.  You want a virgin 'go' file when you first start version6! (You will have to grant permission to overwrite some of the files that are on the Flash drive!) Delete the 'plugins' and 'SimpleFeatures' folders if they exist. 

 

>>> This above instruction is what LimeTech proposed doing.  After examining the folders and files in the 'config' folder, I decided to copy over only the files in the root of the 'config' folder with the exception of the 'go' file and the 'shares' folder because inspection of that folder showed that it contained the setup for my shares.  I would surmise that this 'shares' folder would be the only folder that most people would want to retain from their old 'config' folder.  (If I am wrong in this assumption, I would appreciate being told of any other files which should be copied over.) <<<

 

Make sure that current unRAID .key file is in the config folder on the flash device. (Version 6 requires that the .key file be in the config folder!  If you have more than one key file in that folder, it is a good ideal to change the extension of unused ones.  I changed my Plus Key file name to Plus.key.old since I now have a Pro License for my Flash drive.)

 

5. Once again, right-click your Flash device in 'My Computer' or 'Computer' and then click 'Eject'.

 

6. Your USB Flash device is now ready to boot into unRAID Server OS. Install the Flash drive and boot your server.

 

Link to comment

Not sure if I need to change anything in the config\ident.cfg file

My File (I am in a workgroup not a domain)

# Generated settings:
NAME="Tower"
COMMENT=""
SECURITY="user"
WORKGROUP="WORKGROUP"
DOMAIN=""
localMaster="yes"
DOMAIN_LOGIN="Administrator"
DOMAIN_PASSWD=""
winbindDelay="10"
timeZone="Europe/London"
USE_NTP="no"
NTP_SERVER1="pool.ntp.org"
NTP_SERVER2=""
NTP_SERVER3=""

 

 

File that comes with recent Unraid download

Do I need to change mine could that be the issue?

# Generated names
NAME="Tower"
COMMENT="Media server"
WORKGROUP="WORKGROUP"
localMaster="yes"
timeZone="America/Los_Angeles"
USE_NTP="yes"
NTP_SERVER1="time1.google.com"
NTP_SERVER2="time2.google.com"
NTP_SERVER3="time3.google.com"
NTP_SERVER4="time4.google.com"
 

 

Link to comment
12 minutes ago, rst33 said:

Ok looks like I am getting somewhere now.

I now have the correct IP address 

I can also ping the IP address from my PC.

I do a IP scan on my PC and can see it on there as well by its name and IP "Tower"

The problem is when I type in the IP address in the browser (like I did for version 5) notthing happens

Sounds like you copied over some items that are keeping the management GUI from starting.

 

Can you SSH to the IP or get to the keyboard and monitor on the Unraid box? If so, log in, type diagnostics, that should say it's saving a file, after it's done shut down and put the USB stick in your desktop and attach the diagnostics zip file intact to your next post in this thread.

Link to comment

Your drives are fine, likely have some conflicting configuration file, I would recommend starting with a clean v6 install and only restore super.dat (assuming you were running a non beta v5 release) and your key from the v5 flash, if it boots correctly like that (all disks should be assigned, that info is on super.dat) you can then restore the other config files one by one or just reconfigure the server.

Link to comment

Hi

Thanks for getting back to me 

I am running version 5.0-rc5

So I start again but dont copy over any of my current config files. Only copy super.dat and key.

Do I still copy over the shares folder that I have in the config folder?

Thank You

Link to comment

Thanks so much for help

I have worked out that it is the disk.cfg file that is the problem 

So I have restored the following files

network.cfg

super.dat

share folder

All works fine with this 

However on the article it says the following

 

Various drive settings - to keep the rest of your drive settings, including Cache drive assignments, restore from your backup the file config/disk.cfg to the config folder of your flash drive. If you do not restore this file, it will be recreated with the defaults for all settings. If you restore super.dat and do NOT restore this file, you will need to make sure that the file system format (ReiserFS, XFS, or BTRFS) for each of your data drives is configured correctly.

 

 

So I have restored the super.dat file and have not restored the disk.cfg file and now I must make sure the file system is configured correctly.

How do I know what to set it as? 

I fired up version 5 again an could not see anywhere what I had it set to before.

Not sure what the next step is for me to do 

Thank You

Regards

 

Link to comment
4 minutes ago, rst33 said:

So I have restored the super.dat file and have not restored the disk.cfg file and now I must make sure the file system is configured correctly.

How do I know what to set it as? 

I fired up version 5 again an could not see anywhere what I had it set to before.

Not sure what the next step is for me to do 

The system would probably correctly identify the format if you simply started the array.   However as you are upgrading from v5 the format must be ReiserFS as this was the only format supported on v5.

Link to comment
8 minutes ago, itimpi said:

The system would probably correctly identify the format if you simply started the array.   However as you are upgrading from v5 the format must be ReiserFS as this was the only format supported on v5.

Hi

It says I need to set it for each disk

However I can only see a global setting under settings/disk settings

Am I missing something?

Also I have set it to Reiserfs and not reiserfs-encrypted is that correct ?

Thanks

Link to comment
1 minute ago, rst33 said:

Hi

It says I need to set it for each disk

However I can only see a global setting under settings/disk settings

Am I missing something?

Also I have set it to Reiserfs and not reiserfs-encrypted is that correct ?

Thanks

The Global setting is for NEW disks being added to the array, not for existing ones.   You probably want this set to either XFS (whish i think is the default) or BTRFS as ReiserFS is now a deprecated format (although Unraid still supports it for legacy reasons).

 

v5 did not support encryption so you want the standard ReiserFS option.

 

You can change the format for any drive by clicking on its entry on the Main tab.   I suspect that the format is currently set to Auto which means Unraid will look at the disk to try to determine its format automatically.

 

Link to comment

Brilliant 

Thank You both are correct the default is set to auto for each disk.Also have set the global setting to XFS.

I was all excited to start the array and when I look at start array it says the following message LOL

Invalid, missing or expired registration key.

I have moved the key file over and I def have a pro license however I did buy this 9 years ago.

Any idea

Thank you so much 

I am so close lol

Link to comment
  • JorgeB changed the title to [SOLVED] Upgrading unRAID from Version 5 to Version 6

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.