-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
State mismatch after login #117
Comments
found these messages in /var/log/outline/outline.log that look relevant:
|
Can you please tell me which package version is your restored instance ? |
hi, thanks for the reply! I've just tried logging in to both version in two different incognito windows and I get the same error for the restored instance, the outline package version is 0.67.2~ynh1 |
It looks like an error on Dex side, I will have to check ! |
curious if you were able to replicate the bug? or if any more logs would be helpful? |
I found a workaround for being able to login to the latest version of outline_ynh. After installing outline, the dex installation does not work (something is broken in dex), but then I was able to log-in via a magic link by doing the following:
this returns a magic link which you can use to log-in directly. After logging in like this, everything works as expected (other than figuring out how to get around a limit on the size of image uploads). however I still have some valuable data stuck my old outline installation, so I'm trying to figure out how to get into that, and then export the data. or possibly a way to export the data via the CLI, similar to above. perhaps when dex is fixed all my problems will be resolved, but I'm on a deadline over here so looking into other options. maybe the seed.js command is helpful to someone, and good to know for the future... |
fixed the image upload limit by adding this to .env
but still haven't figured out how to successfully import the .zip export from an old version of outline. even after adding to .env:
|
I'm very sorry I didn't have any time to put on this yet (currently in holidays) but I'll fix the package for sure. In fact the broken package is Dex, not outline. The same error happens when installing Headscale, also depending on Dex, for instance. |
@Limezy hope you are having a nice holiday! after spending some time also trying to deploy the app directly via docker, and seeing how complicated it is, I appreciate how much easier the yunohost install is. Thanks for making this package! My temporary hack is working for now, and I will happily switch to doing login "the normal way" once dex is fixed |
Many thanks, holidays are good indeed !
|
@Limezy fwiw a few weeks ago when I tried, Dex would successfully install, but then there was the state mismatch error. Now, Dex does not even manage to install. So when we are able to install Dex again, will have to see if it fixes the issue or if there is still the state mismatch. I am on yunohost 12.0.9.1 |
While trying to login to outline, the login display shows an "invalid password" if I enter the wrong password (this is expected). On entering the correct password, I get to the screen where it says "Grant Access". I click "grant access" and then see the following error screen:
This was after successfully restoring my yunohost + dex + minio from a backup.
On an entirely different machine, running yunohost 12.0.8.2 , with a fresh install of Outline, with Dex
2.39.1~ynh1
and Outline0.81.0~ynh1
I'm also seeing the same error in the same way when I try to log in...what's going on? Is outline authentication working for others?
Context
The text was updated successfully, but these errors were encountered: