unRAID Server Release 5.0-beta2 Available


Recommended Posts

Download

 

NFS is now back, but AFP support is still not complete & will have to wait for next beta.

 

Lots of other changes.  Lots of things didn't make it, like selectable units display, a help system, etc.  I will try and shorten the time between beta's, but got bogged down with AFP, which still needs work & I don't want to delay this beta any further.

 

Note: you have to delete your passwd & smbpasswd files again (sorry), see below.

 

unRAID Server 5.0-beta2 Release Notes
=====================================

Upgrade instructions
--------------------
a) Prior to booting with this release, please delete the following files:
   /boot/config/passwd
   /boot/config/shadow (if present)
   /boot/config/smbpasswd
   Sorry, you will have to re-enter your users.  This is necessary to fix a bug.

b) If you are upgrading from version 4.x, you will need to run 'New Permissions' on the 'Utils' menu.


Changes from 5.0-beta1 to 5.0-beta2
-----------------------------------

New Features:
- NFS now working.
- Function on the Shares page to compute disk space used by a share. Information is cleared when you navigate to a different page.
- Simple file browser.
- emhttp event callout - see /usr/local/emhttp/emhttp_event

Bug Fixes:
- Cache disk device handling was broken.
- Share 'floor' value was always getting set to 0.
- Correctly handle a user with UID 1000.
- Allow only 'root' to be able to log in.
- Other misc fixes.

Other:
- Use 'rmmod' instead of 'modprobe -rw' to remove the unRAID driver.
- Support 'shadow' password file (note: if 'flash' share is exported, shadow password file is still visible).
- Changed webGui CSS 'width:775' to 'min-width:775', eliminate 'hover' high-lighting in disk and share status tables (change to alternating grey/light-grey rows) & updated banner image courtesy bubbaQ.
- Other numerous CSS tweaks.
- Include 'pcre' library (Perl-compatible regular expression library)
- PHP package changes:
  - include pcre support.
  - compile with "large file support"
- Include 'makepkg' and 'pkgtool'.
- Use WeeboTech's modified 'pre' script.
- Added /etc/unraid-version file.
- Lots of tweaks to the page template system.


Changes from 4.5.6 to 5.0-beta1
-------------------------------

New Features:
- New extensible webGui architecture.  Pages are rendered with PHP, but other methods are possible.
- New security model.
- Security is now available in 'Basic' verion.  The feature differences between the different license key types are as follows:
  Basic - support 3 array drives, no cache, no Active Directory support
  Plus  - support 6 array drives plus cache drive, no Active Directory support
  Pro   - support 21 array drives plus cache drive, Active Directory support

Restrictions:
- Beta-1 release does not have all functionality yet:
  No NFS.
  No AFP.
  No FTP.
  No Active Directory (actually may work, not tested).
  No "official" plugin scheme designed yet (this will be done with help from Community).
  No event hooks for plugins (again, will be implemented with input from Community).

Other:
- Way too numerous to list. Only minor changes in the unRAID driver itself, so data transfer integrity should be safe.


Upgrade Instructions
====================
Please read carefully.

Because of the new share security model, some additional steps are necessary to upgrade from version 4.5.6:

1. Copy the 'bzimage' and 'bzroot' files from the zip file to your flash device.

2. If you are upgrading 'on-line', Stop the array and then delete these two files from the flash:
    config/passwd
    config/smbpasswd
    
(Sorry, you will need to re-create all your users after booting 5.0-beta).

3. Reboot the server.  When server has booted, after examining snazzy new webGui, navigate to the 'Utils' tab and select "New Permissions".  This is a one-time operation to fix the file and directory permissions.

Link to comment
  • Replies 127
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Question, do the directories style and scripts under /usr/local/emhttp/plugins/webGui/ need to be owner executable? Or does that control if those are browsable via emhttp web interface?

 

chmod u+x /usr/local/emhttp/plugins/webGui/style, /usr/local/emhttp/plugins/webGui/scripts

Link to comment

Just dropping a note to list the fixes I've verified under a Slackware-13.1 distro.

 

