docker / compose

Define and run multi-container applications with Docker
https://docs.docker.com/compose/
Apache License 2.0
34.01k stars 5.23k forks source link

[BUG] Stucked at staring up the management container. Infinite Loop #11670

Closed Luccifer closed 7 months ago

Luccifer commented 7 months ago

Description

Hello! Thanks for a great product!

I am trying to start self-hosted server. Did everything in Quick and Advanced Manual from the official site The docker-compose of management container after starting goes to infinite reboot

Steps To Reproduce

Installing on ubuntu 2204 docker.io and docker-compose from apt Walkthrough the manual Try to start -> Fail with management container

Compose Version

docker-compose version 1.29.2, build unknown
docker-py version: 5.0.3
CPython version: 3.10.12
OpenSSL version: OpenSSL 3.0.2 15 Mar 2022

Docker Environment

Client:
 Version:    24.0.5
 Context:    default
 Debug Mode: false

Server:
 Containers: 4
  Running: 3
  Paused: 0
  Stopped: 1
 Images: 5
 Server Version: 24.0.5
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: systemd
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc io.containerd.runc.v2
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 
 runc version: 
 init version: 
 Security Options:
  apparmor
  seccomp
   Profile: builtin
  cgroupns
 Kernel Version: 5.15.0-101-generic
 Operating System: Ubuntu 22.04.4 LTS
 OSType: linux
 Architecture: x86_64
 CPUs: 1
 Total Memory: 1.912GiB
 Name: PQVPN-NetBird
 ID: d0590919-37e4-4af2-a215-06424bf2afa2
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 Experimental: false
 Insecure Registries:
  127.0.0.0/8
 Live Restore Enabled: false

Anything else?


management_1  | Error: failed to initialize database: illegal base64 data at input byte 0

management_1  | 2024-03-27T16:00:57Z INFO management/cmd/management.go:449: loading OIDC configuration from the provided IDP configuration endpoint https://keycloak/.well-known/openid-configuration

management_1  | 2024-03-27T16:00:57Z INFO management/cmd/management.go:454: loaded OIDC configuration from the provided IDP configuration endpoint: https://keycloak/.well-known/openid-configuration

management_1  | 2024-03-27T16:00:57Z INFO management/cmd/management.go:456: overriding HttpConfig.AuthIssuer with a new value https://keycloak, previously configured value: https://keycloak

management_1  | 2024-03-27T16:00:57Z INFO management/cmd/management.go:460: overriding HttpConfig.AuthKeysLocation (JWT certs) with a new value https://keycloak/protocol/openid-connect/certs, previously configured value: https://keycloak/protocol/openid-connect/certs

management_1  | 2024-03-27T16:00:57Z INFO management/cmd/management.go:465: overriding DeviceAuthorizationFlow.TokenEndpoint with a new value: https://keycloak/protocol/openid-connect/token, previously configured value: https://keycloak/protocol/openid-connect/token

management_1  | 2024-03-27T16:00:57Z INFO management/cmd/management.go:468: overriding DeviceAuthorizationFlow.DeviceAuthEndpoint with a new value: https://keycloak/protocol/openid-connect/auth/device, previously configured value: https://keycloak/protocol/openid-connect/auth/device

management_1  | 2024-03-27T16:00:57Z INFO management/cmd/management.go:476: overriding DeviceAuthorizationFlow.ProviderConfig.Domain with a new value: auth.site.no, previously configured value: 

management_1  | 2024-03-27T16:00:57Z INFO management/cmd/management.go:486: overriding PKCEAuthorizationFlow.TokenEndpoint with a new value: keycloak/protocol/openid-connect/token, previously configured value: keycloak/protocol/openid-connect/token

management_1  | 2024-03-27T16:00:57Z INFO management/cmd/management.go:489: overriding PKCEAuthorizationFlow.AuthorizationEndpoint with a new value: keycloak/protocol/openid-connect/auth, previously configured value: keycloak/protocol/openid-connect/auth

management_1  | 2024-03-27T16:00:57Z INFO management/server/telemetry/app_metrics.go:177: enabled application metrics and exposing on http://0.0.0.0:8081

management_1  | 2024-03-27T16:00:57Z INFO management/server/store.go:92: using SQLite store engine

management_1  | Error: failed to initialize database: illegal base64 data at input byte 0

management_1  | 2024-03-27T16:01:04Z INFO management/cmd/management.go:449: loading OIDC configuration from the provided IDP configuration endpoint keycloak/.well-known/openid-configuration

management_1  | 2024-03-27T16:01:04Z INFO management/cmd/management.go:454: loaded OIDC configuration from the provided IDP configuration endpoint: keycloak/.well-known/openid-configuration

management_1  | 2024-03-27T16:01:04Z INFO management/cmd/management.go:456: overriding HttpConfig.AuthIssuer with a new value keycloak, previously configured value: keycloak

management_1  | 2024-03-27T16:01:04Z INFO management/cmd/management.go:460: overriding HttpConfig.AuthKeysLocation (JWT certs) with a new value keycloak/protocol/openid-connect/certs, previously configured value: keycloak/protocol/openid-connect/certs

management_1  | 2024-03-27T16:01:04Z INFO management/cmd/management.go:465: overriding DeviceAuthorizationFlow.TokenEndpoint with a new value: keycloak/protocol/openid-connect/token, previously configured value: keycloak/protocol/openid-connect/token

management_1  | 2024-03-27T16:01:04Z INFO management/cmd/management.go:468: overriding DeviceAuthorizationFlow.DeviceAuthEndpoint with a new value: keycloak/protocol/openid-connect/auth/device, previously configured value: keycloak/protocol/openid-connect/auth/device

management_1  | 2024-03-27T16:01:04Z INFO management/cmd/management.go:476: overriding DeviceAuthorizationFlow.ProviderConfig.Domain with a new value: auth.site.no, previously configured value: 

management_1  | 2024-03-27T16:01:04Z INFO management/cmd/management.go:486: overriding PKCEAuthorizationFlow.TokenEndpoint with a new value: keycloak/protocol/openid-connect/token, previously configured value: keycloak/protocol/openid-connect/token

management_1  | 2024-03-27T16:01:04Z INFO management/cmd/management.go:489: overriding PKCEAuthorizationFlow.AuthorizationEndpoint with a new value: keycloak/protocol/openid-connect/auth, previously configured value: keycloak/protocol/openid-connect/auth

management_1  | 2024-03-27T16:01:04Z INFO management/server/telemetry/app_metrics.go:177: enabled application metrics and exposing on http://0.0.0.0:8081

management_1  | 2024-03-27T16:01:04Z INFO management/server/store.go:92: using SQLite store engine

management_1  | Error: failed to initialize database: illegal base64 data at input byte 0
Luccifer commented 7 months ago

Typed to wrong repo >_< close pls