Jump to content

SlrG

Community Developer
  • Content Count

    513
  • Joined

  • Last visited

Community Reputation

21 Good

About SlrG

  • Rank
    Advanced Member

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @jenga201 In theory this is of course possible. But It might be necessary to add a new dependency on the openldap package which is not default on unRAID. Sadly I don't have the time at the moment to check out possible negative side affects. The plugin is heavily integrated info the unRAID user management and intended to use only that. For a more ambitious setup it is better and far easier to setup a VM with a more flexible linux distro than unRAIDs Slackware. Within debian and ubuntu for example there are addon packages for proftpd with ldap that can be installed without compiling. Pointing to the shares on your unRAID for data storage should give you what you want without possible adverse effects.
  2. Its a bit hard for me to understand, as I am not a native English speaker. How are the upload folders created? Through the shell console or through the ftp client? As they are both user, group and world writeable, there should be no problems uploading to both of them in theory. Can you give me the full paths of both users DCIM folders on your array? What is the error message, when trying to upload to the nobody users DCIM? Which ftp client do you use? Please try with FileZilla if it works and only then try another client. I'm guessing fr Which ftp client do you use? Please try with FileZilla if it works and only then try another client. om your description you are trying to upload not a file, but a folder with 10000+ files within it. I have never tried to upload such a large number of files. I can only recommend trying with a single or a few files first and expanding from that. Also please enable debug logging as described in the link above, to maybe get more information on what is going wrong.
  3. The functionality to edit the proftpd.conf file from the plugins settings page is sadly currently broken. You have to open a shell window and use nano (or any other editor of your choice) to edit /etc/proftpd.conf. If you have your log files on the flash, like your config file suggests, the server will propably run into problems and not start, as the file system of the flash doesn't support access rights and is therefore deemed insecure by proftpd. If you don't want to log into the syslog, I recommend to create a folder on the array to host the log files and set the correct access rights for that. (not world writeable) Make sure you can access the ftp by a normal client (e.g. FileZilla) first before trying more advanced stuff like trying to run some backup software. It might be necessary to enable Debug Logging, to maybe get more information on the problem. See here.
  4. Something like this would have been my guess. It's great you found the cause of the problem yourself. And no, I don't think you should worry. 😉
  5. @Nacrana Its in /etc/proftpd.conf. Just use nano in the shell prompt to edit it. The location given above is where the file will be stored to keep it on reboots. Editing it there is also possible.
  6. That's a bit crazy. But if it works. 🙈
  7. @kricker Can you connect using https://ftptest.net/? Set it to fallback to plain FTP before you run the test. What does it say?
  8. You can download older versions and their dependencies manually from my github account. Download the following into /boot/config/plugins: https://github.com/SlrG/unRAID/raw/87f31b9a223fd2f2b6b414207a2ab5204c1003f8/Plugins/ProFTPd.plg Create a new directory /boot/config/plugins/ProFTPd and download these into the new dir: https://github.com/SlrG/unRAID/raw/87f31b9a223fd2f2b6b414207a2ab5204c1003f8/AppSupport/ProFTPd/ProFTPd-SlrG-Control-1.5.tar.gz https://github.com/SlrG/unRAID/raw/87f31b9a223fd2f2b6b414207a2ab5204c1003f8/AppSupport/ProFTPd/ProFTPd-SlrG-Dependency-1.5_x64.tar.gz Afterwards a reboot of your server should install the older version of the plugin. The new version will show as update under Plugins and in the plugins settings afterwards however. Make sure you have no auto updates enabled and exclude the old version check of it from the "Fix Common Problems" plugin if you have that running. I didn't test it today, but I think that are the required steps. If it does not work, please report back.
  9. @LSL1337 While I certainly understand your frustration that this problem is not yet solved, things are not always as easy to fix, as a normal user might think. It probably won't help to discourage the author even further by being rude. If you know how to solve the problem, please provide a patch or pull request and the author will probably check and accept it. If you don't, please try to be kind, encouraging and understanding, that this plugin is developed in the free time of the author without monetary compensation (at least I think it is). @bonienl I don't have this problem myself, as I don't own NVME drives, so I don't really know, what I am talking about. But if the problem is recognizing if NVME drives are present and which ones they are, it might be a solution to let the user choose drives to be excluded from a list. What do you think?
  10. @wgstarks When trying just now, it works fine in the built in terminal when using .bash_profile.
  11. Copy the .bash_profile to your flash (/boot/config/) and add the following line to your go file: ln -sf /boot/config/.bash_profile /root/.bash_profile This will create a link overwriting the original file and pointing to the new one on the flash. Changing something in the original location will be put on the flash automatically and thus survive a reboot.
  12. I see nothing, that would help to solve the problem. Sorry. I would start with the base configuration and check if it works with plain ftp and basic settings locally. Then I would try to enable tls and check locally. Only then I would try to make it work externally. If it is the exact same configuration and router as on your system it should obviously work in theory. But there must be some difference in the setup of the unRAID box or router or other interference, as it clearly does not work. Sadly the log doesn't tell me why it fails.
  13. I know I will sound disrespectful, so please forgive me, but I'm a bit burned out by answering the same questions over and over. The info you are requesting is one page back or at least a link to it. Also the topic is searchable and using the keyword SFTP would have given you the needed results. Here is a direct link to the post. On how to change the port: You could do this in the proftpd.conf file, but I recommend staying on the default port for the server and setting up a port forwarding rule in your router which will forward an external port of your choice to the internal default port.
  14. @zonik Well, there are IMHO some errors in your file. Only #!/bin/bash is correct, the second and third one without the hashtag should to be removed. Also you are trying to mount --bind from /media which should be /mnt instead. Probably the folder anime gets created and then the execution of the mountfile stops because of the errors. Therefore nothing is mounted into the anime directory and it stays empty. It should look like this: #!/bin/bash # put your commands for creating mount points and mounting here # they will be executed when the array starts # e.g.: # mkdir /mnt/cache/FTP/movies;mount --bind /mnt/user0/movies /mnt/cache/FTP/movies # Mounts just media for read only # Directory Structure mkdir /tmp/FTP/ mkdir /tmp/FTP/Media mkdir /tmp/FTP/Media/anime;mount --bind /mnt/user/Media/Anime /tmp/FTP/Media/anime mkdir /tmp/FTP/Media/movies;mount --bind /mnt/user/Media/Kvikmyndir /tmp/FTP/Media/movies # Mounts for Apps/Tools/ISO ect # Apps and Tools are Read only # Uploads are Read/Write mkdir /tmp/FTP/Uploads;mount --bind /mnt/user/Media/ftp/ /tmp/FTP/Uploads/