Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Unable to create podman container: unable to open database file

未关闭
#457 4 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 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 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

wallabag/docker 的其他 Issue

查看 wallabag/docker 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。