Я использую postgres последний в docker контейнере, и по какой-то причине я получил эту ошибку, и все перестало работать:
The "postgresql" authentication provider has encountered an internal error which will halt the authentication process. If this is unexpected or you are the developer of this authentication provider, you may wish to enable debug-level logging. If this is expected and you wish to ignore such failures in the future, please set "skip-if-unavailable: postgresql" within your guacamole.properties.
ERROR o.a.g.rest.RESTExceptionMapper - Unexpected internal error:
### Error updating database. Cause: org.postgresql.util.PSQLException: ERROR: right sibling's left-link doesn't match: block 2 links to 11010 instead of expected 11007 in index "guacamole_user_history_user_id"
### The error may involve org.apache.guacamole.auth.jdbc.user.UserRecordMapper.insert-Inline
### The error occurred while setting parameters
### SQL: INSERT INTO guacamole_user_history ( remote_host, user_id, username, start_date, end_date ) VALUES ( ?, (SELECT user_id FROM guacamole_user JOIN guacamole_entity ON guacamole_user.entity_id = guacamole_entity.entity_id WHERE guacamole_entity.name = ? AND guacamole_entity.type = 'USER'::guacamole_entity_type), ?, ?, ? )
### Cause: org.postgresql.util.PSQLException: ERROR: right sibling's left-link doesn't match: block 2 links to 11010 instead of expected 11007 in index "guacamole_user_history_user_id"
И это из postgres conatiner:
ERROR: right sibling's left-link doesn't match: block 2 links to 11010 instead of expected 11007 in index "guacamole_user_history_user_id"
STATEMENT: INSERT INTO guacamole_user_history (
remote_host,
user_id,
username,
start_date,
end_date
)
VALUES (
$1,
(SELECT user_id FROM guacamole_user
JOIN guacamole_entity ON guacamole_user.entity_id = guacamole_entity.entity_id
WHERE
guacamole_entity.name = $2
AND guacamole_entity.type = 'USER'::guacamole_entity_type),
$3,
$4,
$5
) RETURNING *
Я не делал ничего, связанного с БД, только простые запросы выбора в то время. Все работало в течение последних 3 месяцев, как я могу это исправить?