mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-08-06 14:17:27 +02:00
add workaround for what possibly is a PDO bug related to tls connections to pgsql
This commit is contained in:
parent
4088636865
commit
bab03ea516
@ -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
|
sudo -u app mkdir -p $DST_DIR/$d
|
||||||
done
|
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
|
for d in cache lock feed-icons; do
|
||||||
chmod 777 $DST_DIR/$d
|
chmod 777 $DST_DIR/$d
|
||||||
find $DST_DIR/$d -type f -exec chmod 666 {} \;
|
find $DST_DIR/$d -type f -exec chmod 666 {} \;
|
||||||
|
Loading…
Reference in New Issue
Block a user