Dave001 Posted May 19, 2022 Share Posted May 19, 2022 (edited) 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, 2022 by Dave001 Quote Link to comment
blaine07 Posted May 19, 2022 Share Posted May 19, 2022 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? Quote Link to comment
JorgeB Posted May 19, 2022 Share Posted May 19, 2022 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. Quote Link to comment
Squid Posted May 19, 2022 Share Posted May 19, 2022 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. Quote Link to comment
Dave001 Posted May 20, 2022 Author Share Posted May 20, 2022 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. Quote Link to comment
blaine07 Posted May 20, 2022 Share Posted May 20, 2022 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? Quote Link to comment
Solution Dave001 Posted May 20, 2022 Author Solution Share Posted May 20, 2022 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" 2 2 Quote Link to comment
blaine07 Posted May 21, 2022 Share Posted May 21, 2022 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. Quote Link to comment
Dave001 Posted May 21, 2022 Author Share Posted May 21, 2022 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' 5 Quote Link to comment
blaine07 Posted May 21, 2022 Share Posted May 21, 2022 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? Quote Link to comment
Dave001 Posted May 21, 2022 Author Share Posted May 21, 2022 Enable the FTP server, then check the log, that's all I did. 2 Quote Link to comment
blaine07 Posted May 21, 2022 Share Posted May 21, 2022 1 hour ago, Dave001 said: Enable the FTP server, then check the log, that's all I did. Thank you! 🙂 Quote Link to comment
kharntiitar Posted November 13, 2022 Share Posted November 13, 2022 (edited) 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, 2022 by kharntiitar 2 Quote Link to comment
BrianG Posted January 15, 2023 Share Posted January 15, 2023 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? Quote Link to comment
Triceps1277 Posted September 6, 2023 Share Posted September 6, 2023 (edited) 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, 2023 by Triceps1277 Quote Link to comment
EldonMcGuinness Posted September 27, 2023 Share Posted September 27, 2023 Any reason nobody is recommending a reciprocal stop script for when the array stops? Quote Link to comment
Brock25 Posted June 5 Share Posted June 5 On 5/21/2022 at 11:11 AM, Dave001 said: #!/bin/bash /usr/local/emhttp/plugins/dynamix/scripts/ftpusers '1' 'root' Thanks! Quote Link to comment
Recommended Posts
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.