Skip to content

Commit 67ca673

Browse files
meiserlohcesmarvin
authored andcommitted
Merge branch 'release/v14.17-5'
2 parents 312530c + 80d2aa9 commit 67ca673

File tree

5 files changed

+22
-3
lines changed

5 files changed

+22
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [v14.17-5] - 2025-07-25
11+
### Fixed
12+
- [#56] Fix permission denied error on minor upgrade
13+
1014
## [v14.17-4] - 2025-07-25
1115
### Fixed
1216
- [#54] Fix problem to chown files while post-upgrade script deletes the pgdata

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ RUN set -x -o errexit \
1818
FROM registry.cloudogu.com/official/base:3.21.0-1
1919

2020
LABEL NAME="official/postgresql" \
21-
VERSION="14.17-4" \
21+
VERSION="14.17-5" \
2222
maintainer="[email protected]"
2323

2424
ENV LANG=en_US.utf8 \

dogu.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"Name": "official/postgresql",
3-
"Version": "14.17-4",
3+
"Version": "14.17-5",
44
"DisplayName": "PostgreSQL",
55
"Description": "PostgreSQL Database.",
66
"Url": "https://www.postgresql.org/",

resources/post-upgrade.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ source "$(dirname "${BASH_SOURCE[0]}")/util.sh"
88

99
function prepareForBackup() {
1010
isBackupAvailable=true
11-
chownPgdata
1211

1312
# Moving backup and emptying PGDATA directory
1413
mv "${PGDATA}"/postgresqlFullBackup.dump /tmp/postgresqlFullBackup.dump
@@ -195,6 +194,9 @@ function runPostUpgrade() {
195194
FROM_VERSION="${1}"
196195
TO_VERSION="${2}"
197196

197+
# Give the postgres user the necessary permissions
198+
chownPgdata
199+
198200
isBackupAvailable=false
199201
if [ -e "${PGDATA}"/postgresqlFullBackup.dump ]; then
200202
prepareForBackup

resources/startup.sh

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,18 @@ set -o errexit
33
set -o nounset
44
set -o pipefail
55

6+
echo " ./////, "
7+
echo " ./////==//////* "
8+
echo " ////. ___ ////. "
9+
echo " ,**,. //// ,////A, */// ,**,. "
10+
echo " ,/////////////* */////* *////////////A "
11+
echo " ////' \VA. '|' .///' '///* "
12+
echo " */// .*///*, | .*//*, ///* "
13+
echo " (/// (//////)**--_./////_----*//////) ///) "
14+
echo " V/// '°°°° (/////) °°°°' //// "
15+
echo " V/////(////////\. '°°°' ./////////(///(/' "
16+
echo " 'V/(/////////////////////////////V' "
17+
618
# shellcheck disable=SC1091
719
source "$(dirname "${BASH_SOURCE[0]}")/util.sh"
820

@@ -126,6 +138,7 @@ function runMain() {
126138
sleep 3
127139
done
128140

141+
# Give the postgres user the necessary permissions
129142
chownPgdata
130143

131144
if [ -z "$(ls -A "$PGDATA")" ]; then

0 commit comments

Comments
 (0)