Skip to content

fix: replace initdb.sql with official Guacamole 1.5.5 schema#1

Open
hochizo5940 wants to merge 1 commit into
mainfrom
fix/initdb-official-schema
Open

fix: replace initdb.sql with official Guacamole 1.5.5 schema#1
hochizo5940 wants to merge 1 commit into
mainfrom
fix/initdb-official-schema

Conversation

@hochizo5940

Copy link
Copy Markdown
Owner

문제

로그인 시 500 INTERNAL_ERROR 발생.

원인: init/initdb.sql에 PostgreSQL ENUM 타입 정의(CREATE TYPE)가 누락되어 있었음

  • guacamole_entity_type, guacamole_object_permission_type, guacamole_system_permission_type 등 5개 전부 없음

수정

공식 Apache Guacamole 1.5.5 스키마로 교체:

테스트

DB 재초기화 후 로그인 정상 (TOTP 등록 화면 진입 확인)

- Previous initdb.sql was missing CREATE TYPE statements (ENUM types)
- Replaced with official schema from apache/guacamole-client 1.5.5
  * 001-create-schema.sql: tables + ENUM types + indexes + functions
  * 002-create-admin-user.sql: default admin user (guacadmin/guacadmin)
- Root cause of 500 INTERNAL_ERROR on login (guacamole_entity_type missing)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant