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 has been archived by the owner on Apr 26, 2024. It is now read-only.
Running the /_synapse/admin/v2/users as documented produces an internal server error
Postgres logs:
STATEMENT: SELECT name, password_hash, is_guest, admin, user_type, deactivated FROM users WHERE is_guest = false AND deactivated = false ORDER BY name ASC LIMIT 10 OFFSET 0
ERROR: operator does not exist: smallint = boolean at character 95
\d users shows that is_guest and deactivated are type smallint not boolean.
Table "public.users"
Column | Type | Collation | Nullable | Default
----------------------------+----------+-----------+----------+---------
name | text | | |
password_hash | text | | |
creation_ts | bigint | | |
admin | smallint | | not null | 0
upgrade_ts | bigint | | |
is_guest | smallint | | not null | 0
appservice_id | text | | |
consent_version | text | | |
consent_server_notice_sent | text | | |
user_type | text | | |
deactivated | smallint | | not null | 0
The text was updated successfully, but these errors were encountered:
Running the /_synapse/admin/v2/users as documented produces an internal server error
Postgres logs:
\d users
shows thatis_guest
anddeactivated
are typesmallint
notboolean
.The text was updated successfully, but these errors were encountered: