Synology [Docker] [Miniflux] lancer une commande pour postgres, mais ou?

patronize

Chevalier Jedi
30 Octobre 2021
220
61
68
Bonjour,
J’utilise miniflux avec docker. Mais j’ai eu une mise à jour de postgres (latest), depuis quelques mise à jour de postgres, j’ai un message d’info:

Code:
The database was created using collation version 2.31, but the operating system provides version 2.36.

Puis:
Rebuild all objects in this database that


default collation


and run ALTER DATABASE miniflux REFRESH COLLATION VERSION


ON, or build PostgresQL with the right library version.
Pour la dernière j’ai mise une version ancienne mais sans effet.
Il me reste lancer cette commande
ALTER DATABASE miniflux REFRESH COLLATION VERSION
je le lance ou? en SSH dans le container de docker?
Il y a aussi dans la doc de miniflux:

Why SQL migrations are not executed automatically?​

  • Because it’s a source of problems.
  • Only one process should manipulate the database schema at once.
  • If you run multiple containers with an orchestrator that may cause issues.
  • You can still run the migrations by defining the variable RUN_MIGRATIONS=1.
Ce qui est déjà présent dans mon docker-compose mais aussi sans effet…