May 19, 20224 yr 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 May 21, 20224 yr by Dave001
May 19, 20224 yr 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?
May 19, 20224 yr 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.
May 19, 20224 yr 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.
May 20, 20224 yr 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.
May 20, 20224 yr 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?
May 20, 20224 yr 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"
May 21, 20224 yr 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.
May 21, 20224 yr 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'
May 21, 20224 yr 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?
May 21, 20224 yr 1 hour ago, Dave001 said: Enable the FTP server, then check the log, that's all I did. Thank you! 🙂
November 13, 20223 yr 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 November 13, 20223 yr by kharntiitar
January 15, 20233 yr 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?
September 6, 20232 yr 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 September 6, 20232 yr by Triceps1277
September 27, 20232 yr Any reason nobody is recommending a reciprocal stop script for when the array stops?
June 5, 20242 yr On 5/21/2022 at 11:11 AM, Dave001 said: #!/bin/bash /usr/local/emhttp/plugins/dynamix/scripts/ftpusers '1' 'root' Thanks!
January 24, 20251 yr 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... So I'd like to have it set to a very specific directory if it's possible. Edited January 24, 20251 yr by Binary100100
April 20, 20251 yr i use your command and works, but changes my ftp user on ftp server from ftpuser back to root - ideas?
April 20, 20251 yr 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.