summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-07-03 21:37:43 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-07-03 21:37:43 +0300
commitf57bb8ec244c39615d4ab247a7016aded11080a2 (patch)
treeccabddd1150fe869946606f42111f74481613cb9
parent2d56105c932f49828eaca36f543306c8460b986c (diff)
parentbab03ea516e015ec807169ec3528f90f74e190a5 (diff)
Merge branch 'sslmode' into 'master'
add workaround for what possibly is a PDO bug related to tls connections to pgsql See merge request tt-rss/tt-rss!156
-rw-r--r--.docker/app/startup.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/.docker/app/startup.sh b/.docker/app/startup.sh
index 85c3f37dd..767ea786e 100644
--- a/.docker/app/startup.sh
+++ b/.docker/app/startup.sh
@@ -56,6 +56,11 @@ for d in cache lock feed-icons plugins.local themes.local templates.local cache/
sudo -u app mkdir -p $DST_DIR/$d
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
+
for d in cache lock feed-icons; do
chmod 777 $DST_DIR/$d
find $DST_DIR/$d -type f -exec chmod 666 {} \;