You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Login not possible since upgrade from 1.50.2 to 1.51.0 #11826
i processed the update from 1.50.2 1.51.0 on our Ubuntu 20 Server. Before the update the server worked properly and logins were possible. But now the homesderver.log always says
Attempted to login as @vmario89:matrix.fablabchemnitz.de but they do not exist
This might sound stupid, but are you sure the correct configuration file is being loaded? If you can't log in to existing accounts (wrong/different password hash pepper?) and Synapse is saying registration is disabled even though you don't think it is, something is either very wrong with the way configuration is loaded or somehow some configuration files have been mixed up.
Also: what's the installation method? (PyPI, Docker, matrix.org's Debian/Ubuntu Packages?)
hi. sorry for being inconvient. i was totally frustrated when i closed this issue. i was able to fix it. the thing i did when destroying it: i installed the upgrade with apt and overwrote the homeserver.yaml with the DEFAULT file. interestingly absolutely no error was shown in any log except the posted one's in this issue...
i solved the issue simply by restoring homeserver.yaml from backup
finally this resulted in all users of our homeserver were logged out and some people lost their personal chat history because they didnt store their personal encryption passwords accordingly.
for now i will never use apt update && apt upgrade to perform upgrade
i will use that command to avoid failing at the homeserver.yaml ... apt-get -y -o Dpkg::Options::=--force-confdef install --only-upgrade matrix-synapse-py3
Related: #11281 (we now advise you to create separate configuration override files so that you don't ever touch the one included by apt) #8159 (we want to separate config docs from configuration itself) #11238 (another issue about this problem of being asked to overwrite your installation)
Activity
DMRobertson commentedon Jan 25, 2022
Hi @vmario89. That is very strange. A few questions:
reivilibre commentedon Jan 25, 2022
This might sound stupid, but are you sure the correct configuration file is being loaded? If you can't log in to existing accounts (wrong/different password hash pepper?) and Synapse is saying registration is disabled even though you don't think it is, something is either very wrong with the way configuration is loaded or somehow some configuration files have been mixed up.
Also: what's the installation method? (PyPI, Docker, matrix.org's Debian/Ubuntu Packages?)
richvdh commentedon Jan 26, 2022
DMRobertson commentedon Jan 26, 2022
@vmario89 did you manage to work out what was going on with your server? Are you able to login again, and if so, what changed? Many thanks!
vmario89 commentedon Jan 27, 2022
hi. sorry for being inconvient. i was totally frustrated when i closed this issue. i was able to fix it. the thing i did when destroying it: i installed the upgrade with apt and overwrote the homeserver.yaml with the DEFAULT file. interestingly absolutely no error was shown in any log except the posted one's in this issue...
i solved the issue simply by restoring homeserver.yaml from backup
finally this resulted in all users of our homeserver were logged out and some people lost their personal chat history because they didnt store their personal encryption passwords accordingly.
for now i will never use apt update && apt upgrade to perform upgrade
i will use that command to avoid failing at the homeserver.yaml ...
apt-get -y -o Dpkg::Options::=--force-confdef install --only-upgrade matrix-synapse-py3reivilibre commentedon Feb 10, 2022
Related: #11281 (we now advise you to create separate configuration override files so that you don't ever touch the one included by apt)
#8159 (we want to separate config docs from configuration itself)
#11238 (another issue about this problem of being asked to overwrite your installation)