March 2, 201610 yr I'm unsure of the steps needed to upgrade my unRAID v5.0.5 to latest V6. Anyone able to help me out? Do i need to do a clean install over again as i'm confused by references to being able to upgrade from v5.0.6 onwards automatically?? Is it better to bring my release up to 5.0.6 or just do a clean install? Whats the best instructions to use, there's a lot about!
March 2, 201610 yr I'm unsure of the steps needed to upgrade my unRAID v5.0.5 to latest V6. Anyone able to help me out? Do i need to do a clean install over again as i'm confused by references to being able to upgrade from v5.0.6 onwards automatically?? Is it better to bring my release up to 5.0.6 or just do a clean install? Whats the best instructions to use, there's a lot about! http://lime-technology.com/wiki/index.php/Upgrading_to_UnRAID_v6
March 2, 201610 yr Author Thanks. Appreciated. But ... i'm at 5.0.5 so is it easier to bring that to 5.0.6 and then upgrade OR clean install v6 which i'm dibious about doing?
March 2, 201610 yr Community Expert Thanks. Appreciated. But ... i'm at 5.0.5 so is it easier to bring that to 5.0.6 and then upgrade OR clean install v6 which i'm dibious about doing? I do not see that going to v5.06 gains you anything. I would recommend doing the following that you: Make a backup of the current USB stick so you can revert if required. Make sure your parity is good and none of the disks have obvious problems. Make sure you know what your current disk assignments are (a screen shot makes sense) if you are going to do a clean install Follow the guide for installing v6. You can copy across the configuration files mentioned in the guide to avoid having to reassign disks and to keep any share settings. All plugins/additional packages you use will need new versions as v5 ones (32-bit) are not compatible with v6 (64-bit)
March 2, 201610 yr Community Expert I'm unsure of the steps needed to upgrade my unRAID v5.0.5 to latest V6. Anyone able to help me out? Do i need to do a clean install over again as i'm confused by references to being able to upgrade from v5.0.6 onwards automatically?? Is it better to bring my release up to 5.0.6 or just do a clean install? Whats the best instructions to use, there's a lot about! http://lime-technology.com/wiki/index.php/Upgrading_to_UnRAID_v6 If you look at the top of this link, you will see a link to a thread which has a very good procedure for doing an upgrade from ver 5 to ver 6 which will allow to retain all of your settings that you have for a basic unRAID setup. It is simple to follow and worked well for many people who had simple setups. If you have one of those types of setups and follow the instructions, when you do your first boot, the server will look to the outside world identical to your present version 5 setup. The Wiki covers virtually every problem and scenario imaginable. It also covers (and explains) many of the new features in version 6.X and provides links to other places to provide further resources. Hope this helps...
March 2, 201610 yr Author What are the (dis)advantages of a clean install over an upgrade? I CAN upgrade it seems from 5.0.5 to v6. I had read it wasnt possible but that link says it is. That's what i meant about confusion. I'm not too techie so whats easiest for me? My unRAID is basic with few, if any, plugins.
March 2, 201610 yr Community Expert What are the (dis)advantages of a clean install over an upgrade? I CAN upgrade it seems from 5.0.5 to v6. I had read it wasnt possible but that link says it is. That's what i meant about confusion. I'm not too techie so whats easiest for me? My unRAID is basic with few, if any, plugins. During an upgrade straight from ver 5 to ver 6 by installing/overwriting the existing ver 5 files is more for the experienced user then for someone who is basically uncomfortable with what is to be done. The clean install of version 6 by copying over the configuration files from version 5 is the simplest procedure. Plus, it assures that any debris that was in the ver 5 installation that could cause problems in version 6 are removed when the Flash Drive is wiped clean. (That were some folks who thought they hadn't install anything beyond the base OS who found out the hard way that they really had installed some things!) I am going going to include the link here for the thread that I put together for the simple way to do the upgrade: http://lime-technology.com/forum/index.php?topic=39032.0 The steps are all straight forward. Read the instructions first and don't start until you understand them. I would suggest printing them out (Either the webpage of the PDF file) and check off each step as you complete it. The only disadvantage to doing the clean install is that you do have to shut the server down, remove the Flash Drive, format it, copy over all of the files, put the Flash Drive back in the server and start the server back up. It takes longer to do then an in-place upgrade does if everything goes right with the in-place up-grade. BUT--- when something goes wrong...
March 5, 201610 yr Author Hi guys ... i'm still confused about this upgrade. I thought i'd decided on doing an 'upgrade' from 5.0.5 but where it says to run new permissions if you've 'ever ran at 5.0.rc9 or earlier' ... i just cant remember that far back. I do know that i progressed through a couple of revisions but how can i tell if i need to run new perms or not?? Am i right in thinking that i can just clean install latest v6 and all data on drives will be unaffected after i've reallocated drives and it's parity sync'ed?
March 5, 201610 yr Hi guys ... i'm still confused about this upgrade. I thought i'd decided on doing an 'upgrade' from 5.0.5 but where it says to run new permissions if you've 'ever ran at 5.0.rc9 or earlier' ... i just cant remember that far back. I do know that i progressed through a couple of revisions but how can i tell if i need to run new perms or not?? Am i right in thinking that i can just clean install latest v6 and all data on drives will be unaffected after i've reallocated drives and it's parity sync'ed? It can't hurt to run New Perms again, except for a little lost time. However, if you are on 5.0.5, and had previously followed instructions when upgrading to it, you probably ran it back then. It's not a big issue to be confused about, it's just trying to make sure file permissions are all correct. The only reason they wouldn't be is if you had run a version from way back, and had never run New Perms since. If you aren't sure, just run it.
March 5, 201610 yr Community Expert Hi guys ... i'm still confused about this upgrade. I thought i'd decided on doing an 'upgrade' from 5.0.5 but where it says to run new permissions if you've 'ever ran at 5.0.rc9 or earlier' ... i just cant remember that far back. I do know that i progressed through a couple of revisions but how can i tell if i need to run new perms or not?? Am i right in thinking that i can just clean install latest v6 and all data on drives will be unaffected after i've reallocated drives and it's parity sync'ed? If you are successfully using 5.0.5, you have either run the new permissions script OR your first use of unRAID was after the change was made in the 'owner' of all shares for security reasons. (The owner previously was 'root' and for obvious reasons that was not a good idea for a public share! If any bad guy figures out how to execute an uploaded file on the server with essentially root privileges, the system would then wide open for anything the guy wanted to do! This is basically what causes a lot of the problems with Windows computers!)
March 13, 201610 yr Author Can someone explain how i can check the current share ownership to establish whether the new permissions script has previously run or not.
March 13, 201610 yr Community Expert Can someone explain how i can check the current share ownership to establish whether the new permissions script has previously run or not. From the console or PUTTY session, login to the server. Then type the following: ls -al /mnt/user You should see something like this: root@Rose:~# ls -al /mnt/user total 2 drwxrwxrwx 1 nobody users 128 Sep 25 17:55 ./ drwxr-xr-x 6 root root 120 Mar 12 11:00 ../ drwxrwxrwx 1 nobody users 472 Mar 5 11:45 Backup/ drwxrwxrwx 1 nobody users 1280 Mar 10 08:16 Media/ Everything with the exception of the entry for ../ should be 'nobody users' if the permissions are correct. (The ../ is the higher directory up the chain...)
March 13, 201610 yr Can someone explain how i can check the current share ownership to establish whether the new permissions script has previously run or not. If you are at all in doubt, why not just run it? Is there some reason why you don't want to run it?
March 15, 201610 yr Author Yes there is. I dont understand what it does and why it should be run. Armed with that information i might just go ahead and run it but i'd like to know why i'm running it if possible. Thanks to Frank1940 for answering positively. I'll hive that a go.
March 15, 201610 yr Community Expert Yes there is. I dont understand what it does and why it should be run. Armed with that information i might just go ahead and run it but i'd like to know why i'm running it if possible. Thanks to Frank1940 for answering positively. I'll hive that a go. The security model changed between v4 and v5 final. Running the script simply ensures that files have the correct permissions to conform to the new security model. Also, if you have plugins or dockers that are not setting up the permissions correctly to conform to the current security model then running this script can correct them (although you then want to find why they were being set wrong in the first place). You can reset the permissions from the GUI via Tools->New Permissions. When done this way it will work through all your disks and can take some time if you have a lot of files on your server. You can also set them from ` console/telnet session a command of the form: newperms <pathname> where <pathname> is an optional parameter specifying the path to the folders/files that are to be reset. If the parameter is omitted then it works through all disks like the GUI version.
Archived
This topic is now archived and is closed to further replies.