Projet

Général

Profil

Actions

Demande #6246

fermé

Màj mastodon 4.2.0

Ajouté par Quentin Gibeaux il y a 10 mois. Mis à jour il y a 10 mois.

Statut:
Fermé
Priorité:
Normale
Assigné à:
Version cible:
Début:
06/09/2023
Echéance:
% réalisé:

0%

Temps estimé:

Description

mise à jour majeure


Demandes liées 1 (0 ouverte1 fermée)

Copié depuis Admins - Demande #6245: Màj mastodon 4.2.0FerméQuentin Gibeaux06/09/2023

Actions

Mis à jour par Quentin Gibeaux il y a 10 mois

Mis à jour par Quentin Gibeaux il y a 10 mois

  • Statut changé de Nouveau à 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)

Mis à jour par Quentin Gibeaux il y a 10 mois

  • Statut changé de Résolu à Fermé
Actions

Formats disponibles : Atom PDF