limetech Posted June 26, 2015 Share Posted June 26, 2015 With release of 6.0.1 the plugin that handles updating v6 also can upgrade v5 to v6. Read this first: * Make a backup of your USB Flash device. * Take a screenshot of your webGui Main page. This will make it easier to restore your disk assignments if necessary (shouldn't be). * Do not try to use this plugin if you are coming from a version of unRAID prior to v5.0-beta6, including all v4 releases. Please use the Upgrading to UnRAID v6 guide as a 'clean' install, and do not attempt to restore your configuration files. You will need to assign all of your drives again in v6. * If you have never run the New Permissions tool, or are upgrading from a version prior to v5.0-rc9, then you MUST run the New Permissions tool, even if you have run it before. It's on the v6 Tools page. * Whether you use this plugin or not, it is recommended to read the Upgrading to UnRAID v6 guide. There are two methods which can be used to upgrade using this plugin: Method 1 - using command line Use console or telnet session to log into your unRAID-5 server. Use 'wget' command to fetch the unRAIDServer.plg file: wget --no-check-certificate https://raw.githubusercontent.com/limetech/unRAIDServer/master/unRAIDServer.plg Then perform the upgrade by typing this command: installplg unRAIDServer.plg When upgrade has completed, reboot your server. Method 2 - using reboot sequence Download the unRAIDServer.plg file to your PC from this link (windows: right-click, save-as): https://raw.githubusercontent.com/limetech/unRAIDServer/master/unRAIDServer.plg Copy the file to the 'config/plugins' directory on your 'flash' share. Reboot your server TWICE. That is, the first time your server is rebooted, it still boots into unRAID-5 but during the boot process it will download and install the unRAID-6 release. Reboot a second time to actually boot into unRAID-6. What the upgrade does: - Checks that your CPU is 64-bit capable - Downloads the 32-bit version of ‘infozip’ package from slackware.cs.utah.edu into /boot/extra directory. This is needed for the ‘unzip’ command. - Downloads the ‘latest’ unRaid-6 release zip file and md5 file from the LimeTech Amazon-S3 account. - Verifies there is enough free space on the flash. There needs to be around 150MB free space. - Unzips release and copies release files to temp directory on flash. - Preserves the current unRaid-5 release files to a directory on the flash called ./unRAID5 - extra/ - packages/ - plugins/ - config/plugins/ - config/plugins/go - Copies the release files from temp directory to root of flash device. - Copies a fresh ‘go’ file to the config directory. - If your key file is in root of the USB flash, it’s copied to config directory. When the server is booted into unRaid-6 it's a fully 'stock' install, but with your unRaid-specific config files intact. Meaning all your disks assignments, users, etc. should still be present. [glow=red,2,300]ALL PLUGINS AND EXTRA PACKAGES WILL NOT BE UPDATED[/glow] To add missing functionality provided by unRAID-5 plugins, please look for equivalent unRAID-6 Docker containers. If you decide to revert back to unRAID-5 this can be accomplished using this command: plugin remove unRAIDServer.plg Quote Link to comment
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.