Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SNAP plugin for 5.0beta13+

Featured Replies

  • Author

Escaping a bit too much i guess now

 

:)

 

only 4 from the 20 disks in the array show now  and the flash drive

 

Are the missing drives all samsung?

  • Replies 161
  • Views 44.6k
  • Created
  • Last Reply
  • Author

Build 5.06

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

 

 

changes:

If spun down then drive is left untouched when refreshing grid.  It will spin up in a row refresh.

Fixed status icon tooltip problem in firefox.

Still same issue

 

from install : file /tmp/snap/snapBundle.tar: downloading from http://unraid-snap.googlecode.com/files/snap-5.06-1.tar ... bad download, deleting

 

 

On server : http://unraid-snap.googlecode.com/files/snap-5.06.tar

 

So it got wrong info when truing to get the files

 

 

 

EDIT

 

Removed -1

 

# Download the bundle.

code="<?xml version='1.0' standalone='yes'?><PLUGIN><FILE Name='/tmp/snap/snapBundle.tar' ><URL>http://unraid-snap.googlecode.com/files/snap-$latestVersion.tar</URL></FILE></PLUGIN>"

 

 

Noe it working

Still same issue

 

from install : file /tmp/snap/snapBundle.tar: downloading from http://unraid-snap.googlecode.com/files/snap-5.06-1.tar ... bad download, deleting

 

 

On server : http://unraid-snap.googlecode.com/files/snap-5.06.tar

 

So it got wrong info when truing to get the files

 

 

 

EDIT

 

Removed -1

 

# Download the bundle.

code="<?xml version='1.0' standalone='yes'?><PLUGIN><FILE Name='/tmp/snap/snapBundle.tar' ><URL>http://unraid-snap.googlecode.com/files/snap-$latestVersion.tar</URL></FILE></PLUGIN>"

 

 

Noe it working

 

Thanks, that worked for me as well.

Will this mount a DVD drive?

I figured I'd just try it but once it's installed (using the tip from peter_sm) I don't see any drives at all. Maybe it's related to this in SnapNotify.log ?

 

Installing package inotify-tools-3.8-i486-1.tgz:

Verifying package inotify-tools-3.8-i486-1.tgz.

Error occured - inotify not installed.  Will attempt to install package.

  • Author

Will this mount a DVD drive?

 

I did some preliminary testing with that on the SNAP 4.7 version.  It's on my list to try this again.  On the 4.7 version I could detect the drive existing but not when a DVD was inserted.  The system noticed the DVD was inserted and created a device entry for it but didn't raise an event.  So the only way to detect it would have been to have a background process that was always looking for a new device entry for the DVD.  That seemed ugly. 

But now that SNAP has a web gui it might be something as simple as refresh the grid and it would see the DVD has been inserted.  If you have some time and want to install a DVD player in your machine to test it a bit you might find it works.

 

Edit:  Also it might be useful to try an external DVD by USB connection.

  • Author

The downloading problem was a typo in the plg file.  I have corrected it and posted it back on the first page in this thread.  Thanks peter_sm and dclark10 for finding that.

http://lime-technology.com/forum/index.php?topic=18046.msg162098#msg162098

 

On line 102 of the Snap-5.0-1.plg file the typo is that "-1" shouldn't be there.

# Download the bundle.

code="<?xml version='1.0' standalone='yes'?><PLUGIN><FILE Name='/tmp/snap/snapBundle.tar' ><URL>http://unraid-snap.googlecode.com/files/snap-$latestVersion-1.tar</URL></FILE></PLUGIN>"

  • Author

Build 5.07

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

 

Changes:

1. The grid should load a little faster now.

2. The context menu has icons.

3. I think I fixed the bug sacretagent reported concerning the samsung drives.  sacretagent please test and let me know if it's fixed.

4. Added confirmation dialog for preclearing on context menu.

 

Yep all OK now

grid loads completely

and the samsungs are recognised properly now

 

THX

 

  • Author

Build 5.08

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

 

 

