Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Migrations

## v8.15.0

UID is changed from 1001 on alpine and 999 on ubuntu to 64604.
If you already deployed the containers with mounted volume, you NEED to change the ownershop of these volumes and the files underneath.

```bash
chown -R 64604:64604 [PATH TO THE VOLUME]
```
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
- [OpenVox DB container](#openvox-db-container)
- [Informations](#informations)
- [End of Life for OpenVox DB 7](#end-of-life-for-openvox-db-7)
- [Migration](#migration)
- [Version schema](#version-schema)
- [Configuration](#configuration)
- [Cert File Locations](#cert-file-locations)
Expand Down Expand Up @@ -37,6 +38,10 @@ see the [Containerfiles and supporting folders](https://github.com/openvoxprojec
Consequently, no new OpenVox DB 7 releases will be build.
Existing versions will be retained for continued access.

### Migration

Before updating to a newer version of your container, you should check the [migration document](MIGRATION.md)

## Version schema

Images are published to `ghcr.io/openvoxproject/openvoxdb` and
Expand Down
8 changes: 4 additions & 4 deletions openvoxdb/prep_release_container.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ fi
# Create puppet user and group, and set permissions on necessary directories
# Used for rootless execution of the container and to match permissions expected by Puppet Server
if command -v apk > /dev/null 2>&1; then
addgroup -g 1001 puppetdb
adduser -G puppetdb -u 1001 -h /opt/puppetlabs/server/data/puppetdb -H -D -s /sbin/nologin puppetdb
addgroup -g 64604 puppetdb
adduser -G puppetdb -u 64604 -h /opt/puppetlabs/server/data/puppetdb -H -D -s /sbin/nologin puppetdb
else
groupadd --gid 1001 puppetdb
groupadd --gid 64604 puppetdb
useradd \
--gid puppetdb \
--home-dir /opt/puppetlabs/server/data/puppetdb \
--no-create-home \
--shell /usr/sbin/nologin \
--uid 1001 \
--uid 64604 \
puppetdb
fi

Expand Down
Loading