January 24, 201214 yr Hurray! A new plugin for unRAID I've posted a new web gui version of SNAP for unraid 5.0 beta. When installed, the plugin creates a web page to manage SNAP drives with. A SNAP button is added to the unraid Settings tab. This plugin has been tested on unRAID 5.0b12a, 5.0b13, 5.0b14. The latest plugin file will always be available here, at the bottom of this post. I'm testing in FF, IE and Chrome. If you report a bug, please include the browser you are using - thanks. Installation: 1. Download the Snap-5.0-1.plg.zip (below) and unzip it. 2. Place it in /boot/config/plugins Example: In windows you can use file explorer to copy the .plg file to your unraid machine here: \\tower\flash\config\plugins 3. Then telnet into your unRAID server and type this command to install the plugin (or just reboot): installplg /boot/config/plugins/Snap-5.0-1.plg 4. After it installs you should be able to run the web page. Open a browser to this address and click the SNAP button. //tower/Settings Special note for those using the older beta version of this plugin (Snap-5.0beta-noarch-1.plg.zip) The new version of SNAP has a button for installing updates so hopefully this plugin will be good for quite a while. Make sure you remove the old SNAP plugin that had "beta" in it's filename. The new installer can't install correctly over the prior beta version - so please rename your /boot/config/plugins/snap folder before installing this new version. You can copy snap.list and the snapEvent* files from the old folder to the new folder after installing. Sorry for the inconvenience, updates will be much easier going forward. This plugin also handles auto-reinstalling every time you boot. Snap-5.0-1.plg.zip
January 24, 201214 yr Does this works for esata mount? Regards Sent from my Optimus 2X using Tapatalk
January 24, 201214 yr Thanks for the port, will try it in the next few days. How stable do you consider it, or in other words, did you test it a lot or just coded and uploaded it?
January 24, 201214 yr Author Does this works for esata mount? Regards Sent from my Optimus 2X using Tapatalk Yes, it works with hard drives connected via eSata or USB. It works for USB thumbdrives, cameras etc.
January 24, 201214 yr Author Thanks for the port, will try it in the next few days. How stable do you consider it, or in other words, did you test it a lot or just coded and uploaded it? I consider it pretty stable. I've made sure it won't interfere with unraid array drives. The bones of the code has been heavily tested while it was SNAP.4.7 version. The SNAP.4.7 version resided in /boot/config/snap while the new version is in /boot/config/plugins/snap. Installing the new version changes the entry in to the /boot/config/go (or adds an entry) and starts it.
January 26, 201214 yr can't get it to work PriorVersion=5.00 INSTALLDIRECTORY=/tmp/snap New version of SNAP: 5.00 SNAP version 5.00 is currently installed. NewVersion-PriorVersion-REINSTALL is 5.00-5.00-no Stopping snapNotify.sh... Stopping snapSambaNotify.sh... Now starting SNAP... /boot/config/plugins/snap/snap.sh: All shares mounted. success plugin successfully installed i tried rebooting and reinstalling from terminal snap folder is in /usr/local/emhttp/plugins but no icon in the settings page ... maybe due to the simple feature GUI plugin i am using ..... but trying to open one of the pages in the snap folder like snap.php with my editor give me a doesn't exist warning which is weird ... owner is set to root ... and 0777 file properties .... so normally i should be able to open it ? seems you used some funky permissions ? anyway what should the url be ? //tower/Settings/snap/snap.php ?
January 27, 201214 yr Author can't get it to work PriorVersion=5.00 INSTALLDIRECTORY=/tmp/snap New version of SNAP: 5.00 SNAP version 5.00 is currently installed. NewVersion-PriorVersion-REINSTALL is 5.00-5.00-no Stopping snapNotify.sh... Stopping snapSambaNotify.sh... Now starting SNAP... /boot/config/plugins/snap/snap.sh: All shares mounted. success plugin successfully installed i tried rebooting and reinstalling from terminal snap folder is in /usr/local/emhttp/plugins but no icon in the settings page ... maybe due to the simple feature GUI plugin i am using ..... but trying to open one of the pages in the snap folder like snap.php with my editor give me a doesn't exist warning which is weird ... owner is set to root ... and 0777 file properties .... so normally i should be able to open it ? seems you used some funky permissions ? anyway what should the url be ? //tower/Settings/snap/snap.php ? The icon points to http://tower/Settings/snap Edit: The problem was identified in the next post down. Sorry for the goof. I forgot to remember not to test an install on a development machine - again.
February 7, 201214 yr Author I've made a new build. Some linked files were being left out. Please follow this link for instructions. http://lime-technology.com/forum/index.php?topic=5904.msg162583#msg162583 NOTE: The new version is now available here: http://lime-technology.com/forum/index.php?topic=18046.msg162098#msg162098 Edit: 1/27/2012 1:00 pm Edit: 2/6/2012 4:20 pm New build available. Again, follow the link to get information. New version has improvements. Doubleclick to edit sharename now. Rightclick menu has more options including running preclear on any drive that's not part of the unRAID array. Manual control for unmount and mount/share now available. New status column showing if the drive is mounted, shared, busy, precleared or preclearing. The busy indicates if any process is holding up a file or directory on the share. To handle the preclearing I had to make a modified copy of the preclear_disk.sh (ver 13) which gets installed with this plugin's folder (named p13.sh). I'm going to submit the changes to Joe so they can be incorporated in future versions. Edit: 2/12/2012 New build available at the link above. That link is the only place to get the plugin for now. Eventually I'll put it on the bottom of the first page in the SNAP thread.
February 7, 201214 yr I'm on 5.0b14 now. I had SNAP installed under 4.7 and it is still working. Must it be uninstalled before moving to this version. If so, how?
February 7, 201214 yr Author Well your pliugin work with unRaid version 5.0 Beta 12a? Thanks Probably.
February 7, 201214 yr Author I'm on 5.0b14 now. I had SNAP installed under 4.7 and it is still working. Must it be uninstalled before moving to this version. If so, how? Normally SNAP is started at boot up time when the /boot/config/go file is run. Look in the go file to see what version is being started. For ver 4.7 it will show: /boot/config/snap/snap.sh -b For ver 5.0 it will show: /boot/config/plugins/snap/snap.sh -b
February 8, 201214 yr Well your pliugin work with unRaid version 5.0 Beta 12a? Thanks Probably. It does i run it on 12A Greetz
February 8, 201214 yr Author Well your pliugin work with unRaid version 5.0 Beta 12a? Thanks Probably. It does i run it on 12A Greetz Thanks for reporting about that.
February 13, 201214 yr Author New SNAP plugin available. I posted it at the link below. This version will reinstall itself at boot time and it has a button on the web page for installing updates. A variety of other improvements. http://lime-technology.com/forum/index.php?topic=5904.msg162583#msg162583 NOTE: The new version is now available here: http://lime-technology.com/forum/index.php?topic=18046.msg162098#msg162098
February 15, 201214 yr Author Build 5.04 The next build of SNAP-5.0-1 is launched. Anyone who already installed SNAP 5.0 can use the "Check for Update" button to upgrade. Any new comers will get the new build. This link is still where to get the plugin file for initial installation. http://lime-technology.com/forum/index.php?topic=18046.msg162098#msg162098
February 15, 201214 yr HI queeg one last bug to correct had it already in the previous version and i assume you don't have Samsung drives otherwise you would have noticed These drives are "owned"by unraid ... you can see them below ... i guess you need to escape the first characters .... not sure if there is a pattern for the rest seems all working for me
February 15, 201214 yr Author HI queeg one last bug to correct had it already in the previous version and i assume you don't have Samsung drives otherwise you would have noticed These drives are "owned"by unraid ... you can see them below ... i guess you need to escape the first characters .... not sure if there is a pattern for the rest seems all working for me Please run this at the command line and reply back the output. I have seagate, hitachi and WD but no samsung. ls -l /dev/disk/by-id/*9163
February 15, 201214 yr root@p5bplus:~# ls -l /dev/disk/by-id/*9163 lrwxrwxrwx 1 root root 9 2012-02-12 15:14 /dev/disk/by-id/ata-SAMSUNG_HD204UI_S2H7J9BB209163 -> ../../sdi lrwxrwxrwx 1 root root 9 2012-02-12 15:14 /dev/disk/by-id/scsi-SATA_SAMSUNG_HD204UIS2H7J9BB209163 -> ../../sdi hope this helps
February 15, 201214 yr Author root@p5bplus:~# ls -l /dev/disk/by-id/*9163 lrwxrwxrwx 1 root root 9 2012-02-12 15:14 /dev/disk/by-id/ata-SAMSUNG_HD204UI_S2H7J9BB209163 -> ../../sdi lrwxrwxrwx 1 root root 9 2012-02-12 15:14 /dev/disk/by-id/scsi-SATA_SAMSUNG_HD204UIS2H7J9BB209163 -> ../../sdi hope this helps Whoa! Samsung drives get two device entries with different serial numbers. unRAID uses the shorter one, the "ata" one. I'll fix it in the next build which will be 5.05. ata: S2H7J9BB209163 scsi-SATA: HD204UIS2H7J9BB209163
February 16, 201214 yr Author Build 5.05 The next build of SNAP-5.0-1 is launched. Anyone who already installed SNAP 5.0 can use the "Check for Update" button to upgrade. Any new comers will get the new build when they install using the instructions at the link below. This link is still where to get the plugin file for initial installation. http://lime-technology.com/forum/index.php?topic=18046.msg162098#msg162098
February 18, 201214 yr Escaping a bit too much i guess now only 4 from the 20 disks in the array show now and the flash drive
February 18, 201214 yr I got these errors...... 1:st time using this plugin installplg /boot/config/plugins/Snap-5.0-1.plg installing plugin: Snap-5.0-1 file /tmp/preSnapInstallCleanup.sh: already exists /bin/bash /tmp/preSnapInstallCleanup.sh ... success file /tmp/prepareForSnapInstall.sh: successfully wrote INLINE file contents /bin/bash /tmp/prepareForSnapInstall.sh ... --2012-02-18 10:20:40-- http://code.google.com/p/unraid-snap/downloads/detail?name=LatestSnapVersion Resolving code.google.com (code.google.com)... 173.194.32.39, 173.194.32.40, 173.194.32.41, ... Connecting to code.google.com (code.google.com)|173.194.32.39|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/html] Saving to: `/tmp/latestSnapVer' [ <=> ] 9,509 --.-K/s in 0s 2012-02-18 10:20:40 (18.2 MB/s) - `/tmp/latestSnapVer' saved [9509] version is=5.05 Downloading bundle installing plugin: Download_SNAP_bundle http://unraid-snap.googlecode.com/files/snap-5.05-1.tar: 2012-02-18 10:20:42 ERROR 404: Not Found. file /tmp/snap/snapBundle.tar: downloading from http://unraid-snap.googlecode.com/files/snap-5.05-1.tar ... bad download, deleting /usr/bin/tar: snapBundle.tar: Cannot open: No such file or directory /usr/bin/tar: Error is not recoverable: exiting now cp: cannot stat `/tmp/snap/snapCode.tar': No such file or directory /usr/bin/tar: ./snapCode.tar: Cannot open: No such file or directory /usr/bin/tar: Error is not recoverable: exiting now /tmp/prepareForSnapInstall.sh: line 101: /tmp/snap/snapCode/snap-Install.sh: No such file or directory cp: cannot stat `/tmp/snap/snap_web.tgz': No such file or directory rm: cannot remove `/usr/local/emhttp/plugins/snap': No such file or directory rm: cannot remove `/usr/local/emhttp/plugins/snap_web.tgz': No such file or directory cp: cannot stat `/boot/config/plugins/snap/snap_web.tgz': No such file or directory tar (child): snap_web.tgz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now /usr/bin/tar: Child returned status 2 /usr/bin/tar: Error is not recoverable: exiting now rm: cannot remove `/usr/local/emhttp/plugins/snap_web.tgz': No such file or directory failed I run this command to remove all ^M fromdos < Snap-5.0-1.plg > Snap-5.0-1_new.plg But still the same......
February 18, 201214 yr Author I got these errors...... 1:st time using this plugin installplg /boot/config/plugins/Snap-5.0-1.plg <snip> [b]http://unraid-snap.googlecode.com/files/snap-5.05-1.tar: 2012-02-18 10:20:42 ERROR 404: Not Found. file /tmp/snap/snapBundle.tar: downloading from http://unraid-snap.googlecode.com/files/snap-5.05-1.tar ... bad download, deleting /usr/bin/tar: snapBundle.tar: Cannot open: No such file or directory[/b] <snip> I run this command to remove all ^M fromdos < Snap-5.0-1.plg > Snap-5.0-1_new.plg But still the same...... The message indicates that the download of the tar file failed. The install can't succeed unless the tar file downloads properly. It seems like others are downloading so all I can say is try again.
Archived
This topic is now archived and is closed to further replies.