fanningert Posted September 13, 2017 Share Posted September 13, 2017 (edited) This are now three docker container. aria2-daemon = Only the Aria2 daemon aria2webui = Aria2 daemon and webui-aria2 aria2-with-ariang = Aria2 daemon and AriaNG Application Name: Aria2 Daemon Only Docker Container: aria2-daemon Application Site: https://aria2.github.io/ Docker Hub: https://hub.docker.com/r/fanningert/aria2-daemon/ Github: https://github.com/fanningert/aria2-daemon Template-Repository: https://github.com/fanningert/unraid-docker-templates Application Name: Aria2 + WebUI Docker Container: aria2webui Application Site: https://aria2.github.io/ + https://github.com/ziahamza/webui-aria2 Docker Hub: https://hub.docker.com/r/fanningert/aria2-with-webui/ Github: https://github.com/fanningert/aria2-with-webui Template-Repository: https://github.com/fanningert/unraid-docker-templates Configuration after installation: After the first start you need to add your HOST, RPC-Port and SECRET code in the connection settings of the webUI (Settings -> Connection Settings). Application Name: Aria2 + AriaNg Docker Container: aria2-with-ariang Application Site: https://aria2.github.io/ + https://github.com/mayswind/AriaNg Docker Hub: https://hub.docker.com/r/fanningert/aria2-with-ariang/ Github: https://github.com/fanningert/aria2-with-ariang Template-Repository: https://github.com/fanningert/unraid-docker-templates Configuration after installation: After the first start you need to add your HOST, RPC-Port and SECRET code in the connection settings of the AriaNg (AriaNg Settings -> RPC). Features of all three docker containers single files for every hook of aria2, add there you can add your custom code. (on-bt-download-complete.sh, on-download-complete.sh, on-download-error.sh, ...) Many aria2 options are added to the unRaid docker settings page. You can add aria2 options into the file aria2_ext.conf, it will be append to the aria2.conf on the next start. But check first if the option is not already accessible over unRaid docker ui. Add a simple script to download all torrents of a rss feed. Simple add your rss feed urls (one url per line) into the file "rss_feed.txt" (Location config directory). And execute the script /config/rss_downloader.sh in the docker container. Beware currently the script download every torrent of the file and add it to the aria2 queue. There is no check if the torrent already loaded. Hints When you change the secret code, you need to change the secret also in the webui. TODO Execute rss_downloader.sh on startup of the docker, plus option to deactivate this feature. Edited March 13, 2018 by fanningert 1 1 Quote Link to comment
robw83 Posted September 17, 2017 Share Posted September 17, 2017 Hey Fanningert. I installed this app but it seems im probably missing a step. WebUI keeps throwing an error Quote Oh Snap! Authentication failed while connecting to Aria2 RPC server. Will retry in 10 secs. You might want to confirm your authentication details by going to Settings > Connection Settings Is this just the aria2 webui and i still need to install and configure Aria2 separately? Quote Link to comment
fanningert Posted September 17, 2017 Author Share Posted September 17, 2017 (edited) @robw83 The solution is in my first post of this thread. But you are right, in the package documentation, this step is missing. I will add it. Thanks for the information. The only step you need to do is configure the RPC setting in the connection section (Settings -> Connection Settings) of the webui and enter the host, port and your SECRET. When I find a solution, I will let change this settings over the docker settings. Edited September 17, 2017 by fanningert 1 Quote Link to comment
dockdock Posted November 5, 2017 Share Posted November 5, 2017 (edited) Thanks for this! A little confused though, the conf folder in appdata is empty. I'm trying to change the post-download behavior, as the mv process is really slow for some reason. Is it required? There's no option in the web-ui to disable the post-download move that you have in the setup. root@Tower:~# ls -lah /mnt/user/appdata/aria2webui/ total 0 drwxrwxrwx 1 nobody users 6 Nov 5 06:50 ./ drwxrwxrwx 1 nobody users 89 Nov 5 06:50 ../ EDIT: I figured it out. The container settings in unRaid has a map to /config on the container, but the app is actually looking in /conf. Edited November 5, 2017 by dockdock Quote Link to comment
fanningert Posted November 5, 2017 Author Share Posted November 5, 2017 (edited) @dockdock I will add an option in the next hours. Thank you for finding the bug. I will correct it in the next release. After correction of the conf path issue. There will be a "on-complete.sh" file. Simple clear the content of the file. When you delete the file, on the next start the original file will be copied from /conf-copy of the docker image. New docker image should be visible after next index run of community plugin. Edited November 5, 2017 by fanningert 1 Quote Link to comment
pinion Posted December 31, 2017 Share Posted December 31, 2017 I've been wanting something like this for a long time. Thank you! Quote Link to comment
wayner Posted January 8, 2018 Share Posted January 8, 2018 I am not familiar with aria2 but when I look into it a bit it seems that this may allow you to do multi-segment FTP downloads - is that the case? It is hard to find user friendly FTP clients that can do multi-segment downloads. I have been using BitKenix on Windows for years as it is one of the few FTP clients that I can find that can do multi-segment downloads. Using this with a 50 segment download I get speeds of up to 10 MBps on FTPs from Europe to Canada. Using something like Filezilla I can only get about 2.2MBps. But BitKenix is seriously obsolete - it would be great to be able to replace it. Can aria2 do the trick? Quote Link to comment
pinion Posted January 9, 2018 Share Posted January 9, 2018 I just tested it out and it did segment my download into 5 parts as expected. It was a bit tricky trying to figure out how to get the link because I wanted to grab "file I want.ext" that was in the root of the ftp server directory but the spaces were messing me up. What worked for me was enclosing the whole thing in quotes when I added the URI as such "ftp://user:[email protected]/file I want.ext" Quote Link to comment
Chad Kunsman Posted February 15, 2018 Share Posted February 15, 2018 Is there any way to set PUID and PGID and UMASK such as with other containers? Every file I download is set to root:root with default umask. I'd rather it be set as nobody:users with 000 umask. Quote Link to comment
pinion Posted February 15, 2018 Share Posted February 15, 2018 7 hours ago, Chad Kunsman said: Is there any way to set PUID and PGID and UMASK such as with other containers? Every file I download is set to root:root with default umask. I'd rather it be set as nobody:users with 000 umask. Looking at the source I don't think it is setup that way, no. https://github.com/fanningert/aria2-with-webui Quote Link to comment
fanningert Posted February 15, 2018 Author Share Posted February 15, 2018 @pinion and @Chad Kunsman: Your are right, currently it is not possible. But I will rework the docker on this weekend, with this new feature. Quote Link to comment
Chad Kunsman Posted February 16, 2018 Share Posted February 16, 2018 That's fantastic news! Thank you. Quote Link to comment
thomas Posted February 16, 2018 Share Posted February 16, 2018 Hi, Can you add also this new gui for aria http://ariang.mayswind.net? Maybe on another port? Or create a new docker? I think this one is better... Thanks. Quote Link to comment
fanningert Posted February 18, 2018 Author Share Posted February 18, 2018 (edited) @Chad Kunsman, @thomas, @pinion I created two extra docker and updated the current docker container. All three supporting PUID (User-ID) and PGID (Group-ID). aria2-daemon = Only the Aria2 daemon (Docker-Hub: https://hub.docker.com/r/fanningert/aria2-with-webui/) aria2webui - Aria2 daemon and webui-aria2 (Docker-Hub: https://hub.docker.com/r/fanningert/aria2-with-webui/) aria2-with-ariang = Aria2 daemon and AriaNG (Docker-Hub: https://hub.docker.com/r/fanningert/aria2-with-ariang) All three docker having the same aria2 configuration structure. Support pages for the new docker container, better icons for this three container and a support page update for this container, are coming later. Extra information: The docker aria2webui is working, but the current master version of the web app has an error. So you will not see anything. I opended a issue for this problem https://github.com/ziahamza/webui-aria2/issues/437. <- Is corrected Community app entries are updated. So you should see it after the next scan job. TODO: Support of HTTPS for web frontend Edited February 22, 2018 by fanningert 1 Quote Link to comment
M4st3r Posted February 22, 2018 Share Posted February 22, 2018 (edited) On 18/2/2018 at 2:47 PM, fanningert said: @Chad Kunsman, @thomas, @pinion I created two extra docker and updated the current docker container. All three supporting PUID (User-ID) and PGID (Group-ID). aria2-daemon = Only the Aria2 daemon (Docker-Hub: https://hub.docker.com/r/fanningert/aria2-with-webui/) aria2webui - Aria2 daemon and webui-aria2 (Docker-Hub: https://hub.docker.com/r/fanningert/aria2-with-webui/) aria2-with-ariang = Aria2 daemon and AriaNG (Docker-Hub: https://hub.docker.com/r/fanningert/aria2-with-ariang) All three docker having the same aria2 configuration structure. Support pages for the new docker container, better icons for this three container and a support page update for this container, are coming later. Extra information: The docker aria2webui is working, but the current master version of the web app has an error. So you will not see anything. I opended a issue for this problem https://github.com/ziahamza/webui-aria2/issues/437. Community app entries are updated. So you should see it after the next scan job. TODO: Support of HTTPS for web frontend Many thanks for your dockers, they are really useful Have any update upon this issue? It's very annoying...can't wait to use again the GUI!! Edited February 22, 2018 by M4st3r Quote Link to comment
fanningert Posted February 22, 2018 Author Share Posted February 22, 2018 (edited) @M4st3r I created a new Tag for the docker container. The issue is corrected. I also update the first post a little bit. Edited February 22, 2018 by fanningert Quote Link to comment
Chad Kunsman Posted February 24, 2018 Share Posted February 24, 2018 For some reason I cannot save any settings. I really want to turn http pipelining off, but if I turn it off in the GUI, upon next container reload, it's back to TRUE. If I stop the docker, edit the aria2.conf in my appdata folder, then start the container again, it looks like it simply overwrites any changes to my config file and puts it back to defaults. Quote Link to comment
fanningert Posted February 24, 2018 Author Share Posted February 24, 2018 @Chad Kunsman when you want to add some aria2 parameters, what are currently not accesable over docker ui. Add this to the file aria2_ext.conf. This file will be added on every start of the docker to the aria2.conf. And you are right, the aria2.conf will be created on every docker start. (Look on my first post under Features of all three docker containers) 1 Quote Link to comment
Chad Kunsman Posted February 25, 2018 Share Posted February 25, 2018 Thank you. I figured that might have been it, but I wasn't sure. Is there any way in the future to have settings modified within the GUI persist through container restarts? Quote Link to comment
fanningert Posted February 25, 2018 Author Share Posted February 25, 2018 @Chad Kunsman no problem. what aria2 config would you like have in the docker web ui configuration page? Note: every arai2 configuration in the aria2_ext.conf file is persistent on the docker container restart. Like the configuration from the docker web ui. Quote Link to comment
Chad Kunsman Posted February 25, 2018 Share Posted February 25, 2018 @fanningert Actually was wondering if there were technical limitations to having the AriaNg GUI's changes not be able to be persistent. There are a lot of configuration options there, and they are convenient to adjust. But I must assume that there are reasons why setting them there does not 'permanently' change them for the docker container. Quote Link to comment
fanningert Posted February 25, 2018 Author Share Posted February 25, 2018 @Chad Kunsman AriaNg changing the current arai2 session parameter and not the aria2 global config file parameter. So the AraiNg is not persistemt. But you can change every aria2.conf over the docker web ui or aria2_ext.conf. Quote Link to comment
Chad Kunsman Posted February 25, 2018 Share Posted February 25, 2018 I see. Thank you for the clarification. Quote Link to comment
M4st3r Posted February 26, 2018 Share Posted February 26, 2018 On 22/2/2018 at 5:45 PM, fanningert said: @M4st3r I created a new Tag for the docker container. The issue is corrected. I also update the first post a little bit. Many thanks, now everything works...keep up this really good work! Quote Link to comment
btbking Posted October 16, 2018 Share Posted October 16, 2018 Hi there. First, thank you for making these images and configs. I've been using aria2-with-ariang successfully for a while; however, It seems that the included version of aria2 does not support SFTP downloads. Any SFTP attempt results in a "sftp is not supported yet" message for me, both in the ariang interface, as well as when running directly from inside a container shell. I'm not sure what's necessary to get aria2 to support SFTP - perhaps the Docker images just need to be rebuilt, or perhaps the version of aria2 needs to be compiled with additional libraries. Here is the output from running 'aria2c -v' inside the aria2-with-ariang container: ** Configuration ** Enabled Features: Async DNS, BitTorrent, Firefox3 Cookie, HTTPS, Message Digest, Metalink, XML-RPC Hash Algorithms: sha-1, sha-224, sha-256, sha-384, sha-512, md5 Libraries: expat/2.2.5 sqlite3/3.23.1 GnuTLS/3.6.2 nettle GMP/6.1.2 c-ares/1.14.0 Compiler: gcc 6.4.0 built by x86_64-alpine-linux-musl on May 29 2018 07:41:58 System: Linux 4.18.10-unRAID #2 SMP Wed Sep 26 13:21:57 PDT 2018 x86_64 And the output from aria when trying to use SFTP: bash-4.4# aria2c sftp://hello.com/what.pdf 10/16 21:21:18 [NOTICE] Downloading 1 item(s) 10/16 21:21:18 [ERROR] CUID#7 - Download aborted. URI=sftp://hello.com/what.pdf Exception: [AbstractCommand.cc:351] errorCode=1 URI=sftp://hello.com/what.pdf -> [InitiateConnectionCommandFactory.cc:88] errorCode=1 sftp is not supported yet. Thank you! 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.