Changes: 

The filesystem for non-unraid devices are displayed in the status column.  If the drive has multiple partitions with filesystems, only the first will be displayed for now. 

Works great now but it doesn't see my DVD drive (internal SATA). I don't have an external to test. If someone else does I'd be interested in their results. I'd like to use my server to rip/burn DVD's.

Hi,

 

thanks a lot for the great work. I had used the version 0.47 with unRAID b14 and everything worked fine.

 

However I thought upgrading to the new plugin version might be a good idea. I was doing the folloging steps:

  • removed: 551-unmenu_user_script_SNAP_update_check
  • removed: 551-unmenu_user_script_SNAP_update_install
  • removed: webGUI_and_simplefeatures-unmenu-package.conf
  • removed: the old snap directory
  • copied: snap.list from the old version
  • not copied: snapEvent*

Other than that I just followed your guidance from #1.

 

Is that a correct summary of the required upgrades steps from 0.47 to 0.5x of your plugin?

 

 

  • Author

Hi,

 

thanks a lot for the great work. I had used the version 0.47 with unRAID b14 and everything worked fine.

 

However I thought upgrading to the new plugin version might be a good idea. I was doing the folloging steps:

  • removed: 551-unmenu_user_script_SNAP_update_check
  • removed: 551-unmenu_user_script_SNAP_update_install
  • removed: webGUI_and_simplefeatures-unmenu-package.conf
  • removed: the old snap directory
  • copied: snap.list from the old version
  • not copied: snapEvent*

Other than that I just followed your guidance from #1.

 

Is that a correct summary of the required upgrades steps from 0.47 to 0.5x of your plugin?

 

If you have any special events in snapEvents.sh you could copy that over because it hasn't changed so far.

But otherwise it seems you should be fine.  And click the "Check for Updates" link every so often because I'm still adding features.

  • Author

Works great now but it doesn't see my DVD drive (internal SATA). I don't have an external to test. If someone else does I'd be interested in their results. I'd like to use my server to rip/burn DVD's.

 

I've been reading a little on that.  It seems that to make DVD's work it's going to require some sort of udev config.  And of course what I read seems to be a bit different than how it's actually implemented.  What we need is someone who has set up a DVD/CD that will show or discuss how to set it up.  After that I can add that ability to SNAP. 

 

I've always wanted to at least be able to play DVD's if possible.

I have a silly problem. not sure if it's the plugin or it's unraid or what.. it seems when i reboot, whatever is on the drive disappears.  I use the SAB/Sickbeard plugin and store all the data and app information on the drive that i mounted via snap.  I also run a copy of ps3media server from that drive as well.  After the server had lost power, or I needed to reboot it, I lose all the data thats on the drive.

 

Is that normal or am I missing something or doing something wrong?  Not a big deal as i don't reboot the server all that much, just wondering.

  • Author

I have a silly problem. not sure if it's the plugin or it's unraid or what.. it seems when i reboot, whatever is on the drive disappears.  I use the SAB/Sickbeard plugin and store all the data and app information on the drive that i mounted via snap.  I also run a copy of ps3media server from that drive as well.  After the server had lost power, or I needed to reboot it, I lose all the data thats on the drive.

 

Is that normal or am I missing something or doing something wrong?  Not a big deal as i don't reboot the server all that much, just wondering.

 

SNAP mounts and shares the drive, nothing else.  So if data/application stuff is missing after a reboot it's either the other plugins not automatically using that location or perhaps they load before SNAP shares the device.  If the other plugins write to a directory in /mnt/disk/yoursharename BEFORE SNAP mounts the drive then the data would be on the flash drive at /mnt/disk/yoursharename but hidden under the newly mounted drives location.

Just installed the plugin (I downloaded the .zip from the OP)

 

When I click the SNAP button all I get is a screen like in the attachment. Is this meant to be? Where do I go from here? I'm on 5.0b12 and using IE8.

  • 4 weeks later...

