J’ai fait une mauvaise chose. J’ai hérité d’un serveur Discourse pour mon organisation. Depuis des mois, chaque fois que je me connectais, il m’indiquait qu’il y avait des mises à jour critiques à installer (3.2.x –> 3.3.x). J’ai finalement cédé et cliqué sur les mises à jour dans le panneau d’administration. La mise à jour Docker s’est bien déroulée - elle s’est terminée assez rapidement et tout fonctionnait encore après. Ensuite, j’ai cliqué sur la mise à jour Discourse 3.3. Elle a progressé pendant un certain temps, puis a affiché ce message d’erreur :
Bundle complete! 146 Gemfile dependencies, 185 gems now installed.
Gems in the groups 'development' and 'test' were not installed.
Bundled gems are installed into `./vendor/bundle`
Post-install message from i18n:
PSA: I18n will be dropping support for Ruby < 3.2 in the next major release (April 2025), due to Ruby's end of life for 3.1 and below (https://endoflife.date/ruby). Please upgrade to Ruby 3.2 or newer by April 2025 to continue using future versions of this gem.
1 installed gem you directly depend on is looking for funding.
Run `bundle fund` for details
$ yarn install
yarn install v1.22.19
info No lockfile found.
[1/5] Validating package.json...
error discourse@: The engine "yarn" is incompatible with this module. Expected version "please-use-pnpm". Got "1.22.19"
warning discourse@: The engine "pnpm" appears to be invalid.
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
Docker Manager: FAILED TO UPGRADE
#<RuntimeError: RuntimeError>
J’ai eu le temps de copier ceci, mais lorsque j’ai appuyé sur le bouton retour, il était évident que le serveur était complètement hors service.
" Oups
Le logiciel qui alimente ce forum de discussion a rencontré un problème inattendu. Nous nous