Closed
Description
Is there an existing issue for this?
- I have searched the existing issues
Can the issue be reproduced with the default theme (daylight/midnight)?
- I was able to reproduce the issue with the default theme
Could the issue be due to extensions?
- I've ruled out the possibility that the extension is causing the problem.
Describe the problem
镜像更新到3.1.8后,无法启动
和#12596 有关,容器中已存在siyuan用户
docker logs如下
Using existing group: siyuan (1000)
Creating user siyuan (PUID: 1080, PGID: 1000)
adduser: user 'siyuan' in use
cat /etc/passwd
siyuan:x:1000:1000:Linux User,,,:/home/siyuan:/bin/sh)
Expected result
容器中已存在siyuan用户时,不再添加siyuan用户
Screenshot or screen recording presentation
No response
Version environment
- Version: 3.1.8
Log file
docker logs如下
Using existing group: siyuan (1000)
Creating user siyuan (PUID: 1080, PGID: 1000)
adduser: user 'siyuan' in use
More information
No response
Activity
88250 commentedon Sep 30, 2024
欢迎 PR 帮助改进。
wanghan0501 commentedon Sep 30, 2024
me too
Mowen-M commentedon Sep 30, 2024
同样无法启动,PUID和PGID默认1000也不行,可能是冲突了
redjumper commentedon Sep 30, 2024
已提交pr #12658
不太清楚以前的逻辑,我看v3.1.7版本的容器是以root用户运行的。pr #12596 ,如果不指定UID与PID,强制了以1000:1000运行,这是在预期内?
88250 commentedon Sep 30, 2024
以前的版本是用 siyuan 用户运行的:
Macavity commentedon Sep 30, 2024
It's a bit confusing how exactly this happened, with a new image the container should start fresh 🤔
Can you share your compose file or how you start the container?
redjumper commentedon Sep 30, 2024
I forgot why i add user: 0:0, maybe volume permissions.
redjumper commentedon Sep 30, 2024
以前的版本如果不指定--workspace,是否能运行,有没有默认值
🎨 fix issue #12657 (#12658)
88250 commentedon Sep 30, 2024
#12658