Giter Site home page Giter Site logo

p3terx / aria2-pro-docker Goto Github PK

View Code? Open in Web Editor NEW
3.0K 21.0 362.0 87 KB

Aria2 Pro | A perfect Aria2 Docker image | 更好用的 Aria2 Docker 容器镜像

Home Page: https://hub.docker.com/r/p3terx/aria2-pro

License: MIT License

Dockerfile 97.44% Shell 2.56%
aria2 aria2c docker docker-image dockerfile docker-aria2 magnet magnet-link bt bittorrent

aria2-pro-docker's Introduction

aria2-pro-docker's People

Contributors

dependabot[bot] avatar gnattu avatar okcy1016 avatar p3terx 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  avatar  avatar  avatar  avatar  avatar

aria2-pro-docker's Issues

无法连接RPC

群晖系统盘掉盘了一下,重启后就无法连接RPC了,日志如下,哪位大佬瞧瞧怎么解决:

[cont-init.d] 88-done: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
11/08 21:13:34 [NOTICE] BitTorrent metadata was loaded from /downloads/38747208a65c14729a4843ef9f3b318f4cb98645.torrent
11/08 21:13:34 [NOTICE] BitTorrent metadata was loaded from /downloads/1f1f6b8ac93ada9d579ef6207f1133902fe040f5.torrent
11/08 21:13:34 [NOTICE] BitTorrent metadata was loaded from /downloads/ec538966f52186ea1632caaf3f1059d53d8c398c.torrent
11/08 21:13:34 [NOTICE] BitTorrent metadata was loaded from /downloads/0dfd77762a871e15e16bcaf026681698df6a9b14.torrent
11/08 21:13:34 [NOTICE] BitTorrent metadata was loaded from /downloads/2638a6e00065e8c60533c972197d3c808320c1a5.torrent
11/08 21:13:34 [NOTICE] BitTorrent metadata was loaded from /downloads/c5968c855afd3b5a05463809a377a7d3372345d9.torrent
11/08 21:13:34 [NOTICE] BitTorrent metadata was loaded from /downloads/3ae71afeceee1b97639fe5563d7f2ea6e6c5cf10.torrent
11/08 21:13:34 [NOTICE] BitTorrent metadata was loaded from /downloads/3e80144a846d2758a5b303e5021fd0d3009dad20.torrent
11/08 21:13:34 [NOTICE] BitTorrent metadata was loaded from /downloads/b46888b6264663cb5fc4edaf5bf44909ccd8335c.torrent
11/08 21:13:34 [NOTICE] BitTorrent metadata was loaded from /downloads/c8c4f7a7c7f5d49afbfa949843cfaa7368e98a3d.torrent
11/08 21:13:34 [NOTICE] BitTorrent metadata was loaded from /downloads/d7601f431c95d79b7be70c7485264bd9cbf7c1ae.torrent
11/08 21:13:34 [NOTICE] Downloading 11 item(s)
11/08 21:13:34 [NOTICE] IPv4 DHT: listening on UDP port 6888
11/08 21:13:34 [ERROR] Exception caught
11/08 21:13:34 [NOTICE] IPv4 BitTorrent: listening on TCP port 6888
curl: (7) Failed to connect to localhost port 6800 after 0 ms: Connection refused
curl: (7) Failed to connect to localhost port 6800 after 0 ms: Connection refused
curl: (7) Failed to connect to localhost port 6800 after 0 ms: Connection refused
curl: (7) Failed to connect to localhost port 6800 after 0 ms: Connection refused
11/08 21:13:34 [ERROR] Aria2 RPC interface error!
11/08 21:13:35 [NOTICE] Serialized session to '/config/aria2.session' successfully.

完成任务后自动移动到指定文件夹?

大佬,

请问 完成任务后可否用脚本实现 自动移动 文件&文件夹 到指定文件夹?