i formatted my flash drive in windows with fat32. i install snap using the plugins. i go to settings/snap and cant see my flash drive. since there is no instruction here, i go to topic New Application: S. N. A. P.. i followed the instruction to assign drive to snap

 

1. Plug the drive into your unRAID server so linux will create a device name for it.

2. Show the devices on your unRAID server by typing:  snap.sh -listDevInfo 

3. Determine which is the one your interested in.  Plugging/unplugging will make it appear/disappear from the list.

4. Assign the drive to Snap:  snap.sh -a serialnumber  sharename

 

then i go back to settings/snap and still doesnt see my flashdrive. my flashdrive is empty (just formatted).

 

anything i missed?

ive been trying to get snap working for days.

 

i tested plugging in all my flash drive, none of em working. from the snap setting page, snap version 5.08 is installed. in the snap shares, all shown drive are managed by unraid, none are managed by snap.

 

snap log

--
/boot/config/plugins/snap/snap.sh -v  
/boot/config/plugins/snap/snap.sh -getfsList  
/boot/config/plugins/snap/snap.sh -getUniqueDeviceNamesAndIds names-and-ids 
--
/boot/config/plugins/snap/snap.sh -v  
/boot/config/plugins/snap/snap.sh -getfsList  
/boot/config/plugins/snap/snap.sh -getUniqueDeviceNamesAndIds names-and-ids 
/boot/config/plugins/snap/snap.sh -v  
/boot/config/plugins/snap/snap.sh -getfsList  
/boot/config/plugins/snap/snap.sh -getUniqueDeviceNamesAndIds names-and-ids 
--
/boot/config/plugins/snap/snap.sh -v  
/boot/config/plugins/snap/snap.sh -getfsList  
/boot/config/plugins/snap/snap.sh -getUniqueDeviceNamesAndIds names-and-ids 
--
/boot/config/plugins/snap/snap.sh -u usb-SanDisk_Cruzer_Blade_4C532007441116119225-0:0 
Plugged In: usb-SanDisk_Cruzer_Blade_4C532007441116119225-0:0 Sat Apr 7 12:12:37 SGT 2012
--
/boot/config/plugins/snap/snap.sh -U usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0 
Removed: usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0 Sat Apr 7 12:12:33 SGT 2012
--
/boot/config/plugins/snap/snap.sh -u usb-SanDisk_Cruzer_Blade_200517410109F6A2A6BC-0:0 
Plugged In: usb-SanDisk_Cruzer_Blade_200517410109F6A2A6BC-0:0 Sat Apr 7 12:12:30 SGT 2012
--
/boot/config/plugins/snap/snap.sh -v  
/boot/config/plugins/snap/snap.sh -checkForUpdate  
check
--
/boot/config/plugins/snap/snap.sh -v  
/boot/config/plugins/snap/snap.sh -getfsList  
/boot/config/plugins/snap/snap.sh -getUniqueDeviceNamesAndIds names-and-ids 
/boot/config/plugins/snap/snap.sh -v  
/boot/config/plugins/snap/snap.sh -getfsList  
/boot/config/plugins/snap/snap.sh -getUniqueDeviceNamesAndIds names-and-ids 
--
/boot/config/plugins/snap/snap.sh -v  
--
/boot/config/plugins/snap/snap.sh -getfsList  
/boot/config/plugins/snap/snap.sh -getUniqueDeviceNamesAndIds names-and-ids 
--
/boot/config/plugins/snap/snap.sh -v  
/boot/config/plugins/snap/snap.sh -getfsList  
/boot/config/plugins/snap/snap.sh -getUniqueDeviceNamesAndIds names-and-ids 
/boot/config/plugins/snap/snap.sh -v  
--
/boot/config/plugins/snap/snap.sh -getfsList  
/boot/config/plugins/snap/snap.sh -getUniqueDeviceNamesAndIds names-and-ids 
--
/boot/config/plugins/snap/snap.sh -u usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0 
Plugged In: usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0 Sat Apr 7 12:02:42 SGT 2012
--
/boot/config/plugins/snap/snap.sh -U usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0 
Removed: usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0 Sat Apr 7 12:00:58 SGT 2012
--
/boot/config/plugins/snap/snap.sh -ShowEventSection HOTPLUG_IN 
/boot/config/plugins/snap/snap.sh -ShowEventSection HOTPLUG_IN 
/boot/config/plugins/snap/snap.sh -ShowEventSection AFTER_SHARE 
/boot/config/plugins/snap/snap.sh -ShowEventSection AFTER_MOUNT 
/boot/config/plugins/snap/snap.sh -ShowEventSection AFTER_MOUNT 
/boot/config/plugins/snap/snap.sh -v  
/boot/config/plugins/snap/snap.sh -getfsList  
/boot/config/plugins/snap/snap.sh -getUniqueDeviceNamesAndIds names-and-ids 
/boot/config/plugins/snap/snap.sh -v  
/boot/config/plugins/snap/snap.sh -getfsList  
/boot/config/plugins/snap/snap.sh -getUniqueDeviceNamesAndIds names-and-ids 
/boot/config/plugins/snap/snap.sh -u usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0 
Plugged In: usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0 Sat Apr 7 11:50:32 SGT 2012
/boot/config/plugins/snap/snap.sh -U usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0 
Removed: usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0 Sat Apr 7 11:50:27 SGT 2012
/boot/config/plugins/snap/snap.sh -v  
/boot/config/plugins/snap/snap.sh -getfsList  
/boot/config/plugins/snap/snap.sh -getUniqueDeviceNamesAndIds names-and-ids 
/boot/config/plugins/snap/snap.sh -v  
/boot/config/plugins/snap/snap.sh -getfsList  
/boot/config/plugins/snap/snap.sh -getUniqueDeviceNamesAndIds names-and-ids 
/boot/config/plugins/snap/snap.sh -v  
/boot/config/plugins/snap/snap.sh -getfsList  
/boot/config/plugins/snap/snap.sh -getUniqueDeviceNamesAndIds names-and-ids 
/boot/config/plugins/snap/snap.sh -u usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0 
Plugged In: usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0 Sat Apr 7 11:22:00 SGT 2012
/boot/config/plugins/snap/snap.sh -U usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0 
Removed: usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0 Sat Apr 7 11:14:37 SGT 2012
Starting /boot/config/plugins/snap/snapNotify.sh:  Sat Apr 7 09:59:04 SGT 2012
/boot/config/plugins/snap/snap.sh -U  
/boot/config/plugins/snap/snap.sh -u  
/boot/config/plugins/snap/snap.sh -SnapGlobalSection  
/boot/config/plugins/snap/snap.sh -b: Mounting all shares...
Initializing snap log.

 

