-
私有部署从 v3.0.15 升级到 v3.1.8 后提示 “exec /opt/siyuan/entrypoint.sh: exec format error”
2024-10-09 10:22问题解决了 原来是镜像下载错了 我的 NAS 应该选 amd64 的而不是 arm64
另外不知道为啥 PUID 和 PGID 不能赋值 0 ,赋值 1000 才正常
-
私有部署从 v3.0.15 升级到 v3.1.8 后提示 “exec /opt/siyuan/entrypoint.sh: exec format error”
2024-10-09 10:06请问是改了哪里呢?我对照了 README_zh_CN.md,如下:
version: "3.9" services: siyuan: image: b3log/siyuan:latest container_name: SiYuan # (可修改) command: ['--workspace=/siyuan/workspace/', '--accessAuthCode=密码XXX'] environment: - TZ=Asia/Shanghai - PUID=0 # 自定义用户 ID - PGID=0 # 自定义组 ID volumes: - /share/CACHEDEV1_DATA/Container/Docker/siyuan/workspace:/siyuan/workspace # (可修改) ports: - 6806:6806 # 默认端口,host模式无法修改,需运行后调整软件配置 restart: unless-stopped network_mode: host