例如我的下载目录为 /download, 下载好的 文件 a.txt 或是 A 文件夹,想用脚本自动实现 把 a.txt & A 自动移动到 /download/done 下?

谢谢大神。

指定环境变量RPC_SECRET不生效

docker版本: 19.03.8
aria2-pro版本: latest
描述:docker run指定自定义RPC_SECRET后,实际上并没有生效,连接的时候还是使用的默认密码,但是进容器看了env,是有我自己设定的RPC_SECRET的

curl: (28) Resolving timed out after 3000 milliseconds

系统:linux x86_64 Openwrt Koolshare Router V2.37
内核:5.4.108
Version 20.10.6 (API: 1.41)

网络hosts模式下,报如下错误,拉取镜像创建容器都没问题,网络应该是通的,但是配置文件下载不下来。

[INFO] Downloading 'aria2.conf' ...

curl: (28) Resolving timed out after 3000 milliseconds

curl: (28) Resolving timed out after 3000 milliseconds

curl: (28) Resolving timed out after 3000 milliseconds

[ERROR] 'aria2.conf' download error, retry ...

[INFO] Downloading 'aria2.conf' ...

Aria2-NG error

After pulling the latest p3terx/ariang:latest image, when accessing Aria2-NG this error will show:

Internal Server Error
Couldn't list directory: No such file or directory 

Before this everything was fine, I was using an image from Sep-2020. Any idea what is wrong?

如何阻止 Aria2 自动创建文件夹

我是用树莓派下载到外接硬盘。

假设硬盘的挂载路径为/media/pi/MyDisk , 下载路径是 /media/pi/MyDisk/Downloads ,有时移除外接硬盘或重启设备等硬盘未挂载的情况下,Aria2会自动创建 /media/pi/MyDisk/Downloads 空文件夹。

当我再插入硬盘时,硬盘的路径会变成 /media/pi/MyDisk1 ,用Aria2 下载也会下载到它自己创建的 /media/pi/MyDisk/Downloads 而不是外接硬盘内。

我还要先断开硬盘、删除 /media/pi/MyDisk 、重新插入硬盘最后重启docker才能恢复正常,太麻烦了!

有没有什么办法能阻止 Aria2 自动创建文件夹?当挂载硬盘后它能自动识别目录?

希望增加下载完成自动刮削的功能

如题,在aria下载完成后,自动运行指定脚本,实现自动刮削功能。
刮削功能来源https://github.com/yoshiko2/AV_Data_Capture
docker版:https://github.com/VergilGao/docker-avdc

No space left on device

异常详情

01/11 16:53:51 [ERROR] CUID#26 - Exception caught while allocating file space.
aria2-pro    | Exception: [AbstractDiskWriter.cc:557] errNum=28 errorCode=9 fallocate failed. cause: No space left on device

启动配置

version: "3.3"
services:
  aria2-pro:
    container_name: aria2-pro
    image: kfwkfulq.mirror.aliyuncs.com/p3terx/aria2-pro
    environment:
      - PUID=1000
      - PGID=1000
      - UMASK_SET=022
      - RPC_SECRET=*****
      - RPC_PORT=6800
      - LISTEN_PORT=6888
      - DISK_CACHE=64M
      - UPDATE_TRACKERS=true
      - TZ=Asia/Shanghai
      - IPV6_MODE=true
    volumes:
      - /WD/aria2/aria2-config:/config
      - /WD/aria2/aria2-downloads:/downloads
# If you use host network mode, then no port mapping is required.
# This is your best choice when using IPv6.
    network_mode: host
    # ports:
    #   - 6800:6800
    #   - 6888:6888
    #   - 6888:6888/udp
    restart: unless-stopped
    # Since Aria2 will continue to generate logs, limit the log size to 1M to prevent your hard disk from running out of space.
    logging:
      driver: json-file
      options:
        max-size: 10m
  # AriaNg is just a static web page, usually you only need to deploy on a single host.
  ariang:
    container_name: ariang
    image: p3terx/ariang
    network_mode: bridge
    ports:
      - 7000:6880
    restart: unless-stopped
    logging:
      driver: json-file
      options:
        max-size: 10m

