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.

macOS users - AutoMount your Shares

Featured Replies

  • Author

Hi all,

 

My unRAID monitor app 'Margarita' now has the ability to automount / mount shares via AFP or SMB. This removes the requirement for scripts or automounts, it works out of the box via the app.

 

It's currently under review, and should be released within the next day.

 

Cheers!

  • Replies 232
  • Views 123.7k
  • Created
  • Last Reply

Been using this script for a while. Now I wondering how to disable it once the Margarita update is released now that the Margarita update is out. I'm guessing I need to at least delete mount.sh and com.media.mount.plist. And probably reboot. Is this all or did I miss something?

  • Author

Been using this script for a while. Now I wondering how to disable it once the Margarita update is released now that the Margarita update is out. I'm guessing I need to at least delete mount.sh and com.media.mount.plist. And probably reboot. Is this all or did I miss something?

 

That is correct - just delete those two files. Cheers.

Been using this script for a while. Now I wondering how to disable it once the Margarita update is released now that the Margarita update is out. I'm guessing I need to at least delete mount.sh and com.media.mount.plist. And probably reboot. Is this all or did I miss something?

 

That is correct - just delete those two files. Cheers.

 

Any chance the iTunes functions from the script will show up here? That's 99% of the reason I run it.

 

Also, I think something in OS X Sierra GM broke something. It only mounts my first share listed. I will see how it performs with official release.

 

Been using this script flawlessly since you uploaded it, great work. And, as I've told you before Great work on all the Margarita forks. 

Been using this script for a while. Now I wondering how to disable it once the Margarita update is released now that the Margarita update is out. I'm guessing I need to at least delete mount.sh and com.media.mount.plist. And probably reboot. Is this all or did I miss something?

 

That is correct - just delete those two files. Cheers.

 

Any chance the iTunes functions from the script will show up here? That's 99% of the reason I run it.

 

Also, I think something in OS X Sierra GM broke something. It only mounts my first share listed. I will see how it performs with official release.

 

Been using this script flawlessly since you uploaded it, great work. And, as I've told you before Great work on all the Margarita forks.

 

Correct me if I am wrong but I guess I could leave the mounting up to Margarita and still use the iTunes portion of the script?

  • Author

Any chance the iTunes functions from the script will show up here? That's 99% of the reason I run it.

 

Unlikely - but at the same time this could be resolved using a script that detects if a mount is there.

 

Also, I think something in OS X Sierra GM broke something. It only mounts my first share listed. I will see how it performs with official release.

 

OS X Sierra stops you from being able to mount anything in /Volumes unless you elevate privileges as root. If you are root and you mount a volume, it does not show up on your user Desktop.

  • 5 weeks later...

Any plans to update this script for MacOS Sierra? I've used this script for a while and has worked great until I installed Sierra. I see that you added the functionality to your Margarita app... I don't have an unraid server so it's not much use to me other than the script mounting part. Does the Margarita app keep the share mounted/automatically remount if disconnected like the script does? Can you use Margarita even if you don't have an unraid server? Have you thought about breaking it out into a separate app?

  • Author

Sure - it works with any available share.

  • Author

It's not an easy thing to do, and it does it well. New version coming, will be more polished and add additional features.

 

Cheers!

@speeding_ant

 

Just bought Margarita.  Been using your automounting scripts for years.  Glad to send some money your way.  Nice job on Margarita.

  • Author

@speeding_ant

 

Just bought Margarita.  Been using your automounting scripts for years.  Glad to send some money your way.  Nice job on Margarita.

 

Thanks!

  • Author

Version 1.2 out shortly, which has the following enhancements and bug fixes:

 

- Added ability to only mount shares from a server if your connected WiFi Name (SSID) matches what you configure

- Optionally send Wake On LAN magic packet to a server when your network changes

- Enhanced device finder

- UI enhancements

- Bug fixes

This is purely cosmetic, but I notice the right edge of the server selection window is lost. Covered by the scroll bar.

 

sccc2o.jpg

 

I tried to drag a corner to resize the window but I'm guessing that's not supported.

 

 

@speeding_ant, RE: Margarita

 

When editing preferences, the "Done" button is invisible until you hover over it.  If the button starts out invisible, how does the user know where to hover in order to see it?  First image shows the Preferences dialog.  Second image shows Preferences dialog when cursor is over the location of the "Done" button.

 

Screen_Shot_2016-10-14_at_3_33.14_PM.png.9fe4f3050dd1a1640269b0852464dcc9.png

Screen_Shot_2016-10-14_at_3_33.32_PM.png.97fc3411c3a89f8ee7e2c6e0cbc37475.png

