Code Monkey home page Code Monkey logo

aria2-ariang-docker's People

Contributors

atarismio avatar comicchang avatar danielzhang17 avatar divyam234 avatar expoli avatar gnehs avatar sanjusss avatar wahyd4 avatar yingshaoxo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aria2-ariang-docker's Issues

似乎选择性下载并不生效

当我在在 索引文件下载完毕后,再选择部分文件进行下载,如果单独选中几个文件进行下载,则所有文件一并下载,删除其中某些文件,则任务整体删除,是尚未支持还是 Bug ?

Aria2 Package

Should aria2 be installed on the host? I faced issues while downloading files. Then, I just installed aria2 on the host and recreated the container and all went good.

ARM Deployment

Hi Junv,

I want to deploy this app on my RPi but I do not need the file browser. Any way to disable that?

Or should I build a custom docker image?

And can I use apache or nginx instead of Caddy?

无法保存aria2设置的问题

环境:群晖DS918+ Docker

通过ariang内进行的下载设置,如bittorrent的上传速率及做种时间。在docker重启容器之后 ,该类会复位。尝试了保存会话功能,但是看起来那并没有用。

求教如何保存设置,谢谢!

[疑问]开启 HTTPS 访问情况下,无法连接到 Aria2 后端

  • 系统环境: Ubuntu 18.04.1 LTS

  • 安装了最新的社区版的 Docker CE

启动命令:
docker run -d --name ariang -p 80:80 -p 6800:6800 -p 443:443 -e ENABLE_AUTH=true -e RPC_SECRET=Hello -e DOMAIN=我的域名 -e ARIA2_USER=user -e ARIA2_PWD=pwd -v /home/fejich:/data wahyd4/aria2-ui

症状为:
访问我的域名自动以 HTTPS 方式打开了 AriaNg 前端
但是无法连接到 Aria2 后端

后续测试了不启用 HTTPS ,能正常工作。

要正常使用 HTTPS 需要手动指定 SSL 证书吗?
( -v /yoursslkeys/:/root/conf/key )

能否做到自动化启用 Let's Encrypt 生成的证书?

Google Drive

Junv I don't know if this is a relevant question: Is it possible to download files from google drive?

I have seen some scripts output a URL to download using wget. Will you be able to integrate those scripts into this app?

无法使用自己的配置文件

您好!
请教个问题,我用群晖Docker搭建您的aria2,可正常使用。但是无法使用自己的.conf配置文件。也就是从docker内将配置文件/root/conf/aria2.conf映射到我指定的文件,AriaNg就无法连接(网页设置输入密码也无法连接),请问大神有解决办法吗?

ipv6导致速度为0

页面上下bt一直是0,去后台看日志
image

导致所有的bt下载速度都是0

一番搜索发现 在直接在容器内加上aria2c --disable-ipv6=true就能成功,但是ariang页面上默认就是关闭了ipv6但是是不起作用的。
image

我尝试着在aria2c.conf内添加disable-ipv6=true并重启了docker和containner,但并没有用

Deployment on Raspberry Pi

I deployed this docker image using the arm64 tag on my raspberry pi 3B, but I am getting format exec error.

RPC Listen Port

Describe the bug
Thanks for your efforts to build this handy tool. But in my case, Aria2NG cannot connect to aria2 by JSONRPC properly when I publish this service in other port(not 80).

To Reproduce
Steps to reproduce the behavior:

  1. run docker ... -p "9092:80" ...
  2. Once docker launched it shows "Aria2 Status disconnected" at the sidebar of Aria2NG homepage and "Aria2 RPC address: http://mydomain.com:80/jsonrpc" at Aria2 Status.

Expected behavior
Is there any way to edit the port for RPC address? I have tried to edit Dockerfile and replaced sed -i "s/6800/80/g" /usr/local/www/aria2/js/aria-ng*.js with sed -i "s/6800/${RPC_LISTEN_PORT}/g" /usr/local/www/aria2/js/aria-ng*.js at line 46, but no luck. Any help will be appreciated!

