找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 1348|回复: 2

[N1盒子] 求助,小钢炮docker下qb下载出错

[复制链接]
docker 中的 qb 是通过荒野大神的 ssh 命令配置的。
  1. IMAGE_NAME=80x86/qbittorrent
  2. WEB_PORT=$(nvram get app.qb.listen_port)
  3. [ -z "$WEB_PORT" ] && WEB_PORT=8082
  4. DOWNLOAD_PATH=$(cat /var/lib/qbittorrent/.config/qBittorrent/qBittorrent.conf | grep -i 'Downloads\\SavePath' | cut -d'=' -f2)
  5. BT_PORT=$(cat /var/lib/qbittorrent/.config/qBittorrent/qBittorrent.conf | grep -i 'Connection\\PortRangeMin' | cut -d'=' -f2)
  6. [ -z "$BT_PORT" ] && BT_PORT=8999
  7. QBT_AUTH_SERVER_ADDR=$(ip -4 addr show docker0 | grep inet | awk '{print $2}' | cut -d'/' -f1)
  8. if [ "$DOWNLOAD_PATH" = "/downloads" ] || [ "$DOWNLOAD_PATH" = "/downloads/" ] || [ "$DOWNLOAD_PATH" = "" ]; then
  9.     echo "please set correct DOWNLOAD_PATH"
  10.     exit -1
  11. fi

  12. docker pull ${IMAGE_NAME} && \
  13. docker run -d --name qbittorrent \
  14.         -e PUID=$(id -u qbittorrent) \
  15.             -e PGID=$(cat /etc/group | grep -e '^users' | cut -d':' -f3) \
  16.         -e WEB_PORT=$WEB_PORT \
  17.         -e BT_PORT=$BT_PORT \
  18.         -e QBT_AUTH_SERVER_ADDR=$QBT_AUTH_SERVER_ADDR \
  19.         --restart unless-stopped \
  20.         -p $WEB_PORT:$WEB_PORT -p $BT_PORT:$BT_PORT/tcp -p $BT_PORT:$BT_PORT/udp \
  21.         -v /var/lib/qbittorrent/.config/qBittorrent:/config \
  22.         -v /var/lib/qbittorrent/.local/share/data/qBittorrent:/data \
  23.         -v "$DOWNLOAD_PATH":/media/FANG2/download \
  24.         --mount type=tmpfs,destination=/tmp \
  25.         ${IMAGE_NAME}
复制代码



docker设置:


错误:
  1. 无法下载 GeoIP 数据库文件。原因:未找到远程服务器(无效主机名)
复制代码

  1. UPnP/NAT-PMP:端口映射失败,消息:could not map port using UPnP: no router found       
复制代码

  1. 文件错误警告。Torrent:"MSFH-004.mp4"。文件:"/Downloads/MSFH-004.mp4"。原因:MSFH-004.mp4 mkdir (/Downloads/MSFH-004.mp4) error: Permission denied
复制代码



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
 楼主| | 显示全部楼层
设置有错误吗?
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

有过相同问题  试试取消“CSRF保护”  webUI里
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-28 18:43

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表