Shadow Passwords function correctly, {pwconv}

 

Cache disk device now mounts.

 

Users with UID 1000 now work.

 

rmmod on driver removal works.

 

emhttp event callouts work.

 

 

~~~

For those interested, here's the steps I performed to update my Slackware 13.1 distro, in addition to those listed by limetech.

 

[::] Update from unRAID 5.0 beta 1 to unRAID 5.0 beta 2

 

1. ( cd usr/local/sbin && cp emhttp shfs initconfig newperms /usr/local/sbin )

- updated emhttp

- updated shfs

- updated initconfig

- updated newperms

 

2. cp -R usr/local/emhttp /usr/local

- updated web pages

 

3. mkdir -p /var/local/emhttp/plugins/webGui /var/local/emhttp/webGui

- updated working directory plugins

- updated working directory webGui

 

4. cp etc/unraid-version /etc

- updated unraid version

 

5. mkdir /nfs

- create nfs mount point

 

6. rm -rf /usr/local/webGui /var/local/webGui

- cleanup old web pages

 

Steps from unRAID 4.5.6 to unRAID 5.0 beta 1

[::] Update from unRAID 4.5.6 to unRAID 5.0 beta 1

 

1. cp usr/local/sbin/emhttp usr/local/sbin/shfs /usr/local/sbin

- updated emhttp

- updated shfs

 

2. cp -R usr/local/webGui /usr/local/webGui

- updated web pages

 

3. mkdir -p /var/local/emhttp /var/local/webGui /var/lib/php

- updated working directory emhttp

- updated working directory webGui

- updated working directory php

 

4. cp etc/rc.d/rc.samba /etc/rc.d/rc.samba

- updated samba script

 

5. cp etc/samba/smb.conf /etc/samba/smb.conf

- updated samba configuration, remove {passdb backend = smbpasswd}

 

 

[::] Post install Tweaks

 

1. edit php.ini [/etc/httpd/php.ini] to allow '<?' to work, {short_open_tag = On}

 

Link to comment

Question:

 

If I buy unRAID V4 and then V5 is released, will I have to re-buy V5 if I want that or do I get an upgrade?

No need to re-buy.  You just upgrade.

 

See this post:

http://lime-technology.com/forum/index.php?topic=4612.msg41927#msg41927

 

Unless you have a second or development system, the early 5.0 beta series are probably not the best choice unless you enjoy finding/reporting bugs. 

The data is probably as safe as in prior versions, but the user-interface is in undergoing a major re-write.

 

Joe L.

Link to comment

I'm unable to extract bzroot from this new release.  Both windows explorer and 7zip say the CRC is not correct.   Anybody else having problems? Or is it just my download (although I've downloaded several times with the same error)

 

Joe L.

 

I was able to do it with unzip on my unraid environment.

 

root@unraidvm:/boot/packages/Downloads# installpkg /boot/extra/disabled/infozip-5.52-i486-2.tgz

Verifying package infozip-5.52-i486-2.tgz.

Installing package infozip-5.52-i486-2.tgz:

PACKAGE DESCRIPTION:

# infozip (Info-ZIP's zip and unzip utilities)

#

# zip is a compression and file packaging utility for Unix, VMS, MSDOS,

# OS/2, Windows NT, Minix, Atari and Macintosh, Amiga and Acorn RISC OS.

# It is analogous to a combination of the UNIX commands tar(1) and

# compress(1) and is compatible with PKZIP (Phil Katz's ZIP).  A

# companion program (unzip(1L)), unpacks zip archives.

#

Executing install script for infozip-5.52-i486-2.tgz.

Package infozip-5.52-i486-2.tgz installed.

 

root@unraidvm:/boot/packages/Downloads# unzip -tv unRAID\ Server\ 5.0-beta2.zip 

Archive:  unRAID Server 5.0-beta2.zip

    testing: config/disk.cfg          OK

    testing: config/go                OK

    testing: config/ident.cfg        OK

    testing: config/network.cfg      OK

    testing: config/share.cfg        OK

    testing: bzimage                  OK

    testing: bzroot                  OK

    testing: license.txt              OK

    testing: memtest                  OK

    testing: menu.c32                OK

    testing: readme.txt              OK

    testing: syslinux.cfg            OK

