Skip to content

群晖docker安装 xiaomusic

由于现在群晖已经无法正常下载 docker 里的镜像了,绕了好多弯;现在用 ssh 服务命令拉取镜像来创建容器;

1. ssh 输入账号密码进入群晖

2. 输入 sudo -i 再次输入密码进入 root 权限

3. 输入 docker search xiaomusic来查找到该镜像名;

4. 然后输入 docker pull xiaomusic 试试是否能安装,如果不能;就得在命令前加个代理地址;下面列了一些代理地址可以一个个的试

docker.fxxk.dedyn.iodocker.io
registry-docker-hub-latest-9vgc.onrender.com
docker.chenby.cn
dockerproxy.com
hub.uuuadc.top
docker.jsdelivr.fyi
docker.registry.cyou
dockerhub.anzu.vip

我是用的最下面这个成功的

docker pull dockerhub.anzu.vip/hanxi/xiaomusic:latest

5. 安装完成后就进入群晖 DOCKER 配置 xiaomusic

image
  • MI_HARDWARE=型号 前面第4 步骤获取的
  • XIAOMUSIC_SEARCH=搜索方式,我填写的bilisearch: 意思是通过 bilibili 搜索
  • MI_DID=前面第4 步骤获取的
  • MI_USER=小米账号
  • MI_PASS=小米密码
  • XIAOMUSIC_FUZZY_MATCH_CUTOFF=模糊匹配,最小为 0.1 最大为 1,越小越模糊,越大越精准

6. 配置端口

image (1)

7. 映射路径

image (2)

评论

评论 1 - kiwi5656

MI_DID=前面第4 步骤获取的,第4步骤在哪?


评论 2 - hanxi

MI_DID=前面第4 步骤获取的,第4步骤在哪?

不用设置 MI_DID


评论 3 - hanxi

国内 docker 镜像

docker pull m.daocloud.io/docker.io/hanxi/xiaomusic:latest
docker tag m.daocloud.io/docker.io/hanxi/xiaomusic:latest hanxi/xiaomusic:latest

评论 4 - SenyFish

如果手头上有能科学上网的机器,直接把群辉的代理服务器IP填写成可以科学上网的机器IP+端口,翻墙软件打开允许局域网连接就可以


评论 5 - SmartElec

文档中 docker pull dockerhub.anzu.vip/xiaomusic:latest这句命令写错了 修改为

docker pull dockerhub.anzu.vip/hanxi/xiaomusic:latest

评论 6 - hanfz123

Image 你好。为什么我这个地方的文字不是中文的?求解


评论 7 - hanxi

@hanfz123 你是不是屏蔽了谷歌的某些域名?


评论 8 - hanfz123

@hanfz123 你是不是屏蔽了谷歌的某些域名?

不确定,但是我访问谷歌啥的都正常啊


评论 9 - 22555642

你好,我在群辉DOCKER上部署运行后,一直打不开设置页面,点开日志里面写的是这个,请问要怎么办呢?

2025/07/18 17:15:55stdout[2025-07-18 17:15:54] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist.
2025/07/18 17:15:55stdout[2025-07-18 17:15:54] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist.
2025/07/18 17:15:55stdout==> /app/xiaomusic.log.txt <==
2025/07/18 17:15:55stdout
2025/07/18 17:15:55stderrtail: /app/xiaomusic.log.txt has been replaced; following end of new file
2025/07/18 17:15:52stdout2025-07-18 17:15:51,292 INFO spawned: 'xiaomusic' with pid 21
2025/07/18 17:15:48stdout2025-07-18 17:15:47,284 WARN exited: xiaomusic (exit status 1; not expected)
2025/07/18 17:15:48stdout==> /app/supervisord.log <==
2025/07/18 17:15:48stdout
2025/07/18 17:15:43stderrtail: /app/xiaomusic.log.txt has been replaced; following end of new file
2025/07/18 17:15:43stdout[2025-07-18 17:15:42] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist.
2025/07/18 17:15:43stdout[2025-07-18 17:15:42] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist.
2025/07/18 17:15:43stdout==> /app/xiaomusic.log.txt <==
2025/07/18 17:15:43stdout
2025/07/18 17:15:40stdout2025-07-18 17:15:39,479 INFO spawned: 'xiaomusic' with pid 18
2025/07/18 17:15:37stdout2025-07-18 17:15:36,473 WARN exited: xiaomusic (exit status 1; not expected)
2025/07/18 17:15:37stdout==> /app/supervisord.log <==
2025/07/18 17:15:37stdout
2025/07/18 17:15:33stdout[2025-07-18 17:15:32] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist.
2025/07/18 17:15:33stdout[2025-07-18 17:15:32] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist.
2025/07/18 17:15:33stdout==> /app/xiaomusic.log.txt <==