snapnotify.log

--
devtype: part
deviceid: usb-SanDisk_Cruzer_Blade_4C532007441116119225-0:0
event: CREATE
devtype: disk
deviceid: usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0
event: DELETE
devtype: disk
devtype: part
devtype: part
deviceid: usb-SanDisk_Cruzer_Blade_200517410109F6A2A6BC-0:0
event: CREATE
devtype: disk
devtype: part
deviceid: usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0
event: CREATE
devtype: disk
deviceid: usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0
event: DELETE
devtype: disk
devtype: part
devtype: part
deviceid: usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0
event: CREATE
devtype: disk
deviceid: usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0
event: DELETE
devtype: disk
devtype: part
devtype: part
deviceid: usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0
event: CREATE
devtype: disk
deviceid: usb-SanDisk_Cruzer_Fit_4C532000011125119212-0:0
event: DELETE
devtype: disk
devtype: part
Watches established.
Setting up watches.  

Package inotify-tools-3.8-i486-1.tgz installed.
Executing install script for inotify-tools-3.8-i486-1.tgz.
#
# inotify-tools home: http://inotify-tools.sourceforge.net/
#
# filesystem events.
# These programs can be used to monitor and act upon
# providing a simple interface to inotify.
# inotify-tools is a set of command-line programs for Linux
#
# inotify-tools (command line utilities for inotify)
PACKAGE DESCRIPTION:
Installing package inotify-tools-3.8-i486-1.tgz:
Verifying package inotify-tools-3.8-i486-1.tgz.
Error occured - inotify not installed.  Will attempt to install package.

 

