Dex (Outline) Update Error

Hi all,
I’m working on your issues.

@FreeS I believe your case is the most “simple” so I’ll start with it. Here is my analysis :

  • When you tried to upgrade Outline to v0.75.0~ynh1, it failed because of a default language renamed from “en” format to “en_US” format. (This will be solved after merging this commit :Test · Limezy/outline_ynh@0a4ce4d · GitHub)
  • When you tried to restore your Outline, because the Dex version to install is (stupidly) not frozen, it was trying to install the latest 2.38.0 version which requires a variable oidc_name instead of OIDC_name
  • That’s why, as you have discovered it, the solution was to reinstall Dex as 2.37.0 first (requiring OIDC_name) and then restore Outline, which would detect that Dex is installed and run through

So to solve your update issue, I’ll soon merge my correction commit and tell you here when you can “just” update Dex and Outline, and it should work. In the future I’ll freeze which Dex version is installed by Outline during install and restore, to avoid this kind of annoyances

@P-Godfroid I have tried to reinstall all MinIO, Dex and Outline at the same version as yours but for the moment I have failed (it’s not as easy as it looks). I think I would like to proceed by steps because there was a lot of changes since the v0.69.2.2. The biggest being getting rid of MinIO. I would like to make sure that your problem doesn’t come from that migration out of MinIO.

To solve your issue, as a first step and if you don’t mind could you try to upgrade to v0.74.0 first by running sudo yunohost app update outline --force --debug -u https://github.com/YunoHost-Apps/outline_ynh/tree/621067d0be49933fc239c40e1dff0444ac019218 ? Please don’t do it if you don’t have a reliable way to roll back your installation without relying on the backup made before upgrade !