1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2025-12-13 15:58:13 +08:00
Files
xiaomusic/docs/issues/101.md
Issues Docs [BOT] f27e5299a8 Auto-Generate docs 🤖
2025-07-20 07:25:17 +00:00

226 lines
11 KiB
Markdown
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
title: 群晖docker安装 xiaomusic
---
# 群晖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
<img width="491" alt="image" src="https://gproxy.hanxi.cc/proxy/hanxi/xiaomusic/assets/38914725/e318062b-bd70-464c-a8df-8ce3635f2d84">
- MI_HARDWARE=型号 前面第4 步骤获取的
- XIAOMUSIC_SEARCH=搜索方式我填写的bilisearch: 意思是通过 bilibili 搜索
- MI_DID=前面第4 步骤获取的
- MI_USER=小米账号
- MI_PASS=小米密码
- XIAOMUSIC_FUZZY_MATCH_CUTOFF=模糊匹配,最小为 0.1 最大为 1越小越模糊越大越精准
## 6. 配置端口
<img width="757" alt="image (1)" src="https://gproxy.hanxi.cc/proxy/hanxi/xiaomusic/assets/38914725/2b6b9283-296f-4845-a3ff-0ebb11f548b4">
## 7. 映射路径
<img width="737" alt="image (2)" src="https://gproxy.hanxi.cc/proxy/hanxi/xiaomusic/assets/38914725/593718dd-8302-4a69-bec9-36e70f3f0407">
## 评论
### 评论 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](https://gproxy.hanxi.cc/proxy/user-attachments/assets/045ae64b-d8d8-4f1d-9ed1-412af011df0c)
你好。为什么我这个地方的文字不是中文的?求解
---
### 评论 7 - hanxi
@hanfz123 你是不是屏蔽了谷歌的某些域名?
---
### 评论 8 - hanfz123
> [@hanfz123](https://github.com/hanfz123) 你是不是屏蔽了谷歌的某些域名?
不确定,但是我访问谷歌啥的都正常啊
---
### 评论 9 - 22555642
你好我在群辉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 <==
---
### 评论 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
我把日志发给您,您可以帮我看看嘛?
------------------&nbsp;原始邮件&nbsp;------------------
发件人: "hanxi/xiaomusic" ***@***.***&gt;;
发送时间:&nbsp;2025年7月19日(星期六) 凌晨1:31
***@***.***&gt;;
***@***.******@***.***&gt;;
主题:&nbsp;Re: [hanxi/xiaomusic] 群晖docker安装 xiaomusic (Issue #101)
hanxi left a comment (hanxi/xiaomusic#101)
你好我在群辉DOCKER上部署运行后一直打不开设置页面点开日志里面写的是这个请问要怎么办呢
2025/07/18&nbsp;17:15:55 stdout [2025-07-18&nbsp;17:15:54]&nbsp;[0.3.83]&nbsp;[INFO]&nbsp;xiaomusic.py:1373:&nbsp;The&nbsp;file&nbsp;conf/setting.json&nbsp;does&nbsp;not&nbsp;exist.
2025/07/18&nbsp;17:15:55 stdout [2025-07-18&nbsp;17:15:54]&nbsp;[0.3.83]&nbsp;[INFO]&nbsp;xiaomusic.py:1373:&nbsp;The&nbsp;file&nbsp;conf/setting.json&nbsp;does&nbsp;not&nbsp;exist.
2025/07/18&nbsp;17:15:55 stdout ==&gt;&nbsp;/app/xiaomusic.log.txt&nbsp;<==
2025/07/18&nbsp;17:15:55 stdout &nbsp;
2025/07/18&nbsp;17:15:55 stderr tail:&nbsp;/app/xiaomusic.log.txt&nbsp;has&nbsp;been&nbsp;replaced;&nbsp;following&nbsp;end&nbsp;of&nbsp;new&nbsp;file
2025/07/18&nbsp;17:15:52 stdout 2025-07-18&nbsp;17:15:51,292&nbsp;INFO&nbsp;spawned:&nbsp;'xiaomusic'&nbsp;with&nbsp;pid&nbsp;21
2025/07/18&nbsp;17:15:48 stdout 2025-07-18&nbsp;17:15:47,284&nbsp;WARN&nbsp;exited:&nbsp;xiaomusic&nbsp;(exit&nbsp;status&nbsp;1;&nbsp;not&nbsp;expected)
2025/07/18&nbsp;17:15:48 stdout ==&gt;&nbsp;/app/supervisord.log&nbsp;<==
2025/07/18&nbsp;17:15:48 stdout &nbsp;
2025/07/18&nbsp;17:15:43 stderr tail:&nbsp;/app/xiaomusic.log.txt&nbsp;has&nbsp;been&nbsp;replaced;&nbsp;following&nbsp;end&nbsp;of&nbsp;new&nbsp;file
2025/07/18&nbsp;17:15:43 stdout [2025-07-18&nbsp;17:15:42]&nbsp;[0.3.83]&nbsp;[INFO]&nbsp;xiaomusic.py:1373:&nbsp;The&nbsp;file&nbsp;conf/setting.json&nbsp;does&nbsp;not&nbsp;exist.
2025/07/18&nbsp;17:15:43 stdout [2025-07-18&nbsp;17:15:42]&nbsp;[0.3.83]&nbsp;[INFO]&nbsp;xiaomusic.py:1373:&nbsp;The&nbsp;file&nbsp;conf/setting.json&nbsp;does&nbsp;not&nbsp;exist.
2025/07/18&nbsp;17:15:43 stdout ==&gt;&nbsp;/app/xiaomusic.log.txt&nbsp;<==
2025/07/18&nbsp;17:15:43 stdout &nbsp;
2025/07/18&nbsp;17:15:40 stdout 2025-07-18&nbsp;17:15:39,479&nbsp;INFO&nbsp;spawned:&nbsp;'xiaomusic'&nbsp;with&nbsp;pid&nbsp;18
2025/07/18&nbsp;17:15:37 stdout 2025-07-18&nbsp;17:15:36,473&nbsp;WARN&nbsp;exited:&nbsp;xiaomusic&nbsp;(exit&nbsp;status&nbsp;1;&nbsp;not&nbsp;expected)
2025/07/18&nbsp;17:15:37 stdout ==&gt;&nbsp;/app/supervisord.log&nbsp;<==
2025/07/18&nbsp;17:15:37 stdout &nbsp;
2025/07/18&nbsp;17:15:33 stdout [2025-07-18&nbsp;17:15:32]&nbsp;[0.3.83]&nbsp;[INFO]&nbsp;xiaomusic.py:1373:&nbsp;The&nbsp;file&nbsp;conf/setting.json&nbsp;does&nbsp;not&nbsp;exist.
2025/07/18&nbsp;17:15:33 stdout [2025-07-18&nbsp;17:15:32]&nbsp;[0.3.83]&nbsp;[INFO]&nbsp;xiaomusic.py:1373:&nbsp;The&nbsp;file&nbsp;conf/setting.json&nbsp;does&nbsp;not&nbsp;exist.
2025/07/18&nbsp;17:15:33 stdout ==&gt;&nbsp;/app/xiaomusic.log.txt&nbsp;<==
看不出来为啥
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***&gt;
---
[链接到 GitHub Issue](https://github.com/hanxi/xiaomusic/issues/101)