File tree 2 files changed +9
-3
lines changed
ansible/files/admin_api_scripts
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -174,8 +174,6 @@ function initiate_upgrade {
174
174
chown -R postgres:postgres /tmp/pg_upgrade/
175
175
cd /tmp/pg_upgrade/
176
176
177
- echo " running" > /tmp/pg-upgrade-status
178
-
179
177
# Fixing erros generated by previous dpkg executions (package upgrades et co)
180
178
echo " 2. Fixing potential errors generated by dpkg"
181
179
DEBIAN_FRONTEND=noninteractive dpkg --configure -a --force-confold || true # handle errors generated by dpkg
@@ -195,7 +193,14 @@ function initiate_upgrade {
195
193
196
194
mkdir -p " $MOUNT_POINT "
197
195
echo " 5. Mounting block device"
196
+
197
+ sleep 5
198
+ e2fsck -pf " $BLOCK_DEVICE "
199
+
200
+ sleep 1
198
201
mount " $BLOCK_DEVICE " " $MOUNT_POINT "
202
+
203
+ sleep 1
199
204
resize2fs " $BLOCK_DEVICE "
200
205
fi
201
206
270
275
271
276
trap cleanup ERR
272
277
278
+ echo " running" > /tmp/pg-upgrade-status
273
279
if [ " $IS_DRY_RUN " = true ]; then
274
280
initiate_upgrade
275
281
else
Original file line number Diff line number Diff line change 1
- postgres-version = " 15.1.0.73 "
1
+ postgres-version = " 15.1.0.74 "
You can’t perform that action at this time.
0 commit comments