File manager is in loading status infinitely

我用服务器ip登陆后,浏览器显示的ip是ip/files/files,此时显示正在加载中,只有我手动把网址改成ip/files才能刷新出来

重现概率大概是100%

Can not startup on synology DSM

I'm using x86 DSM, with docker package from official package store.

The docker configuration is referred from here

tag: latest
repeated log output:

2019-10-10 05:52:49 | stdout | usage: setcap [-q] [-v] [-n <rootid>] (-r\|-\|<caps>) <filename> [ ... (-r\|-\|<capsN>) <filenameN> ]
-- | -- | --
2019-10-10 05:52:49 | stdout | Failed to set capabilities on file `/usr/local/bin/caddy' (Not supported)
2019-10-10 05:52:49 | stdout | **** give caddy permissions to use low ports ****
2019-10-10 05:52:49 | stdout | usermod: no changes
2019-10-10 05:52:49 | stdout | **** update uid and gid to 1000:1000 ****
2019-10-10 05:52:40 | stdout | Note <filename> must be a regular (non-symlink) file.

请教docker容器自动停止问题

你好,我是业余玩家。在树莓派docker运行过几个程序。接触你的项目后,尝试直接ssh运行
docker run -d --name aria2-ui -p 80:80 wahyd4/aria2-ui
发现容器会自动停止,日志看不懂,请教如何解决……树莓派挂载主路由下的

**** update uid and gid to 1000:1000 ****

usermod: no changes

chown: /usr/local/bin/caddy: No data available

**** update uid and gid to 1000:1000 ****

usermod: no changes

**** give caddy permissions to use low ports ****

forego | starting filebrowser.1 on port 5000

forego | starting caddy.1 on port 5100

forego | starting aria2c.1 on port 5300

caddy.1 | Run aria2c and ariaNG

caddy.1 | Using caddy without Basic Auth

aria2c.1 | Start aria2 with standard mode

caddy.1 | Activating privacy features... done.

caddy.1 |

caddy.1 | Serving HTTP on port 80

caddy.1 | http://0.0.0.0

caddy.1 | http://0.0.0.0/ui

caddy.1 | http://0.0.0.0/ui/

caddy.1 |

aria2c.1 | /app/aria2c.sh: line 17: 23 Illegal instruction (core dumped) /usr/bin/aria2c --conf-path="/app/conf/aria2.conf" --enable-rpc --rpc-listen-all

forego | sending SIGTERM to filebrowser.1
forego | sending SIGTERM to caddy.1

不能更改 Aira2 配置

在 AriaNg 上无论怎么更改 Aira2 的配置,只要一重启就会恢复。
也无法自动创建 dht.dat (即使是写在 /app/conf/aria2.conf 中)且写入数据。

通过 aria2c 下载是可以创建 dht.dat 且写入数据。

使用群晖 NAS 内建的 docker
wahyd4-aria2-ui:least

你好

在群晖里使用时无法运行,报错:

2017-12-08 12:26:29 stdout /root/conf/aria2c.sh: line 26: caddy: not found
2017-12-08 12:26:29 stdout Start aria2 with standard mode
2017-12-08 12:26:29 stdout false
2017-12-08 12:26:29 stdout Run aria2c and ariaNG
2017-12-08 12:26:04 stdout /root/conf/aria2c.sh: line 26: caddy: not found
2017-12-08 12:26:04 stdout Start aria2 with standard mode
2017-12-08 12:26:04 stdout false
2017-12-08 12:26:04 stdout Run aria2c and ariaNG
2017-12-08 12:18:27 stdout /root/conf/aria2c.sh: line 26: caddy: not found
2017-12-08 12:18:27 stdout Start aria2 with standard mode
2017-12-08 12:18:27 stdout false
2017-12-08 12:18:27 stdout Run aria2c and ariaNG
2017-12-08 12:12:54 stdout /root/conf/aria2c.sh: line 26: caddy: not found
2017-12-08 12:12:53 stdout Start aria2 with standard mode
2017-12-08 12:12:53 stdout false
2017-12-08 12:12:53 stdout Run aria2c and ariaNG
2017-12-08 12:11:37 stdout /root/conf/aria2c.sh: line 26: caddy: not found
2017-12-08 12:11:37 stdout Start aria2 with standard mode
2017-12-08 12:11:37 stdout false
2017-12-08 12:11:37 stdout Run aria2c and ariaNG
2017-12-08 12:11:04 stdout /root/conf/aria2c.sh: line 26: caddy: not found
2017-12-08 12:11:04 stdout Start aria2 with standard mode
2017-12-08 12:11:04 stdout false
2017-12-08 12:11:04 stdout Run aria2c and ariaNG
2017-12-08 12:07:49 stdout /root/conf/aria2c.sh: line 26: caddy: not found
2017-12-08 12:07:49 stdout Start aria2 with standard mode
2017-12-08 12:07:49 stdout false
2017-12-08 12:07:49 stdout Run aria2c and ariaNG
2017-12-08 12:07:35 stdout /root/conf/aria2c.sh: line 26: caddy: not found
2017-12-08 12:07:35 stdout Start aria2 with standard mode
2017-12-08 12:07:35 stdout false
2017-12-08 12:07:35 stdout Run aria2c and ariaNG
2017-12-08 12:07:28 stdout /root/conf/aria2c.sh: line 26: caddy: not found
2017-12-08 12:07:27 stdout Start aria2 with standard mode
2017-12-08 12:07:27 stdout false
2017-12-08 12:07:27 stdout Run aria2c and ariaNG

DHT Issue

I am getting the following error and torrent stops at [METADATA]

[ERROR] Exception caught while loading DHT routing table from /root/.cache/aria2/dht.dat
aria2c.1      | Exception: [DHTRoutingTableDeserializer.cc:83] errorCode=1 Failed to load DHT routing table from /root/.cache/aria2/dht.dat

[WARN] Neither --rpc-secret nor a combination of --rpc-user and --rpc-passwd is set

The log say that [WARN] Neither --rpc-secret nor a combination of --rpc-user and --rpc-passwd is set. But i have set it in my compose file.

version: "3.5"
services:
  aria2-ui:
    restart: unless-stopped
    image: wahyd4/aria2-ui:latest
    environment:
      - ENABLE_AUTH=true
      - ARIA2_USER=myuser
      - ARIA2_PWD=mypass
      - DOMAIN=mydomain.tld
      - PUID=1000
      - PGID=1000
      - RPC_SECRET=myseceret
      - ARIA2_SSL=false
    volumes:
      - ./data:/data
    ports:
      - 80:80
      - 443:443

无法使用chrome连接RPC

群辉docker下运行,chrome浏览器无法连接rpc,ie能连上不过下载没有速度

Failed to load http://xxx.xxx:6800/jsonrpc: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://xxx.xxx:6880' is therefore not allowed access.

How to make crt and key file?

  1. Sorry to ask stupid question.

  2. I found some blog, but I can't understand how about make those files.
    Please guide me to a useful website, or make a simple tutorial.

  3. if i don't use key file, what would be happen?

Deployment

Hi Junv I really this app. I am using this on my AWS instances. And I wanted to know how can I deploy this app on Heroku.

Should I deploy it directly by connecting the github repository or through heroku's docker login?

Thank You.

不建议使用80作为默认端口

一般linux使用80端口需要较高的权限,而container一般nat到host上的时候可以自由设置端口。
所以建议修改为一般端口,如8080等

Crash

docker-compose.yaml

version: "3.5"
services:
  aria2-ui:
    restart: unless-stopped
    image: wahyd4/aria2-ui:latest
    environment:
      - ENABLE_AUTH=true
      - ARIA2_USER=myuser
      - ARIA2_PWD=mypass
      - DOMAIN=mydomain.tld
      - PUID=1000
      - PGID=1000
      - RPC_SECRET=myseceret
      - ARIA2_SSL=false
    volumes:
      - ./data:/data
    ports:
      - 10001:80
      - 10002:443

docker-compose logs

aria2-ui_1  | **** update uid and gid to 1000:1000 ****
aria2-ui_1  | usermod: no changes
aria2-ui_1  | **** give caddy permissions to use low ports ****
aria2-ui_1  | forego        | starting filebrowser.1 on port 5000
aria2-ui_1  | forego        | starting caddy.1 on port 5100
aria2-ui_1  | forego        | starting aria2c.1 on port 5300
aria2-ui_1  | caddy.1       | Run aria2c and ariaNG
aria2-ui_1  | caddy.1       | Using Basic Auth config file 
aria2-ui_1  | aria2c.1      | Start aria2 with standard mode
aria2-ui_1  | caddy.1       | 2019/10/24 04:25:36 decoding certificate metadata: unexpected end of JSON input
aria2-ui_1  | forego        | sending SIGTERM to filebrowser.1
aria2-ui_1  | forego        | sending SIGTERM to aria2c.1

Auto exit after running.

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
ee5ad52c3ea6 wahyd4/aria2-ui:arm64_20190316_1 "/bin/sh /root/aria2…" 7 seconds ago Exited (159) 6 seconds ago aria2-ui

docker logs ee5ad52c3ea6 outputted nothing.

容器无法启动

用教程里的这个命令进行修改以后,启动容器就自动停止了,无法启动起来,删掉一些参数也无法启动。不知道什么原因。
docker run -d --name ariang
-p 80:80 -p 6800:6800 -p 443:443
-e ENABLE_AUTH=true
-e RPC_SECRET=Hello
-e DOMAIN=example.com
-e ARIA2_USER=user
-e ARIA2_PWD=pwd
-v /yourdata:/data
-v /root/a.db:/root/filebrowser.db
-v /yoursslkeys/:/root/conf/key
-v :/root/conf/aria2.conf
wahyd4/aria2-ui

aria2c logging is too large

The aria2 conf file is written

General Options

log=/var/log/aria2.log
log-level=info

The level of info is meaningless,
it will waste the disk space(it was take more 30GiB during download bt)
and disk I/O for logging.

It had better to change to null or error to reduce the disk space.

How about the following suggestion? @wahyd4

Change

log=/var/log/aria2.log -> log=

Or

log-level=info -> log-level=error

Reference:
https://aria2.github.io/manual/en/html/aria2c.html#cmdoption-log-level

How to change File Manager Root directory?

Hi,I hope change File Manager Root directory different from aria2 dowloads directory. because I want Manager more files instead of only aria2 dowloads directory. Thanks a lot

filebrowser.1 | 2019/09/23 04:10:19 No config file used filebrowser.1 | 2019/09/23 04:10:19 the resource does not exist

First of all, thank you very much for your project.
if you take -v /app/a.db:/app/filebrowser.db \
Unable to start properly
Log prompt  filebrowser.1 | 2019/09/23 04:10:19 No config file used filebrowser.1 | 2019/09/23 04:10:19 the resource does not exist
but I have this file in the corresponding mount directory
No way. I can't start until I remove this parameter.

Another problem is that it takes up too much space. My host root directory has been occupied (76G) after running for a week. Is there any way to reduce the occupancy? / The corresponding container files under var/lib/docker/overlay2 were deleted before the system started normally. I rebuilt it. What can I do to reduce the occupancy? My hard disk is not rich. Can I change my configuration file to solve this problem?

Thank you again for your work!!!!!!!!

fileBrowser文件管理器管理员密码忘了有啥办法恢复呢

Please try to use English to describe your question or issue.

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.