bitwarden / bitwarden/self-host
nginx Folder missing on creating OCI image on Proxmox
- Dominant language
- Shell
- Stars
- 744
- Forks
- 107
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 7
Description
### Self-host installation scripts issue
- [x] I understand this repository only tracks self-host installation scripts and any other issues should be reported in bitwarden/server
### Steps To Reproduce
When I create an OCI image using ghcr.io/bitwarden/lite (across all versions), the container does not start as expected because the nginx folder is missing from the /var/run path. For some reason, the folder is not created at startup.
As a workaround, I added mkdir /var/run/nginx to /entrypoint.sh before the line chown -R $PUID:$PGID. After doing this, everything works as expected.
See the screenshots below.
### Expected Result
Container should normaly start.
### Actual Result
It starts with the error message: "chown: /var/run/nginx: No such file or directory" and "nginx entered FATAL state".
Afterwards, the application does not allow me to log in and shows another error message in the frontend.
### Screenshots or Videos
### Additional Context
_No response_
### Build Version
2026.4.1
### Environment
Self-Hosted
### Environment Details
Proxmox 9.1.9 over OCI Image (Not Docker)
### Issue Tracking Info
- [x] I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.
Contributor guide
Assessment
This issue has not been assessed yet.