Project

General

Profile

Actions

Demande #6246

closed

Màj mastodon 4.2.0

Added by Quentin Gibeaux about 1 year ago. Updated about 1 year ago.

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

0%

Estimated time:

Description

mise à jour majeure


Related issues 1 (0 open1 closed)

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

Actions
Actions #1

Updated by Quentin Gibeaux about 1 year ago

Actions #2

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 #3

Updated by Quentin Gibeaux about 1 year ago

  • Status changed from Résolu to Fermé
Actions

Also available in: Atom PDF