diff --git a/bitnami/postgresql-ha/README.md b/bitnami/postgresql-ha/README.md index 8b9e844ec2..08eb1d88e2 100644 --- a/bitnami/postgresql-ha/README.md +++ b/bitnami/postgresql-ha/README.md @@ -958,6 +958,25 @@ helm upgrade my-release oci://REGISTRY_NAME/REPOSITORY_NAME/postgresql-ha \ > Note: you need to substitute the placeholders *[POSTGRES_PASSWORD]*, and *[REPMGR_PASSWORD]* with the values obtained from instructions in the installation notes. > Note: As general rule, it is always wise to do a backup before the upgrading procedures. +If a message like the following appears in the logs: + +```log +... +postgresql-repmgr 13:57:07.50 INFO ==> ** Starting repmgrd ** +[2024-06-12 13:57:07] [NOTICE] repmgrd (repmgrd 5.4.1) starting up +[2024-06-12 13:57:07] [ERROR] an older version of the "repmgr" extension is installed +[2024-06-12 13:57:07] [DETAIL] extension version 5.3 is installed but newer version 5.4 is available +... +``` + +You will need to perform the following step first, and then continue with the upgrade: + +```console +$ helm upgrade mypg oci://registry-1.docker.io/bitnamicharts/postgresql-ha \ + --set postgresql.replicaCount=1 \ + --set postgresql.upgradeRepmgrExtension=true +``` + ### To 14.0.0 This major bump changes the following security defaults: @@ -1221,4 +1240,4 @@ Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and -limitations under the License. \ No newline at end of file +limitations under the License.