JaY_III Posted September 18, 2016 Share Posted September 18, 2016 Spent an hour on it and couldn't figure out how to get the SSH cert to.work properly. So sorry, between my screening kid right now, SFTP being slower and I have OpenVPN already, not sure if I'll look at this in a timely manner Quote Link to comment
s.Oliver Posted September 19, 2016 Share Posted September 19, 2016 Spent an hour on it and couldn't figure out how to get the SSH cert to.work properly. So sorry, between my screening kid right now, SFTP being slower and I have OpenVPN already, not sure if I'll look at this in a timely manner perfectly understandable – thx. alot for trying! well, i would also use VPN, but this backup-software doesn't support FTP – just SFTP. may i ask, what errors you were seeing? and is there's anything special related to unRAID v6.2 (is it compatible)? thx. again, oliver Quote Link to comment
Cessquill Posted September 19, 2016 Share Posted September 19, 2016 Here is an example of how I like to setup the FTP. Thanks for this - similar to mine, but the tmp directory technique is a good trick. Do you know how to setup permissions for different users? Say for myself I wanted write access to certain directories, but for other users I want it all locked down? Quote Link to comment
JaY_III Posted September 23, 2016 Share Posted September 23, 2016 Thanks for this - similar to mine, but the tmp directory technique is a good trick. Do you know how to setup permissions for different users? Say for myself I wanted write access to certain directories, but for other users I want it all locked down? What I do is make FTP groups via file structure. So my file structure isn't exactly how my guide has it. and example would be mkdir /tmp/FTP/ mkdir /tmp/FTP/Cessquill mount --bind /mnt/user/Media/Videos /tmp/FTP/Cessquill/Media/ mount --bind /mnt/user/Uploads /tmp/FTP/Cessquill/Uploads mkdir /tmp/FTP/JaY_III mount --bind /mnt/user/ #File Permissions <Directory /tmp/FTP/Cessquill/Media> <Limit WRITE> DenyAll </Limit> </Directory> Then i would jail you too ftpuser /tmp/FTP/Cessquill And jail myself to ftpuser /tmp/FTP/JaY_III I have full access to /mnt/user aka then entire array pretty much and you have read only to the media and upload permissions. Is this the best way to do it, probably not, but it works Quote Link to comment
Cessquill Posted September 23, 2016 Share Posted September 23, 2016 Is this the best way to do it, probably not, but it works D'oh! Of course, thank you. That's actually how I've got it set up at the moment, just without the permissions. Cheers Quote Link to comment
oxzhor Posted September 28, 2016 Share Posted September 28, 2016 Hi, First great plugin! I have a question how i can chroot a user? because now a user can browse over the whole file-structure when it press the arrow key to go out his starting folder. Thanks. Quote Link to comment
JaY_III Posted September 29, 2016 Share Posted September 29, 2016 Hi, First great plugin! I have a question how i can chroot a user? because now a user can browse over the whole file-structure when it press the arrow key to go out his starting folder. Thanks. if a user account has access to "/" restart the service. If restarting the service doesnt work, restarting the array will. I had the problem when i made an account for my sister, unRAID reboot was required. Quote Link to comment
oxzhor Posted September 29, 2016 Share Posted September 29, 2016 Hi, First great plugin! I have a question how i can chroot a user? because now a user can browse over the whole file-structure when it press the arrow key to go out his starting folder. Thanks. if a user account has access to "/" restart the service. If restarting the service doesnt work, restarting the array will. I had the problem when i made an account for my sister, unRAID reboot was required. Thanks for your reply that working for me to Quote Link to comment
Necrotic Posted October 1, 2016 Share Posted October 1, 2016 Spent an hour on it and couldn't figure out how to get the SSH cert to.work properly. So sorry, between my screening kid right now, SFTP being slower and I have OpenVPN already, not sure if I'll look at this in a timely manner perfectly understandable – thx. alot for trying! well, i would also use VPN, but this backup-software doesn't support FTP – just SFTP. may i ask, what errors you were seeing? and is there's anything special related to unRAID v6.2 (is it compatible)? thx. again, oliver I may be off on SFTP but isn't that simply enabling SSL? If so I placed a guide towards the start of this thread. See below: EDIT: Nvm, shouldve googled first. Seems like the SFTP requires a lot more work including a recompile.....meh Setting up SSL (YMMV, these are the settings I set for myself that I was able to get to work. Any change suggestions welcome) 1) Stop Proftpd (just in case) 2) Login through telnet and paste the following two lines in order. Please note I had to specify the config file (for some reason the default is .cnf but the one I had in my ssl folder is .cfg) mkdir /boot/config/plugins/proftpd/ssl/ openssl req -new -x509 -config /etc/ssl/openssl.cfg -days 3650 -nodes -out /boot/config/plugins/proftpd/ssl/ftp.cert.pem -keyout /boot/config/plugins/proftpd/ssl/ftp.key.pem 3) Add following to the end of your proftpd.conf <IfModule mod_tls.c> TLSEngine on TLSLog /var/log/proftpd.tls.log TLSProtocol SSLv23 TLSv1 TLSOptions NoCertRequest NoSessionReuseRequired TLSRSACertificateFile /boot/config/plugins/proftpd/ssl/ftp.cert.pem TLSRSACertificateKeyFile /boot/config/plugins/proftpd/ssl/ftp.key.pem TLSVerifyClient off TLSRequired on </IfModule> 4) Start Proftpd again and log in. Remember to enable TLS/SSL authentication for your client. Quote Link to comment
DDock Posted October 8, 2016 Share Posted October 8, 2016 Doing a quick search I have not found anything about this issue. I have tried this on a server without ProFTPD, but logging in as root and it works. Maybe on my home server I am not doing things correctly. I have sshfs setup on a VM for my brother to use and I am trying to mount his FTP share within the VM. We do this for CrashPlan on my work server and it works fine when logging in as root. Here is the command I'm using for my brother's VM. sshfs [email protected]: /home/brother/FTP All I am getting is "remote host has disconnected". Quote Link to comment
asktoomuch Posted October 21, 2016 Share Posted October 21, 2016 I tried to install the plugin on unRAID 6.2.1 but when I try to start it, I get a "Cannot start ProFTPd -- /etc/proftpd.conf missing" error. Is that normal? I expect the plugin to come with a barebone config file. Quote Link to comment
vizi0n Posted November 20, 2016 Share Posted November 20, 2016 I tried to install the plugin on unRAID 6.2.1 but when I try to start it, I get a "Cannot start ProFTPd -- /etc/proftpd.conf missing" error. Is that normal? I expect the plugin to come with a barebone config file. I have the same problem. I have just installed the plugin, added the ftpuser tag to a user's description. Now if I enable proftpd it doesn't start. The only thing I see in my syslog is : Nov 19 20:35:00 Tower emhttp: cmd: /usr/local/emhttp/plugins/ProFTPd/scripts/rc.ProFTPd buttonstart but the server is not running. If I try to start it manually using shell: root@Tower:/etc# /usr/local/emhttp/plugins/ProFTPd/scripts/rc.ProFTPd start Cannot start ProFTPd -- /etc/proftpd.conf missing Quote Link to comment
vizi0n Posted November 20, 2016 Share Posted November 20, 2016 Finally managed to start it. I have symlinked /etc/proftpd.conf to the real one like so: ln -s /boot/config/plugins/ProFTPd/proftpd.conf /etc/proftpd.conf Quote Link to comment
althoralthor Posted January 8, 2017 Share Posted January 8, 2017 Hello all- Been using ProFTPD and was working fine. I think my roommate installed a flavor of vsftpd and now that appears to be taking over ftp requests (and I have no users configured so it does not work). Does anyone know how to completely remove vsftpd so ProFTPD can continue to work correctly? Sorry if someone else has already answered this question. I could not find any info on this. EDIT And I have removed the vsftpd docker he installed but it still seems to be trying to answer ftp requests. EDIT To the EDIT- Running unraid 6.1.4 Final EDIT- Fixed. Re-added and removed the docker one more time and it seems like that took care of it. Thanks for reading Quote Link to comment
kr33 Posted January 21, 2017 Share Posted January 21, 2017 Hi There, Can anyone shed some light on this issue i'm having. When I try to install proFTPd i get the following error even though I have a working internet connection: plugin: installing: https://raw.githubusercontent.com/SlrG/unRAID/master/Plugins/ProFTPd.plg plugin: downloading https://raw.githubusercontent.com/SlrG/unRAID/master/Plugins/ProFTPd.plg plugin: downloading: https://raw.githubusercontent.com/SlrG/unRAID/master/Plugins/ProFTPd.plg ... done Cleaning up previous install files... Executing selfremoval commands if present... ...Cleanup complete! Downloading any missing plugin files... Latest plugin control files downloading ...Unable to download missing plugin control files. Aborting install plugin: run failed: /bin/bash retval: 1 Thank you in advance Quote Link to comment
SlrG Posted February 9, 2017 Author Share Posted February 9, 2017 Sorry for the late reply. Somehow I got no notifaction of your message. Sadly the log is not very telling. Did you try to remove the plugin completely and reinstall it again? Quote Link to comment
soschronotek Posted February 9, 2017 Share Posted February 9, 2017 kr33 , check your DNS settings Quote Link to comment
soschronotek Posted February 9, 2017 Share Posted February 9, 2017 Finally managed to start it. I have symlinked /etc/proftpd.conf to the real one like so: ln -s /boot/config/plugins/ProFTPd/proftpd.conf /etc/proftpd.conf genius, this worked perfectly on my new install. this is definitely a bug or something 1 Quote Link to comment
Pro-289 Posted February 12, 2017 Share Posted February 12, 2017 I just installed this plugin into v6.2.4. I've noticed when I select Settings->ProFTPd the Lime Tech logo in the upper left of the screen in the banner has a solid white background. Compared to all other pages in unRAID which have the logo with a transparent background. Not sure if this is a problem in unRAID or just the ProFTPd plugin. It seems like just the plugin since it only happens on that page. Quote Link to comment
SlrG Posted February 12, 2017 Author Share Posted February 12, 2017 I just gave it a try on my 6.3.1 system. In both Chrome and Firefox it does work for me. What browser are you using? Quote Link to comment
jeffreywhunter Posted February 21, 2017 Share Posted February 21, 2017 Installed ProFTPd on UR 6.3.2, running and been able to access server localnet via FTP. Great program thanks! One problem, I don't see the config display in the app config area. What can I check to see why this isn't displaying? Thanks in advance! Quote Link to comment
SlrG Posted February 21, 2017 Author Share Posted February 21, 2017 @jeffreywhunter The path to the webserver needs to be a full path. I have /mnt/cache/Web. The plugin will copy the files of the config editor to a ProFTPd directory there. You need a webserver running on your unraid which serves files from that directory, or it won't work. You should be able to connect to the config editor by typing http://x.x.x.x:8088/ProFTPd/ConfEdit.php into your browsers url field. x.x.x.x should be the ip of your unraid server. Also the port 8088 needs to be the port the webserver is listening on. @StevenHB Please contact me again via PM. The forum upgrade seems to have killed you message in my inbox? I don't think the error messages you listed are related to this plugin. Please enable the TransferLog and check the output you get in this when trying to connect. Quote Link to comment
jeffreywhunter Posted February 21, 2017 Share Posted February 21, 2017 (edited) 41 minutes ago, SlrG said: @jeffreywhunter The path to the webserver needs to be a full path. I have /mnt/cache/Web. The plugin will copy the files of the config editor to a ProFTPd directory there. You need a webserver running on your unraid which serves files from that directory, or it won't work. You should be able to connect to the config editor by typing http://x.x.x.x:8088/ProFTPd/ConfEdit.php into your browsers url field. x.x.x.x should be the ip of your unraid server. Also the port 8088 needs to be the port the webserver is listening on. @StevenHB Please contact me again via PM. The forum upgrade seems to have killed you message in my inbox? I don't think the error messages you listed are related to this plugin. Please enable the TransferLog and check the output you get in this when trying to connect. Which web server should I install to support ProFTPd? Will it work with the internal unRaid web server? As to the error messages, I was able to get ProFTPd working with only this remaining problem. Edited February 21, 2017 by jeffreywhunter Quote Link to comment
jeffreywhunter Posted February 21, 2017 Share Posted February 21, 2017 59 minutes ago, SlrG said: @jeffreywhunter The path to the webserver needs to be a full path. I have /mnt/cache/Web. The plugin will copy the files of the config editor to a ProFTPd directory there. You need a webserver running on your unraid which serves files from that directory, or it won't work. You should be able to connect to the config editor by typing http://x.x.x.x:8088/ProFTPd/ConfEdit.php into your browsers url field. x.x.x.x should be the ip of your unraid server. Also the port 8088 needs to be the port the webserver is listening on. When I try to access the config editor, I get Not Found The requested URL /ProFTPd/ConfEdit.php was not found on this server. BOTH from a web browser or from within ProFTPd. Quote Link to comment
SlrG Posted February 22, 2017 Author Share Posted February 22, 2017 @jeffreywhunter No it won't work with unRAIDs internal webserver. As webserver I recommend the Apache Web Server Plugin as I am using this myself. I tried the available dockers first, but somehow I was not able to get it to work there. I see you posted in the plugins thread already. I recommend running as user nobody and setting the permissions and group of the web folder accordingly. Most of the files on your unRAID will have this user and group. You can use the newperms script to achieve proper settings: newperms /mnt/cache/web And a side note: You don't need the config editor to change your proftpd.conf. You can always use nano or something and edit it in an unRAID console. 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.