Project

General

Profile

Demande #6246

Màj mastodon 4.2.0

Added by Quentin Gibeaux 2 months ago. Updated 2 months ago.

Status:
Fermé
Priority:
Normale
Target version:
Start date:
09/06/2023
Due date:
% Done:

0%

Estimated time:

Description

mise à jour majeure


Related issues

Copied from Admins - Demande #6245: Màj mastodon 4.2.0Fermé09/06/2023

Actions

History

#1

Updated by Quentin Gibeaux 2 months ago

#2

Updated by Quentin Gibeaux 2 months 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)

#3

Updated by Quentin Gibeaux 2 months ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF