wallabag / wallabag/docker

Unable to create podman container: unable to open database file

Open
#457 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
769
Forks
168
PR merge metrics
No merged PRs in 30d

Description

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`

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.