diff --git a/Containerfile.alpine b/Containerfile.alpine index fce259b..6faa404 100644 --- a/Containerfile.alpine +++ b/Containerfile.alpine @@ -35,8 +35,8 @@ ARG RUBYGEM_R10K=5.0.3 # renovate: datasource=rubygems depName=rugged ARG RUBYGEM_RUGGED=1.9.0 -ARG OPENVOX_USER_UID=1001 -ARG OPENVOX_USER_GID=1001 +ARG OPENVOX_USER_UID=64604 +ARG OPENVOX_USER_GID=64604 # renovate: datasource=custom.voxpupuli-artifacts depName=openvox-server ARG OPENVOXSERVER_VERSION=8.14.1 diff --git a/Containerfile.ubuntu b/Containerfile.ubuntu index 9743459..c192b56 100644 --- a/Containerfile.ubuntu +++ b/Containerfile.ubuntu @@ -44,8 +44,8 @@ ARG RUBYGEM_R10K=5.0.3 # renovate: datasource=rubygems depName=rugged ARG RUBYGEM_RUGGED=1.9.0 -ARG OPENVOX_USER_UID=1001 -ARG OPENVOX_USER_GID=1001 +ARG OPENVOX_USER_UID=64604 +ARG OPENVOX_USER_GID=64604 # renovate: datasource=custom.voxpupuli-artifacts depName=openvox-server ARG OPENVOXSERVER_VERSION=8.14.1 diff --git a/MIGRATION.md b/MIGRATION.md new file mode 100644 index 0000000..f9b970a --- /dev/null +++ b/MIGRATION.md @@ -0,0 +1,10 @@ +# Migrations + +## V8.12.0 -> V8.13.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] +``` diff --git a/README.md b/README.md index ff71fb6..73b8c63 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ - [OpenVox Server container](#openvox-server-container) - [Informations](#informations) - [End of Life for OpenVox Server 7](#end-of-life-for-openvox-server-7) + - [Migration](#migration) - [Note about environment caching](#note-about-environment-caching) - [Version schema](#version-schema) - [Configuration](#configuration) @@ -55,6 +56,10 @@ For compose file see: [CRAFTY](https://github.com/voxpupuli/crafty/tree/main/ope Consequently, no new OpenVox Server 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) + ## Note about environment caching ⚠️ The OpenVox Server has [the environment caching](https://www.puppet.com/docs/puppet/8/server/admin-api/v1/environment-cache.html) enabled by default.