Just bought Margarita and it can not connect to an unraid 6 server on the other side of a site 2 site VPN. Server is available via command line and everything else is working, no blocked ports internally or whatsover. It says "Error with connection". Any hints what to check? Thanks.

 

 

  • 1 month later...

Just bought Margarita. Not possible to connect to server. I can connect manually through Finder. "Error with connection". No matter what I try or what address I enter. It will not connect.

  • Author

Hi there - try changing the share type between AFP or SMB. Cheers.

  • 1 month later...

Looking at my logs I see this entry repeated over and over-

Jan 12 04:40:55 Brunnhilde vsftpd[6209]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:42:01 Brunnhilde vsftpd[8269]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:43:07 Brunnhilde vsftpd[10427]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:44:13 Brunnhilde vsftpd[12436]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:45:13 Brunnhilde vsftpd[14307]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:46:19 Brunnhilde vsftpd[16320]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:47:25 Brunnhilde vsftpd[18439]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:48:31 Brunnhilde vsftpd[20663]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:49:37 Brunnhilde vsftpd[22611]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:50:38 Brunnhilde vsftpd[24489]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:51:43 Brunnhilde vsftpd[26502]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:52:50 Brunnhilde vsftpd[28655]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:53:55 Brunnhilde vsftpd[30656]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:55:02 Brunnhilde vsftpd[32730]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:56:02 Brunnhilde vsftpd[2198]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:57:08 Brunnhilde vsftpd[4348]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:58:14 Brunnhilde vsftpd[6356]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 04:59:20 Brunnhilde vsftpd[8424]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:00:20 Brunnhilde vsftpd[10307]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:01:26 Brunnhilde vsftpd[12589]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:02:32 Brunnhilde vsftpd[14657]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:03:38 Brunnhilde vsftpd[16831]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:04:44 Brunnhilde vsftpd[18939]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:05:44 Brunnhilde vsftpd[21051]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:06:50 Brunnhilde vsftpd[23280]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:07:56 Brunnhilde vsftpd[25455]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:09:02 Brunnhilde vsftpd[27544]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:10:04 Brunnhilde vsftpd[29589]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:11:04 Brunnhilde vsftpd[31635]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:12:10 Brunnhilde vsftpd[1393]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:13:16 Brunnhilde vsftpd[3582]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:14:22 Brunnhilde vsftpd[5758]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:15:22 Brunnhilde vsftpd[7529]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:16:28 Brunnhilde vsftpd[9731]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:17:34 Brunnhilde vsftpd[11915]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:18:40 Brunnhilde vsftpd[14111]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:19:46 Brunnhilde vsftpd[17399]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:20:47 Brunnhilde vsftpd[21758]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:21:47 Brunnhilde vsftpd[23939]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:22:53 Brunnhilde vsftpd[28157]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:23:59 Brunnhilde vsftpd[30712]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:25:04 Brunnhilde vsftpd[530]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:26:04 Brunnhilde vsftpd[4921]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:27:11 Brunnhilde vsftpd[6817]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:28:16 Brunnhilde vsftpd[8971]: connect from 10.0.1.190 (10.0.1.190)
Jan 12 05:29:17 Brunnhilde vsftpd[10910]: connect from 10.0.1.190 (10.0.1.190)

 

I'm not positive, but my guess is that it's because I'm using AutoMounter to keep the shares mounted. Just looking for a way to reduce the log size?

  • Author

Yes, this is AutoMounter initiating a connection on that port and then disconnecting straight away. This is to determine if the service is available. Connection initiation logging shouldn't really be enabled by default, I'd make a recommendation to Limetech to disable it.

Thanks for the confirmation. My log is at 51% after 3 days, so I need to figure out something. Had to quit AutoMounter temporarily so I don't run out of memory.

  • Author

Thanks for the confirmation. My log is at 51% after 3 days, so I need to figure out something. Had to quit AutoMounter temporarily so I don't run out of memory.

 

Yikes, are logs stored in RAM only? Perhaps unRAID should implement log rolling with compression too perhaps...  what would happen if a drive spat a ton of IO errors? unRAID would run out of memory?

  • Author

Thanks for the confirmation. My log is at 51% after 3 days, so I need to figure out something. Had to quit AutoMounter temporarily so I don't run out of memory.

 

Just FYI, if this is a problem that is preventing the use of AutoMounter, you can remove the ftp logging entries by using SED:

 

sed -i "/\b\(vsftpd\)\b/d" /var/log/syslog 

 

Worst case you can cron that command every few hours until another solution presents itself. I can't see a configuration option in vsftp to limit that logging..

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.