Actions
Demande #6246
closedMàj mastodon 4.2.0
Start date:
09/06/2023
Due date:
% Done:
0%
Estimated time:
Description
mise à jour majeure
Updated by Quentin Gibeaux about 1 year ago
- Copied from Demande #6245: Màj mastodon 4.2.0 added
Updated by Quentin Gibeaux about 1 year ago
- Status changed from Nouveau to Résolu
J'ai fait la migration, mais c'était très lent, et j'ai oublié qu'il faut pas lancer les db upgrade via pg_bouncer ; le levage des locks a planté, j'ai relancé, sans erreur.
Note importante :
You cannot use pgBouncer to perform db:migrate tasks. But this is easy to work around. If your postgres and pgbouncer are on the same host, it can be as simple as defining DB_PORT=5432 together with RAILS_ENV=production when calling the task, for example: RAILS_ENV=production DB_PORT=5432 bundle exec rails db:migrate (you can specify DB_HOST too if it’s different, etc)
Actions