本帖最后由 65999wlc 于 2020-3-2 10:32 编辑
linuxserver/daapt镜像有问题,大家还是用 jaco1960/forked-daapd-jcb
---------------------------------------------------------------------------------------------------------------------------------------------------------
群晖docker安装囧大的教程过程中出现的几个问题
首先是按照囧大的配置,结果显示
daapd could not open config file
想了下应该是PUID和PGID的问题,改成0,然后OK了,成功生成了文件,附上docker命令行
docker create \
--name=daapd \
--net=host \
-e PUID=0 \
-e PGID=0 \
-e TZ=Asia/Shanghai \
-v path to data:/config \
-v path to data:/music \
--restart unless-stopped \
jaco1960/forked-daapd-jcb
和docker-compose.yaml
---
version: "2"
services:
daapd:
image: jaco1960/forked-daapd-jcb
container_name: daapd
network_mode: host
environment:
- PUID=0
- PGID=0
- TZ=Asia/Shanghai
volumes:
- path to data:/config
- path to music:/music
restart: unless-stopped
虽然文件成功生成,不过还是出现了报错
[FATAL] httpd: Could not bind to port 3689 (forked-daapd already running?)
[FATAL] main: HTTPd thread failed to start
这个是3689被占用,putty中查看,命令 netstat -anp |grep 3689
结果显示是之前已经被我删掉的那个容器~~,直接kill -9关闭掉
然后重启容器,成功登陆页面,之后全部照着囧大的操作就好了
|