No errors detected in compressed data of unRAID Server 5.0-beta2.zip.

Link to comment

Tom, can you please add zip and unzip to the standard distro.

 

root@unraidvm:/boot/packages/Downloads# ls -l /usr/bin/zip /usr/bin/unzip

-rwxr-xr-x 1 root root 116848 May 15  2007 /usr/bin/unzip*

-rwxr-xr-x 1 root root  66204 May 15  2007 /usr/bin/zip*

 

These are from the tar package and can probably be removed.

it is for a remote magnetic tape interface.

Since unRAID will probably not have a magnetic tape installed, these tools do not provide a use.

 

root@unraidvm:/boot/packages/Downloads# ls -l /etc/rmt /usr/libexec/rmt

lrwxrwxrwx 1 root root    16 Aug 10 05:00 /etc/rmt -> /usr/libexec/rmt*

-rwxr-xr-x 1 root root 23680 Dec 14  2006 /usr/libexec/rmt*

 

PS, Thanks for CPIO & unraid-version.

Once unzip is there we can probably set up some kind of automated update and install check with version.

Link to comment

unraid-version.

 

So y'all can see where I'm going with this.

 

root@unraidvm:/tmp# cat get-unraid-version.sh 
#!/bin/bash
cd /tmp
rm -f etc/unraid-version
unzip -p "$1"  bzroot | zcat | cpio -id -H newc  etc/unraid-version
cat etc/unraid-version
rm -f etc/unraid-version
rmdir etc

root@unraidvm:/tmp# ./get-unraid-version.sh "/boot/packages/Downloads/unRAID Server 5.0-beta2.zip" 
289690 blocks
version=5.0-beta2

Link to comment

Question, do the directories style and scripts under /usr/local/emhttp/plugins/webGui/ need to be owner executable? Or does that control if those are browsable via emhttp web interface?

 

chmod u+x /usr/local/emhttp/plugins/webGui/style, /usr/local/emhttp/plugins/webGui/scripts

 

Interesting... they should be owner executable.. I guess it works because emhttp runs as root.

Link to comment

Tom, can you please add zip and unzip to the standard distro.

 

root@unraidvm:/boot/packages/Downloads# ls -l /usr/bin/zip /usr/bin/unzip

-rwxr-xr-x 1 root root 116848 May 15  2007 /usr/bin/unzip*

-rwxr-xr-x 1 root root  66204 May 15  2007 /usr/bin/zip*

 

These are from the tar package and can probably be removed.

it is for a remote magnetic tape interface.

Since unRAID will probably not have a magnetic tape installed, these tools do not provide a use.

 

root@unraidvm:/boot/packages/Downloads# ls -l /etc/rmt /usr/libexec/rmt

lrwxrwxrwx 1 root root    16 Aug 10 05:00 /etc/rmt -> /usr/libexec/rmt*

-rwxr-xr-x 1 root root 23680 Dec 14  2006 /usr/libexec/rmt*

 

PS, Thanks for CPIO & unraid-version.

Once unzip is there we can probably set up some kind of automated update and install check with version.

 

Sure... I always though 'gunzip' would work for this... apparently not  :o

Link to comment

Sure... I always though 'gunzip' would work for this... apparently not  :o

 

gunzip works on one and only the "first" file, but not the subsequent ones.

 

root@unraidvm:/boot/packages/Downloads# gunzip "unRAID Server 5.0-beta2.zip" 
gzip: unRAID Server 5.0-beta2.zip: unknown suffix -- ignored

root@unraidvm:/boot/packages/Downloads# mv unRAID\ Server\ 5.0-beta2.zip unRAID\ Server\ 5.0-beta2.gz  

root@unraidvm:/boot/packages/Downloads# gunzip "unRAID Server 5.0-beta2.gz"                          
gzip: unRAID Server 5.0-beta2.gz has more than one entry -- unchanged

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.

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.