pixelfed / support

Issue tracker for installations of Pixelfed, before a bug is identified.
https://docs.pixelfed.org/running-pixelfed/troubleshooting.html
8 stars 3 forks source link

Connection refused has_legal_notice #167

Open okpierre opened 1 year ago

okpierre commented 1 year ago

Pixelfed https://github.com/pixelfed/pixelfed/commit/71cc016e0ba575e324378bcac6186efe045b5f7e

Log flooded with this message:

Connection refused (SQL: select from config_cache where k = instance.has_legal_notice limit 1) (View: /pixelfed/resources/views/layouts/partial/footer.blade.php) (View: /pixelfed/resources/views/layouts/partial/footer.blade.php) (View: /pixelfed/resources/views/layouts/partial/footer.blade.php) {"exception":"[object] (Illuminate\View\ViewException(code: 0): SQLSTATE[HY000] [2002] Connection refused (SQL: select from config_cache where k = instance.has_legal_notice limit 1) (View: /pixelfed/resources/views/layouts/partial/footer.blade.php) (View: /pixelfed/resources/views/layouts/partial/footer.blade.php) (View: /pixelfed/resources/views/layouts/partial/footer.blade.php) at /pixelfed/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760)`

trwnh commented 1 year ago

it seems like your pixelfed installation isn't able to connect to the database for some reason