Unable to create podman container: unable to open database file
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 45/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
- 技术栈
- docker
调研方向
从 ~/.config/containers/systemd/wallabag.service 中的 quadlet 开始,并使用 systemctl --user --no-pager cat wallabag 检查生成的命令。检查启动期间挂载的 /srv/www-wallabag/container/data 卷是如何使用的;当 systemctl start wallabag 创建容器时不再出现 unable to open database file 错误,即表示完成。
由索引模型根据 Issue 内容生成。
描述
When I try to create a podman container of wallabag, using quadlets, the creation of the container quickly fails with unable to open database file
I tried setting the database file and it's directory to be owned by nobody, 75533 (the unamed user the file was originally created as?) and the current user invoking the pod, to no avail
The quadlet file:
[Unit]
Description=Wallabag server
# See Quadlet documentation
[Container]
ContainerName=Wallabag
Image=docker.io/wallabag/wallabag
AutoUpdate=registry
NoNewPrivileges=true
# Recommended volume for Wallabag's persistent data such as configuration and SQLite databases
Volume=/srv/www-wallabag/container/data:/var/www/wallabag/data
# Open a port 8081 on the local machine:
PublishPort=127.0.0.1:8081:8000
Environment=TZ=Europe/Rome
Environment=SYMFONY__ENV__SERVER_NAME="localhost:8081"
Environment=SYMFONY__ENV__DOMAIN_NAME="http://localhost:8081/"
Environment=SYMFONY__ENV__LOCALE=it
Environment=PUID=988
Environment=PGID=988
[Install]
# Start by default on boot
WantedBy=multi-user.target default.target
To reproduce, install the quadlet file in ~/.config/containers/systemd/wallabag.service and run systemctl start wallabag
If you want to clearly see the output, use the cmd line generated by systemd with systemctl --user --no-pager cat wallabag
- 主要语言
- Shell
- 星标
- 775
- 派生
- 171
- 平均合并
- 38 分钟
- 30 天内合并 PR
- 1
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
wallabag/docker 的其他 Issue
-
Update PHP to at least 8.2 and rebuild using todays (Oct 21) php images可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
-
难度 3/5 1-2 天 新手友好度 57/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
Awaiting response
难度 4/5 3-5 天 新手友好度 32/100
-
难度 4/5 3-5 天 新手友好度 28/100
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 66/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
Leonxlnx/taste-skill#164 ·
维护者通常 1 天内回复
-
patch: moving an executable script removes its executable bit可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭reproduced
难度 2/5 1-3 小时 新手友好度 78/100
anomalyco/opencode#58651 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
-
使用脚本 DD 腾讯云 报错未关闭
难度 2/5 1-3 小时 新手友好度 82/100