fix: replace initdb.sql with official Guacamole 1.5.5 schema#1
Open
hochizo5940 wants to merge 1 commit into
Open
fix: replace initdb.sql with official Guacamole 1.5.5 schema#1hochizo5940 wants to merge 1 commit into
hochizo5940 wants to merge 1 commit into
Conversation
- 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)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
문제
로그인 시
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 등록 화면 진입 확인)