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.

"SimpleFeatures" Plugin - Version 1.0.11

Featured Replies

  • Author

Strange - try putting quotes around $sCriticalDiskCommand and try again.

 

  • Replies 2.8k
  • Views 827.5k
  • Created
  • Last Reply

gfjardim: that in reference to the simpleFeatures package? Share that with speeding_ant so he can re-post it on his page.

Yes, this is about fixing some metadata, permissions and ownership that OSX messes up.

 

#!/bin/bash

URL="http://unraid-simplefeatures.googlecode.com/files/simpleFeatures-0.7-unraid-speeding_ant.tgz"

# Make the temp directory
[ -e "/simple" ] && rm -rf /simple
mkdir /simple
cd /simple

#Download and extract the file
wget $URL
explodepkg `basename $URL`
rm `basename $URL`

# Remove metadata files and fix permissions and ownership
find /simple \( -iname "._*" -o -iname ".DS_Store" \) -exec rm '{}' \;
find /simple -type d -exec chmod 755 '{}' \; -exec chown root:root '{}' \;
find /simple -type f -exec chmod 644 '{}' \; -exec chown root:root '{}' \;
chmod 755 ./install/doinst.sh ./usr/bin/* ./usr/sbin/*

# Make the new package
makepkg /boot/extra/`basename $URL`

# Clean the temp directory
rm -rf /simple

 

On the line makepkg, I get the following:

root@Tower:/simple# makepkg /boot/extra/`basename $URL`

 

Slackware package maker, version 3.14159.

 

Searching for symbolic links:

 

No symbolic links were found, so we won't make an installation script.

You can make your own later in ./install/doinst.sh and rebuild the

package if you like.

 

This next step is optional - you can set the directories in your package

to some sane permissions. If any of the directories in your package have

special permissions, then DO NOT reset them here!

 

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and

directory ownerships to root.root ([y]es, [n]o)?

Any idea why? and how should i answer it?

I thought your previous lines set the perms?

 

That's interesting. It seems to execute

wget $URL; explodepkg `basename $URL`

without a problem. I wonder why it hiccups on

makepkg /boot/extra/`basename $URL`

 

Try modifying the script at the top, as such:

 


URL="http://unraid-simplefeatures.googlecode.com/files/simpleFeatures-0.7-unraid-speeding_ant.tgz"
FILE="`basename $URL`"

explodepkg $FILE
rm $FILE

makepkg /boot/extra/$FILE

  • Author

The makepkg command will ask if you want to set the permissions when it builds. Type makepkg into unRAID terminal to get the option for automatically giving yes or no to that question.

 

I can't remember it off the top of my head.

Ahh, ok, that makes sense. But it's still weird that the $URL variable wasn't interpolated, and basename wasn't executed...I figure it would execute what's in backticks (`) first, then pass that as an argument to "makepkg" -- unless makepkg runs first, doesn't see a switch for permissions, and proceeds to shit on the command line. What a rude CLI!

  • Author

I see that it has little backticks on each side of basename $URL.

 

Maybe best to capture the basename in variables first:

 

FILENAME=$(basename $URL)

 

Then you can call: makepkg -c y /boot/extra/$FILENAME /boot/extra/$FILENAME.tgz

Sorry guys, I may have confused you, I should have stated what troubled me.

 

Here goes, first i did not have a directory called 'extra' (still learning the OS and how things work), I assumed it would create the directory, it did not. I created the directory, then reran it worked.

 

Second in what I posted, what troubled me was the line

 

"Searching for symbolic links:No symbolic links were found,"

 

So I though something was missing. But now thinking and looking at it again, may be you are supposed to (if you wanted to) some how provide the symbolic links and it would then create the installation script. But in our case were dont want to? as speeding_ant has the 'doinst.sh' (installation script) layed out already...

 

Did I get this right?

 

P.S. I got the game plan worked out for ssmtp last night, hopefully execute it soon and get it over to you.

  • Author

Nope - you got it right. No symbolic links are included in the package, so none were found  :)

 

Nothing to see here, move along!

Nothing to see here, move along!

 

LOL  :D

 

Sorry about that guys!

  • Author

Haha - all good. Looking forward to your SSMTP solution. Again, really appreciate you taking the time to learn and sort that out.

 

There's potential for SimpleFeatures gui to become the default unRAID gui. My plugin may exist no more! Therefore, it's good to know other people can create plugins and get into the game as well.

 

Tom has confirmed he's working on a package manager too. These are exciting times!

There's potential for SimpleFeatures gui to become the default unRAID gui. My plugin may exist no more! Therefore, it's good to know other people can create plugins and get into the game as well.

 

Tom has confirmed he's working on a package manager too. These are exciting times!

 

This is pretty cool.  Good to see unRAID growing from within the community.  @speeding_ant very cool stuff with SF. I have yet to install it but I just got through reading the entire thread. My task for the weekend is to install it on my server.  Looking forward to exploring. we'll provide feedback.

 

J

speeding_ant: That's what I had modified in the script :P

 

Well, using a variable for the filename. Not too familiar with Bash though, so I just put the backticks in quotes -- I think it'll work just like the scalar $();

  • Author

I think you're right  :P

 

I'm not much of a bash guy either. Learning as I go  ;D

Hi there,

 

don't know if this is causing this, however I'm getting on my console lots of errors from /usr/local/emhttp/plugins/webGUI/template.php on line 150. I have version0.70 already installed with beta 9. Here is my syslog.

syslog-2011-07-16.txt

  • Author

Syslog provides no insight to this issue. However, I'll re-check my code on Template.php.

 

Cheers

  • Author

Hi Warlock. I'll put it on the list "To-Do". May not make it into SimpleFeatures, but could be a good plugin!

 

Cheers

found a minor bug

 

The footer indicating "Array Started" on the iPhone in landscape does not stay at the bottom of the page when you scroll down.  It ends up in the middle of the page.  I'll attach some screenshots a little later.

 

J

 

edit: attached screenshots

image-4.png.98d43ba53f76132c5a62cd063eb2cb77.png

image-5.png.87b41791b8da79dc59ba96c2770cfbae.png

Hi Warlock. I'll put it on the list "To-Do". May not make it into SimpleFeatures, but could be a good plugin!

 

Cheers

 

Nice 1

I have another suggestion,

 

for the email notifications, can we not have an option that we can set to only mail is errors are detected ?

 

 

A display bug, due to latest webGUI I think? You have to check a button to enable the Reboot button (I believe one more too, just can't recall), yet the button is still green while "disabled" -- not sure if there's a CSS class tied to the button while it's disabled, but maybe it could be greyed out, or made some other color than the rest of the "enabled" buttons?

EDIT: Fixed this. It was Adblock Plus for anyone who also experiences this. Thanks for this amazing GUI.

Just installed this. Running beta9. Something definitely isn't right here.

 

Installed to Flash drive:

/packages/simpleFeatures-0.7-unraid-speeding_ant.tgz

 

In 'go' script:

installpkg /boot/packages/simpleFeatures-0.7-unraid-speeding_ant.tgz

 

Browser:

Firefox v5.0 (Latest)

 

12125360.th.jpg

33418434.th.jpg

 

Hello!

 

Just registered to thank you for your amazing work.

unRAID now finally looks nice :-)

 

And to help you out a bit, in 5beta10 the stats page is a bit messed up on my testing system:

 

http://imageshack.us/photo/my-images/97/unraidstats.jpg/

 

Edit: Only happens if there are just the parity and one data disks. After I added more, it looks fine again :-)

  • Author

I have another suggestion,

 

for the email notifications, can we not have an option that we can set to only mail is errors are detected ?

 

 

 

I'll be fixing this at some point soon  :)

  • Author

Hello!

 

Just registered to thank you for your amazing work.

unRAID now finally looks nice :-)

 

And to help you out a bit, in 5beta10 the stats page is a bit messed up on my testing system:

 

http://imageshack.us/photo/my-images/97/unraidstats.jpg/

 

Edit: Only happens if there are just the parity and one data disks. After I added more, it looks fine again :-)

 

Actually in middle of setting up server, saw this bug so I'll try and fix it!

 

Cheers

NOD32 and Menu Bar/Icons

 

If I have NOD32 v5 installed the menu bar is no longer charcoal but becomes transparent and all the disk icons are missing.

If I uninstall NOD32 it's all fine again ?

 

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.