评论 10 - hanxi

你好,我在群辉DOCKER上部署运行后,一直打不开设置页面,点开日志里面写的是这个,请问要怎么办呢?

2025/07/18 17:15:55 stdout [2025-07-18 17:15:54] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist. 2025/07/18 17:15:55 stdout [2025-07-18 17:15:54] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist. 2025/07/18 17:15:55 stdout ==> /app/xiaomusic.log.txt <== 2025/07/18 17:15:55 stdout   2025/07/18 17:15:55 stderr tail: /app/xiaomusic.log.txt has been replaced; following end of new file 2025/07/18 17:15:52 stdout 2025-07-18 17:15:51,292 INFO spawned: 'xiaomusic' with pid 21 2025/07/18 17:15:48 stdout 2025-07-18 17:15:47,284 WARN exited: xiaomusic (exit status 1; not expected) 2025/07/18 17:15:48 stdout ==> /app/supervisord.log <== 2025/07/18 17:15:48 stdout   2025/07/18 17:15:43 stderr tail: /app/xiaomusic.log.txt has been replaced; following end of new file 2025/07/18 17:15:43 stdout [2025-07-18 17:15:42] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist. 2025/07/18 17:15:43 stdout [2025-07-18 17:15:42] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist. 2025/07/18 17:15:43 stdout ==> /app/xiaomusic.log.txt <== 2025/07/18 17:15:43 stdout   2025/07/18 17:15:40 stdout 2025-07-18 17:15:39,479 INFO spawned: 'xiaomusic' with pid 18 2025/07/18 17:15:37 stdout 2025-07-18 17:15:36,473 WARN exited: xiaomusic (exit status 1; not expected) 2025/07/18 17:15:37 stdout ==> /app/supervisord.log <== 2025/07/18 17:15:37 stdout   2025/07/18 17:15:33 stdout [2025-07-18 17:15:32] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist. 2025/07/18 17:15:33 stdout [2025-07-18 17:15:32] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist. 2025/07/18 17:15:33 stdout ==> /app/xiaomusic.log.txt <==

看不出来为啥


评论 11 - 22555642

我把日志发给您,您可以帮我看看嘛?

------------------ 原始邮件 ------------------ 发件人: "hanxi/xiaomusic" @.>; 发送时间: 2025年7月19日(星期六) 凌晨1:31 @.>; @.@.>; 主题: Re: [hanxi/xiaomusic] 群晖docker安装 xiaomusic (Issue #101)

hanxi left a comment (hanxi/xiaomusic#101)

你好,我在群辉DOCKER上部署运行后,一直打不开设置页面,点开日志里面写的是这个,请问要怎么办呢?

2025/07/18 17:15:55 stdout [2025-07-18 17:15:54] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist. 2025/07/18 17:15:55 stdout [2025-07-18 17:15:54] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist. 2025/07/18 17:15:55 stdout ==> /app/xiaomusic.log.txt <== 2025/07/18 17:15:55 stdout   2025/07/18 17:15:55 stderr tail: /app/xiaomusic.log.txt has been replaced; following end of new file 2025/07/18 17:15:52 stdout 2025-07-18 17:15:51,292 INFO spawned: 'xiaomusic' with pid 21 2025/07/18 17:15:48 stdout 2025-07-18 17:15:47,284 WARN exited: xiaomusic (exit status 1; not expected) 2025/07/18 17:15:48 stdout ==> /app/supervisord.log <== 2025/07/18 17:15:48 stdout   2025/07/18 17:15:43 stderr tail: /app/xiaomusic.log.txt has been replaced; following end of new file 2025/07/18 17:15:43 stdout [2025-07-18 17:15:42] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist. 2025/07/18 17:15:43 stdout [2025-07-18 17:15:42] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist. 2025/07/18 17:15:43 stdout ==> /app/xiaomusic.log.txt <== 2025/07/18 17:15:43 stdout   2025/07/18 17:15:40 stdout 2025-07-18 17:15:39,479 INFO spawned: 'xiaomusic' with pid 18 2025/07/18 17:15:37 stdout 2025-07-18 17:15:36,473 WARN exited: xiaomusic (exit status 1; not expected) 2025/07/18 17:15:37 stdout ==> /app/supervisord.log <== 2025/07/18 17:15:37 stdout   2025/07/18 17:15:33 stdout [2025-07-18 17:15:32] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist. 2025/07/18 17:15:33 stdout [2025-07-18 17:15:32] [0.3.83] [INFO] xiaomusic.py:1373: The file conf/setting.json does not exist. 2025/07/18 17:15:33 stdout ==> /app/xiaomusic.log.txt <==

看不出来为啥

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.***>


链接到 GitHub Issue

基于 MIT 许可发布