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.

glFTPd Plugin for unRAID 5.0

Featured Replies

I have attached the config.log the error is referring to.

config.txt

  • Replies 52
  • Views 14.5k
  • Created
  • Last Reply

I figured it out. I had the wrong gcc package installed. flow listed the correct version and I somehow installed the wrong version. Flows instructions work perfect for pzs-ng and eggdrop.

Who's Flow?!  :P

Lol oops. Sorry about that.

 

Sent from my Nexus 5 using Tapatalk

 

 

  • 4 weeks later...

How were you guys able to mount directories? I keep getting an error that says mount.cifs: bad UNC (/mnt/user/unRAID) and im not really sure why. That path is definitely correct. I am trying to mount that to /mnt/cache/glftpd/site.

 

Thanks for your help.

iirc use

 

mount -o bind

 

to mount your shares inside your /glftpd/site

 

mount -o bind /mnt/user/TV /glftpd/site/TV

flake, I love you.

 

That worked like a charm. Now, how can I put that in my fstab so it mounts automatically when the server is booted?

i don't think you'll be able to do that, as you'll have to wait until your shares are mounted before mounting them inside your site

 

you could try adding the commands to your go file, although i'm not sure that would work either

You may very well be right but I am going to give it a shot with this:

 

/mnt/user/unRAID/tv /mnt/cache/glftpd/site/tv none defaults,bind 0 0

 

I havent rebooted yet to see if it works and I probably wont until tomorrow but I will report back and let you know.

  • Author

If you go to the plugins directory in /boot/config/plugins/glftpd you find two scripts (mountscript.sh and unmountscript.sh) there. These are the correct place to put your commands to create mountpoints and mount dirs. Have a look at the comments in the files. :)

 

No need to use the go file. mountscript.sh will be executed when your array goes online and unmountscript.sh will be executed when your array goes offline.

Thank you!!! This worked perfect. :)

It seems that with a sitebot running, you cant stop the array. Would there be a way to add to your unmount script a line to kill the eggdrop connection?

  • Author

If there is a shell command to stop it, you should be able to use it in unmountscripts.sh. :) But I don't use eggdrop, so I can't tell you. :( Maybe flake has an idea?

If there is a shell command to stop it, you should be able to use it in unmountscripts.sh. :) But I don't use eggdrop, so I can't tell you. :( Maybe flake has an idea?

 

I can just put killall -9 eggdrop in that file, that should do it. Maybe one of you can help with my other issue. Eggdrops won't run as the root user, any idea how I can change the process owner and have it run as someone else? Apparently you can't have a persistent telnet user other than root.

 

Sent from my Nexus 5 using Tapatalk

 

  • Author

The command to run something as a specific user is:

sudo -u username command

 

If you want your telnet session to persist, you'll have to use "screen".

Thank you SlrG and flake! My glftpd setup is now running perfect from top to bottom. I definitely could not have done it without your help. In case anyone is interested, here is what I put in the mountscript.sh to start the eggdrop.

cd /mnt/cache/ww/ && sudo -u ww ./eggdrop ww.conf

 

and here is what I put in the unmountscript to kill it:

killall -9 eggdrop

  • Author

Glad you got it working. :) And thanks for sharing your commands. It might be helpful for others.

  • 5 weeks later...

Me again...

 

Because of the OPENSSL vulnerability i want to upgrade glftpd, which I have done. It is mandatory to create a new certificate. My certificates are creating with an expiration year of 1904. Any thoughts on how I can rectify this? Are you guys having a similar issue if you create a certificate?

  • 10 months later...

Any possibility of this being upgraded to an unraid 6 plugin?

 

This is my glFTPd Plugin for unRAID 5.0.  :)

 

Please feel free to test it and report back if there are problems. I will continue testing myself. Until further notice this should be considered a development release.

 

To install it, unzip and put the plugin into /boot/config/plugins and reboot. Go to the Settings tab and enter the plugins settings. Change settings according to your needs and click enable.

 

Be aware, that this plugin DOESN'T use tcpd for glftpd access and does a NOT jailed installation.

 

After the installation glftpd will at first only be available locally through your servers console or a telnet session. Only a single administrative FTP user named glftpd was created and has the password glftpd. You have to create users and make them accessible from other hosts yourself.

 

See the links in the plugin settings or in the README.txt for more information about it.

 

Roadmap:

none yet

 

Known Issues:

none yet

 

SlrG

 

--

2013-11-13 v0.1 Initial Development Release on 5.0

2013-11-13 v0.1a Removed tip to use mount bind, as mount and umount scripts are already included.

  • 1 month later...
  • Author

As the glftpd docker I recommended above seems to be broken, I started looking into creating a new one, or if this fails releasing this plugin for v6. It will take some time however, so stay tuned.

As the glftpd docker I recommended above seems to be broken, I started looking into creating a new one, or if this fails releasing this plugin for v6. It will take some time however, so stay tuned.

I tried it as well and the file paths (his docker looks for sbin) seem to be different than Slackware/unraid so it seems your right, it won't work. I will do my best to wait patiently :) glad to hear youre working in it.

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.