mirror of
https://github.com/Retropex/btcpayserver-docker.git
synced 2025-05-12 21:10:42 +02:00
Add documentation if postgres update fail on rapsberry pi 4
This commit is contained in:
parent
5b82a9a6ae
commit
384a0a9038
@ -11,7 +11,10 @@ fi
|
|||||||
if [[ "$CURRENT_PGVERSION" != "$EXPECTED_PGVERSION" ]] && \
|
if [[ "$CURRENT_PGVERSION" != "$EXPECTED_PGVERSION" ]] && \
|
||||||
[[ "$CURRENT_PGVERSION" != "" ]]; then
|
[[ "$CURRENT_PGVERSION" != "" ]]; then
|
||||||
sed -i "s/$/ $CURRENT_PGVERSION/" /etc/apt/sources.list.d/pgdg.list
|
sed -i "s/$/ $CURRENT_PGVERSION/" /etc/apt/sources.list.d/pgdg.list
|
||||||
apt-get update
|
if ! apt-get update; then
|
||||||
|
echo "apt-get update failed. Are you using raspberry pi 4? If yes, please follow https://blog.samcater.com/fix-workaround-rpi4-docker-libseccomp2-docker-20/"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
if ! apt-get install -y --no-install-recommends \
|
if ! apt-get install -y --no-install-recommends \
|
||||||
postgresql-$CURRENT_PGVERSION \
|
postgresql-$CURRENT_PGVERSION \
|
||||||
postgresql-contrib-$CURRENT_PGVERSION; then
|
postgresql-contrib-$CURRENT_PGVERSION; then
|
||||||
|
@ -11,7 +11,10 @@ fi
|
|||||||
if [[ "$CURRENT_PGVERSION" != "$EXPECTED_PGVERSION" ]] && \
|
if [[ "$CURRENT_PGVERSION" != "$EXPECTED_PGVERSION" ]] && \
|
||||||
[[ "$CURRENT_PGVERSION" != "" ]]; then
|
[[ "$CURRENT_PGVERSION" != "" ]]; then
|
||||||
sed -i "s/$/ $CURRENT_PGVERSION/" /etc/apt/sources.list.d/pgdg.list
|
sed -i "s/$/ $CURRENT_PGVERSION/" /etc/apt/sources.list.d/pgdg.list
|
||||||
apt-get update
|
if ! apt-get update; then
|
||||||
|
echo "apt-get update failed. Are you using raspberry pi 4? If yes, please follow https://blog.samcater.com/fix-workaround-rpi4-docker-libseccomp2-docker-20/"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
if ! apt-get install -y --no-install-recommends \
|
if ! apt-get install -y --no-install-recommends \
|
||||||
postgresql-$CURRENT_PGVERSION \
|
postgresql-$CURRENT_PGVERSION \
|
||||||
postgresql-contrib-$CURRENT_PGVERSION; then
|
postgresql-contrib-$CURRENT_PGVERSION; then
|
||||||
|
Loading…
Reference in New Issue
Block a user