似乎除了端口和映射目录,其他几乎没有改动。但是与i到大文件下载时候,就会出现上述异常

这是我的下载测试连接:http://repos.mia.lax-noc.com/speedtests/100gb.bin

wallabag似乎会导致Aria2失去连接

大佬,报告一个发现的神奇问题。我在群晖docker里用wallabag的官方镜像搭建了一个wallabag( https://registry.hub.docker.com/r/wallabag/wallabag/ ) 并且反向代理设置为外网访问。

但是每次当我用域名+端口访问wallabag的页面的时候,Aria2就会出现无法连接的问题。然后我尝试把wallabag的端口名字换了很多个,情况还是相同,只要浏览器输入域名+端口访问wallabag,Aria2必然断联。解决方法就是清空浏览器数据,Aria2就会重新自动连接上了。但是再次浏览器输入域名+端口访问wallabag,Aria2就会再次失去连接。(备注:使用内网IP地址访问wallabag,Aria2就不存在掉连接的问题。)

image

当然我不知道这个问题是出在群晖,还是出在wallabag,还是出在Aria2。就是比较神奇,特来报告一下。若是大佬有时间也可以搭建wallabag来验证一下这个问题。再次感谢大佬对超级棒Aria2镜像的维护。

配置RCLONE时报错

运行docker exec -it aria2-pro rclone config时报错,这样的怎么解决啊。
是我VPS网速太慢,一直没安装好。
多等一等就好了

the latest p3terx/ariang docker image doesn't work

my env:
pi 3 b+(armv7 32)

docker run -d
--name ariang111
--log-opt max-size=1m
--restart unless-stopped
-p 6881:6880
p3terx/ariang

pi@raspberrypi:/$ wget http://192.168.88.1:6881
--2022-01-19 15:18:16-- http://192.168.88.1:6881/
Connecting to 192.168.88.1:6881... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

--2022-01-19 15:18:17-- (try: 2) http://192.168.88.1:6881/
Connecting to 192.168.88.1:6881... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

--2022-01-19 15:18:19-- (try: 3) http://192.168.88.1:6881/
Connecting to 192.168.88.1:6881... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

--2022-01-19 15:18:22-- (try: 4) http://192.168.88.1:6881/
Connecting to 192.168.88.1:6881... connected.
HTTP request sent, awaiting response... No data received.
Retrying.

3Q

-bash: TOKEN: 没有那个文件或目录

root@arm-64:~# docker run -d
--name aria2-pro
--restart unless-stopped
--log-opt max-size=1m
-e PUID=$UID
-e PGID=$GID
-e UMASK_SET=022
-e RPC_SECRET=
-e RPC_PORT=6800
-p 6800:6800
-e LISTEN_PORT=6888
-p 6888:6888
-p 6888:6888/udp
-v $PWD/aria2-config:/config
-v $PWD/aria2-downloads:/downloads
p3terx/aria2-pro
-bash: TOKEN: 没有那个文件或目录
这个怎么搞?ARMBIAN 的DOCKER安装

Aria2 在下载过程中对容器使用 stop / kill 关闭无效

使用 Docker 重启 Aria2-pro 容器时发生卡死,关闭前 Aria2 正在进行下载,日志显示进程管理似乎已经执行了 finish 脚本,但查看 Portainer 的容器进程列表中 aria2c 进程依然在运行中:
QQ截图20200815143020

已尝试使用 docker stopdocker kill 关闭容器但失败(命令执行会卡住,然后返回,docker ps 显示容器依然正在运行),重启服务器后 Docker 显示容器状态为 DEAD,可以删除容器。

网上查找资料说是由于容器进程处于D状态(不是很懂),只能重启(链接)。

关闭日志内容:

[cont-finish.d] executing container finish scripts...,
[cont-finish.d] kill-aria2c: executing... ,
[cont-finish.d] kill-aria2c: exited 0.,
[cont-finish.d] done.,
[s6-finish] waiting for services.,
s6-svwait: fatal: timed out,
[s6-finish] sending all processes the TERM signal.,
[s6-finish] sending all processes the KILL signal and exiting.

Permission denied

用OMV运行docker的时候提示出现
Could not execute user command: /config/move.sh: Permission denied
在机器上、容器里都给move.sh加了可执行的权限,结果运行的时候权限又会自动改回来,并且还是不能运行,请问有解决的方法嘛

暂停下载任务再删除任务时,磁盘里面的文件不会被删除

系统:Open Media Vault 4.5 (Debian GNU/Linux 9.13 (stretch))
Docker:Docker version 19.03.14, build 5eb3275d40
aria-pro镜像信息:"Created": "2021-01-15T08:30:44.426306122Z",
UI:AriaNG
...........................
不知道这个算不算bug……
或者是断点续传的逻辑所需?

检查了scpric.conf里面的内容,delete-on-xxx都是ture

当下载任务进行中,直接把任务删掉,文件是能被删掉的,日志记录如下:

02/17` 21:13:59 [�[1;32mNOTICE�[0m] Download GID#5f2a3ccdf25303e6 not complete: /downloads2/ubuntu-20.04.2-live-server-amd64.iso
02/17 21:13:59 [�[1;32mNOTICE�[0m] Serialized session to '/config/aria2.session' successfully.
02/17 21:14:00 [�[1;32mINFO�[0m] Download task removed, deleting files...
removed '/downloads2/ubuntu-20.04.2-live-server-amd64.iso.aria2'
removed '/downloads2/ubuntu-20.04.2-live-server-amd64.iso'
02/17 21:14:00 [�[1;32mINFO�[0m] General download task, skipped delete .torrent file.
02/17 21:14:00 [�[1;32mINFO�[0m] Deleting empty directory ...

由于我之前的习惯,删掉之前都是先暂停的,这个时候发现文件是没有被删掉的,日志中也没有相关条目:

02/17 21:14:29 [�[1;32mNOTICE�[0m] Download GID#4dab7df8eafec6b0 paused
02/17 21:14:30 [�[1;32mNOTICE�[0m] Serialized session to '/config/aria2.session' successfully.
02/17 21:14:34 [�[1;32mNOTICE�[0m] Serialized session to '/config/aria2.session' successfully.

base of docker image can not be used in raspberry pi

The docker image p3terx/s6-alpine can not used in raspberry pi.
So the aria2-pro image base on p3terx/s6-alpine can run in raspbery pi, but run date display Sun Jan 0 00:100:4174038 1900.
That make the image can not get each config file by web.
It can good running when replace the base image from p3terx/s6-alpine to p3terx/s6-debian.
Can you make an aria2-pro image with p3terx/s6-debian? Or I create a pull request? Or I fork a copy of code to edit?

反复重启 提示:stderr: Specify at least one URL.

openwrt下的docker 19.03.8

日志提示需要指定一个url,我想自己添加一个 --enable-rpc 可没接口。。。

docker run -d
--name aria2-pro
--restart unless-stopped
--log-opt max-size=1m
-e PUID=0
-e PGID=0
-e RPC_SECRET=123456
-e RPC_PORT=6800
-p 6800:6800
-e LISTEN_PORT=6888
-p 6888:6888
-p 6888:6888/udp
-v /mnt/500g/aria2/config:/config
-v /mnt/500g/aria2/downloads:/downloads
p3terx/aria2-pro

是否可以允许 不设置 RPC_SECRET

主要内网使用,不会公开, 设置RPC_SECRET除了带来麻烦没别的用.

但是我看介绍说如果不写这个 -e 配置,会使用一个默认的 RPC_SECRET .

Nginx反代后无法连接

以前好好的,但是升级之后出现了问题:
这是docker-compose.yml

version: "3.2"

services:

  Aria2-Pro:
    container_name: aria2-pro
    image: p3terx/aria2-pro
    environment:
      - PUID=1000
      - PGID=100
      - UMASK_SET=022
      - RPC_SECRET=secret
      - RPC_PORT=6800
      - LISTEN_PORT=6888
      - DISK_CACHE=64M
      - IPV6_MODE=false
      - UPDATE_TRACKERS=true
      - CUSTOM_TRACKER_URL=
      - TZ=Asia/Shanghai
    volumes:
      - ${PWD}/config:/config
      - ${PWD}/downloads:/downloads
# If you use host network mode, then no port mapping is required.
# This is the easiest way to use IPv6 networks.
    network_mode: host
    #network_mode: bridge
    ports:
      - 6800:6800
      - 6888:6888
      - 6888:6888/udp
    restart: unless-stopped
# Since Aria2 will continue to generate logs, limit the log size to 1M to prevent your hard disk from running out of space.
    logging:
      driver: json-file
      options:
        max-size: 1m

# AriaNg is just a static web page, usually you only need to deploy on a single host.
  AriaNg:
    container_name: ariang
    image: p3terx/ariang
    command: --port 6880 --ipv6
    network_mode: host
    #network_mode: bridge
    ports:
      - 6880:6880
    restart: unless-stopped
    logging:
      driver: json-file
      options:
        max-size: 1m

这是nginx配置文件:

server {
    listen 8081;
    root /var/www/ariang-webui;
    location / {
    # First attempt to serve request as file, then
    # as directory, then fall back to displaying a 404.
    try_files $uri $uri/ =404;
    }
}

server {
    #listen 44381;
    listen 44381 ssl http2;
    server_name abc.xyz 0.0.0.0;
    #ssl on;
    ssl_certificate /etc/ssl/crt-usr/abc.xyz/fullchain.pem;
    ssl_certificate_key /etc/ssl/crt-usr/abc.xyz/privkey.pem;

    error_log /var/log/nginx/ariang-webui_error.log error;
    access_log /var/log/nginx/ariang-webgui_access.log combined;

    root /var/www/ariang-webui;

    # Add index.php to the list if you are using PHP
    #index index.html index.htm index.nginx-debian.html;

    location / {
    # First attempt to serve request as file, then
    # as directory, then fall back to displaying a 404.
    try_files $uri $uri/ =404;
    #proxy_redirect http:// https://;
    #proxy_set_header Host $http_host;
    #proxy_redirect off;
    #proxy_set_header Host $host;
    #proxy_set_header X-Real-IP $remote_addr;
    #proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
    #proxy_pass http://127.0.0.1:6800;  #反代本地端口
    }

    location /jsonrpc {
    proxy_pass         http://localhost:6800;
    proxy_set_header   Host $host;
    proxy_set_header   X-Real-IP $remote_addr;
    proxy_set_header   X-Forwarded-For $proxy_add_x_forwarded_for;
    proxy_set_header   X-Forwarded-Host $server_name;
    }

}

用http还是https访问ARIANG页面:
无论是设置RPC地址为https://192.168.8.231:6800/rpcjson还是https://127.0.0.1:6800/rpcjson;
无论是设置RPC地址为http://192.168.8.231:6800/rpcjson还是http://127.0.0.1:6800/rpcjson;
均显示“未连接”。

用tcpdump port 6800 -i enp2s0或者tcpdump port 6800 -i lo,发现根本没有包近来!
但是防火墙是放行这些端口的!

docker logs 命令输出空白行(字符看不到,但光标确认有换行)!

请问问题出在哪里?

I wonder if there is a way to check the network status

I added a dozen torrents tasks and each of them has tens of peers but none of them has download speed. Some of them are hot sources and can be downloaded by Thunder in high speed, so I wonder if there is a way to check the network status and find out whether there is something wrong or not. Thanks.

move.sh issue

move.sh cant move any thing to point directory, is this cause I use a diffrent volume?

I use volume1 as /downloads and volume2 as /fin
图片

log:
Number of Files: 1

First File Path: /downloads/Dism++10.1.1002.1.zip

Task File Name: Dism++10.1.1002.1.zip

Task Path: /downloads/Dism++10.1.1002.1.zip

Aria2 Download Directory: /downloads

Custom Download Directory: /downloads

Source Path: /downloads/Dism++10.1.1002.1.zip

Destination Path: /fin

.aria2 File Path: null

-------------------------- [Task Infomation] --------------------------

mv: can't create '/fin/Dism++10.1.1002.1.zip': Permission denied

'/downloads/Dism++10.1.1002.1.zip' -> '/fin/Dism++10.1.1002.1.zip'

08/30 20:40:12 [ERROR] Move failed: /downloads/Dism++10.1.1002.1.zip

Authorization Error

I have successfully installed the software using docker on raspberry pi. However when a open the webpage I get Authorization Error. I have attached the picture for reference

image

无法修改 dir

root:~# head /data/etc/aria2pro/aria2.conf 
## 文件保存设置 ##

# 下载目录。可使用绝对路径或相对路径, 默认: 当前启动位置
dir=/share/down

root:~# docker restart aria2pro
aria2pro
root:~# head /data/etc/aria2pro/aria2.conf 
## 文件保存设置 ##

# 下载目录。可使用绝对路径或相对路径, 默认: 当前启动位置
dir=/downloads

手动修改目录后,重启容器,目录就会变.

ipv6 RPC bind failed

错误信息:

[cont-init.d] 88-done: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.

07/15 11:46:43 [NOTICE] IPv4 RPC: listening on TCP port 6800

07/15 11:46:43 [ERROR] IPv6 RPC: failed to bind TCP port 6800
Exception: [SocketCore.cc:312] errorCode=1 Failed to bind a socket, cause: Name or service not known

docker-compose文件:

  aria:
    image: p3terx/aria2-pro
    container_name: aria
    logging:
      options:
        max-size: 1m
    ports:
      - 6800:6800
      - 6888:6888
      - 6888:6888/udp
    environment:
      RPC_SECRET: "{my token}"
    volumes:
      - /etc/aria:/config
      - /home/downloads:/downloads
    restart: unless-stopped

求指点,十分感谢!

自定义下载目录下的问题

使用/downloads/电影/xxx 自定义下载目录时,在配置好自动上传后,

出现的问题
1.部分媒体文件丢失(已经下载完毕)
2.部分带有.aria2和媒体文件一起上传,导致无法播放
3.http下载.torrent 会先上传并创建目录 /电影/xxx ,然后电影下完后又重复创建目录 /电影/xxx

内存占用大

docker开启后,开始下载任务,内存占用直线上升,会一直升到我设置的内存限制上限,而且在下载完成后仍然保持很大的内存占用。这是正常的情况么?
微信截图_20200310103625

feature: Is that possible support portainer stack template ?

Thank you for your work on this project.
I used this on openmediavault,so i use portainer-ce manage the docker containers. When the aria2-pro update, I can update it very easy.
portainer-ce also used docker-compose to deploy the containers, so the docker-compose.yml needs a litte changes to compatible with it. Such the volume path and the networks need to change.

无限重启

pve虚拟的ubuntu20.04 ltsc,

docker run -d \ --name aria2 \ --restart always \ --log-opt max-size=1m \ -e PUID=$UID \ -e PGID=$GID \ -e UMASK_SET=022 \ -e RPC_SECRET=mySecret \ -e RPC_PORT=6800 \ -p 6800:6800 \ -e LISTEN_PORT=6888 \ -p 6888:6888 \ -p 6888:6888/udp \ -v /myPath/aria2/config:/config \ -v /myPath/aria2/downloads:/downloads \ p3terx/aria2-pro

image

ariang restart all the time when implemented it on raspberrypi4b

Due to there is no more log, so I can't provide more detail about it. if you know how to get more log from it, I'm glad to try it again, thanks!

The docker-compose.yaml come from your sample and no change for itself.


# AriaNg is just a static web page, usually you only need to deploy on a single host.
  AriaNg:
    container_name: ariang
    image: p3terx/ariang
    command: --port 6880 --ipv6
    network_mode: host
#    network_mode: bridge
#    ports:
#      - 6880:6880
    restart: unless-stopped
    logging:
      driver: json-file
      options:
        max-size: 1m

ariang网页提示未发送

p3terx / ariang安装在arm32v7设备上,访问WebUI时,输入地址,页面加载不出来并显示未发送,不知是什么原因?

下载目录权限的问题

问题: 有没有什么方法保留下载目录的继承权限, 或者时进容器注释掉某些代码不让权限重置

背景:

根据教程可知每次启动都会重置权限

我使用的环境是群晖的docker, 设定了一个账号用来下载, puid也是填写的此账号

由于不同账号拥有的读写权限不一样, 我觉得也不能留空puid

因为我都是使用上级目录的继承权限来访问下载目录,
每次重置权限后, 我的其他非管理员账号都不能访问下载目录,
除非我手动添加下载目录为包含继承权限

我觉得在没有外部修改权限的情况下, 只要第一次重置下权限就好了

aria2-pro process killed by docker forcing container to restart.

I am using the docker-compose.yml example.
Worked fine BUT, the aria2-pro container is killed by docker at random times, forcing the container to exist and restart..

aria2-pro    | [#296433 3.3GiB/21GiB(15%) CN:32 DL:5.5MiB ETA:57m18s]
aria2-pro    | [#296433 3.3GiB/21GiB(15%) CN[cont-finish.d] executing container finish scripts...
aria2-pro    | [cont-finish.d] done.
aria2-pro    | [s6-finish] waiting for services.
aria2-pro    | [s6-finish] sending all processes the TERM signal.
aria2-pro    | [s6-finish] sending all processes the KILL signal and exiting.
aria2-pro exited with code 0
aria2-pro    | [s6-init] making user provided files available at /var/run/s6/etc...exited 0.
aria2-pro    | [s6-init] ensuring user provided files have correct perms...exited 0.
aria2-pro    | [fix-attrs.d] applying ownership & permissions fixes...
aria2-pro    | [fix-attrs.d] done.
aria2-pro    | [cont-init.d] executing container initialization scripts...
aria2-pro    | [cont-init.d] 00-copyright: executing...

its not OOM, I checked. Its false on inspect.
I have also seen similar issues with other containers with aria2 in it.
The target machine is a Dell r710, running Ubuntu 20.04 natively, with docker from docker repo.
The strange issue is, running on a dell r720, vmware67, running a ubuntu VM then docker on that. The problem goes way..

Any idea what would be causing this?? Its very strange, and I want to run this on the r710 server directly. (Tried on 3 different systems/configurations, all the same result)

I am stumped as to what could cause this. I.e. works under a VM/docker but not on native/docker.

Proxy RPC over HTTPS with Nginx Not Working

Hello.

The RPC daemon connects normally when using the IP address but when it is proxied over nginx, it doesn't connect at all. Here's my subfolder config:


location /aria/ {

    include /config/nginx/proxy.conf;
    proxy_pass http://0.0.0.0:6880/;
    sub_filter_once off;
    sub_filter '/js/' '/aria/js/';
    sub_filter '/css/' '/aria/css/';
}

        location /aria/jsonrpc {
                proxy_pass http://0.0.0.0:6800/jsonrpc;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection "upgrade";
        }

Am I doing something wrong?

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.