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.

(SOLVED) Unraid 6.10.0 enable FTP at boot?

Featured Replies

Just upgraded to Unraid 6.10.0, and have found that FTP is disabled on boot every time, is there anyway to enable it at boot by default?

 

Thanks.

 

Edited by Dave001

Solved by Dave001

  • Community Expert

Settings -> FTP Server

3 hours ago, JorgeB said:

Settings -> FTP Server

Yeah, it's not sticking is what he's saying. Every single reboot it does NOT come back on without making change that you reference in settings. Is there a permanent "I agree to dangers" toggle so that with EVERY subsequent restart it is enabled on it's own?

  • Community Expert
5 minutes ago, blaine07 said:

Every single reboot it does NOT come back on without making change

Ahh, in that case sorry, don't know.

If I recall correctly, vsFTP had some challenges in the past.  Most striking was that it always started up historically even if it was set to be disabled.  Since 99% of users don't use FTP at all, the decision was probably have it disabled by default and force you to enable it.

 

TBH, if you're actively using FTP, you're going to be better off installing ProFTPd instead of using the built-in.

  • Author
7 hours ago, Squid said:

TBH, if you're actively using FTP, you're going to be better off installing ProFTPd instead of using the built-in.

 

Funny how every time a developer makes a change, the way I've been doing it for the last 10 years, with out any problems mind you, is suddenly the wrong way to do it.

18 hours ago, Squid said:

If I recall correctly, vsFTP had some challenges in the past.  Most striking was that it always started up historically even if it was set to be disabled.  Since 99% of users don't use FTP at all, the decision was probably have it disabled by default and force you to enable it.

 

TBH, if you're actively using FTP, you're going to be better off installing ProFTPd instead of using the built-in.

I played with CrushFTP but it was just "way too much" for my VERY simple needs. Have you had better luck with ProFTPd mate?

 

 

  • Author
  • Solution

I added a script to enable FTP on boot, seems to be working so far.

 

Enabled FTP Server under "Settings, FTP Server".

Check the system log and read the line that Enabled the FTP Server, for mine it was "/usr/local/emhttp/plugins/dynamix/scripts/ftpusers '1' 'root'"

Added a new script using the User Scripts plugin, and added that data, and set it to run at "At Startup of Array"

  • Dave001 changed the title to (SOLVED) Unraid 6.10.0 enable FTP at boot?
On 5/20/2022 at 8:07 AM, Dave001 said:

I added a script to enable FTP on boot, seems to be working so far.

 

Enabled FTP Server under "Settings, FTP Server".

Check the system log and read the line that Enabled the FTP Server, for mine it was "/usr/local/emhttp/plugins/dynamix/scripts/ftpusers '1' 'root'"

Added a new script using the User Scripts plugin, and added that data, and set it to run at "At Startup of Array"

What exactly was your script? I mean, I know how to have a script run at start but etc not sure words/verbiage is used to tell it to edit that file every time. 

  • Author

 

5 minutes ago, blaine07 said:

What exactly was your script? I mean, I know how to have a script run at start but etc not sure words/verbiage is used to tell it to edit that file every time. 

 

#!/bin/bash

/usr/local/emhttp/plugins/dynamix/scripts/ftpusers '1' 'root'

Just now, Dave001 said:

 

 

#!/bin/bash

/usr/local/emhttp/plugins/dynamix/scripts/ftpusers '1' 'root'

I just need to confirm when I turn mine on/off that that location is same?

  • Author

Enable the FTP server, then check the log, that's all I did.

 

1 hour ago, Dave001 said:

Enable the FTP server, then check the log, that's all I did.

 

Thank you! 🙂

  • 5 months later...

Thanks @Dave001 for this resolution workaround... I just ran in to this after updating for the first time in a long while...

 

It frustrates me how many people respond with "don't use the internal, install this overcomplicated method instead!" .. I am the only person that has access to my Unraid server, and it doesn't have any outside access. I use the very basic vsftpd implementation to transfer files between my local PC and my local server .. I have no need for SFTP overheads, or running another docker or plugin, what's there is good enough.

 

IMHO, just because some people may use it insecurely doesn't mean that all of us should be forced to have the inconvenience of using workarounds for a setting that, as you mentioned previously, has worked fine for the last 10+ years... Sure, make it disabled by default, but if I change a setting it should stick, even after reboots.

 

Edited by kharntiitar

  • 2 months later...
On 11/13/2022 at 3:43 AM, kharntiitar said:

Thanks @Dave001 for this resolution workaround... I just ran in to this after updating for the first time in a long while...

 

It frustrates me how many people respond with "don't use the internal, install this overcomplicated method instead!" .. I am the only person that has access to my Unraid server, and it doesn't have any outside access. I use the very basic vsftpd implementation to transfer files between my local PC and my local server .. I have no need for SFTP overheads, or running another docker or plugin, what's there is good enough.

 

IMHO, just because some people may use it insecurely doesn't mean that all of us should be forced to have the inconvenience of using workarounds for a setting that, as you mentioned previously, has worked fine for the last 10+ years... Sure, make it disabled by default, but if I change a setting it should stick, even after reboots.

 

Preach.

 

 

 

My surveillance cameras have their own user name that they use to dump files using ftp to a share. I only discovered they disabled this functionality after my neighbor asked if I had footage of their car being stolen. Nope.

 

 

 

Wtf...

 

Catering to the lowest common denominator?

  • 7 months later...

Just put put in user-script plugin as "at startup of array":

 

 

/usr/local/emhttp/plugins/dynamix/scripts/ftpusers '1' 'root'

 

 

thx @Dave001 for solution ! 

 

Edited by Triceps1277

  • 3 weeks later...

Any reason nobody is recommending a reciprocal stop script for when the array stops?

  • 8 months later...
On 5/21/2022 at 11:11 AM, Dave001 said:

 

 

#!/bin/bash

/usr/local/emhttp/plugins/dynamix/scripts/ftpusers '1' 'root'

Thanks!

  • 7 months later...

Thanks for this. Gonna give this a try later. 

 

Any idea on how to set the directory?
The OS version defaults on /mnt which is... risky in my opinion.

Just like @BrianGhere, I use it to store my surveillance videos on. But when you log in it goes right to /mnt directory. So if someone was to hack it... 

image.png.74ca97ec93af0f3a2f9163bba661601f.png

So I'd like to have it set to a very specific directory if it's possible.

Edited by Binary100100

  • 2 months later...

i use your command and works, but changes my ftp user on ftp server from ftpuser back to root - ideas?

forget it /usr/local/emhttp/plugins/dynamix/scripts/ftpusers '1' 'ftpuser' fixes it

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

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.