summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-07-03 21:39:17 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-07-03 21:39:17 +0300
commitfb219848b662e2bb5985eaeeb51194d74388b1c3 (patch)
tree24e5e2c7e6c27c6604ff9e5ed4bc1349119b35e9
parentbab03ea516e015ec807169ec3528f90f74e190a5 (diff)
add same workaround to updater startup script
-rw-r--r--.docker/app/updater.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/.docker/app/updater.sh b/.docker/app/updater.sh
index 9d6dc15d7..8bca0413d 100644
--- a/.docker/app/updater.sh
+++ b/.docker/app/updater.sh
@@ -30,4 +30,9 @@ while [ ! -s $DST_DIR/config.php -a -e $DST_DIR/.app_is_ready ]; do
sleep 3
done
+# this is some next level bullshit
+# - https://stackoverflow.com/questions/65622914/why-would-i-get-a-php-pdoexception-complaining-that-it-cant-make-a-postgres-con
+# - fatal error: could not open certificate file "/root/.postgresql/postgresql.crt": Permission denied
+chown -R app:app /root # /.postgresql
+
sudo -E -u app "${TTRSS_PHP_EXECUTABLE}" $APP_INSTALL_BASE_DIR/tt-rss/update_daemon2.php "$@"