please help.

 

thanks.

ohh nice..  a SNAP Plugin :) For whatever reason i never got SNAP to work (Tried a few times, it was jus stubborn on me :) i didn't care too much at the time to find out what was wrong )

I'm going to try this out soonest, great work :)

For some reason I always get "No FS" displayed, but all my server daemons like sab, sick and couchpotato are running fine from the external snap-mounted HDD. What might be the reason?

Finally, i got snap working. Heres how for those noob like me who cant get it work.

 

1. delete snap folder : \\tower\flash\config\plugins\snap or /mnt/boot/config/plugins/snap. You can use from telnet : rm -r /mnt/boot/config/plugins/snap. this to make sure no conflict with latest snap.

2. follow the installation step in the fist post

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

 

3. when you in the snap setting page (http://tower/Settings/snap#tabs-1), click +Add. there will be 2 textbox, Serial Number and Share Name. put any name(as long as its not similar name to your other share name. to easily see your other share name, goto //tower. what you see there is your other share name) to share name to easily recognize the usb drive.

4. for serial number, we need to find the drive serial number. (assuming you have unmenu working)to do this, goto unmenu>my main. most probably, you will see a plus icon with HPA? below it. thats your usb drive. in the id column of the usb drive row there are a -0:0 link. click it to configure disk. copy the serial number value. your usb drive serial number is "serial number value" + "-0:0". for my flash drive, it is 200517410109F6A2A6BC-0:0. paste your usb drive serial number(200517410109F6A2A6BC-0:0) in the Serial number textbox.

5. submit and your usb drive is mounted.

6. check your usb drive by browsing to \\tower\. you will see your usb drive share name.

 

if you try to clik the usb drive, you will get permission error. as of now, im trying to set nobody as the owner of the shares.

 

to queeg.

its been weeks for me trying to figure out how to use snap. when you mention that snap is hotplug, i got the impression that all you got todo(after install snap) is to plug the usb device and be done with it. the "user is required to assign serial number and share name" is not really obvious until few other old threads i read. plus, there is no mention that you have to assign serial number and share name in the plugin release thread. in the old release thread, you mention "NOTE: New installation procedures as of 0.47." which create an impression that different release of snap requires different installation procedure. i believe, if you state that user have to assign serial number and share name BEFORE hotplug feature is enable, that would have help. all this time, i was under the impression that my installation is problematic, thats why hotplug feature is not working.

anyway, thanks for your wonderful effort.

 

thanks.

I'm all up and running on 5.14 :D, I was also able to get all my previous saved config thanks to your instructions.

 

SNAP is up there with my most used plugins on unRaid, nice to have a GUI to play with.

 

Thanks for all your hard work mate.

 

 

  • Author

 

to queeg.

its been weeks for me trying to figure out how to use snap. when you mention that snap is hotplug, i got the impression that all you got todo(after install snap) is to plug the usb device and be done with it. the "user is required to assign serial number and share name" is not really obvious until few other old threads i read. plus, there is no mention that you have to assign serial number and share name in the plugin release thread. in the old release thread, you mention "NOTE: New installation procedures as of 0.47." which create an impression that different release of snap requires different installation procedure. i believe, if you state that user have to assign serial number and share name BEFORE hotplug feature is enable, that would have help. all this time, i was under the impression that my installation is problematic, thats why hotplug feature is not working.

anyway, thanks for your wonderful effort.

 

thanks.

 

Ahh, yes I guess some popup help or something would be useful.  When you plugged in the usb drive, did it show it's serial number in the SNAP grid?  Or did it never show up and you had to use the add button to add the serial number/sharename?  If it never did show up by itself then that is a problem and I need to get more information from you about that.

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.