Call to undefined function pg_connect in tag 2023-10-11 #14

Closed
opened 2023-10-12 21:10:46 +00:00 by softmetz · 4 comments

Hi. Thanks for the great package. I run pixelfed on :latest (currently pointing to :2023-10-11) usually, but today my instance was broken. All I got from the logs was

+ php /wait-for-db.php
PHP Fatal error:  Uncaught Error: Call to undefined function pg_connect() in /wait-for-db.php:15
Stack trace:
#0 /wait-for-db.php(20): connect()
#1 {main}
  thrown in /wait-for-db.php on line 15

I was able to fix it, by sticking to tag :2023-10-09 which works fine

Hi. Thanks for the great package. I run pixelfed on `:latest` (currently pointing to `:2023-10-11`) usually, but today my instance was broken. All I got from the logs was ``` + php /wait-for-db.php PHP Fatal error: Uncaught Error: Call to undefined function pg_connect() in /wait-for-db.php:15 Stack trace: #0 /wait-for-db.php(20): connect() #1 {main} thrown in /wait-for-db.php on line 15 ``` I was able to fix it, by sticking to tag `:2023-10-09` which works fine
Owner

Hey, do you use postgres or my/maria?
I recently merged a fix for postgres, maybe it was faulty

Hey, do you use postgres or my/maria? I recently merged a fix for postgres, maybe it was faulty
Author

Yes, I am on PostgreSQL.

Yes, I am on PostgreSQL.
Owner

Hm, so this is the same error as in #13, which was supposedly solved in 2023-10-10. Baffles me.

I need to set up a test instance with postgres and look into it

Hm, so this is the same error as in #13, which was supposedly solved in 2023-10-10. Baffles me. I need to set up a test instance with postgres and look into it
Author

@chris I don't know what changed, but it works again. Thank you for keeping up the great effort.

@chris I don't know what changed, but it works again. Thank you for keeping up the great effort.
Sign in to join this conversation.
No labels
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: dockers/pixelfed#14
No description provided.