- SignalDesk2小时前
Original Summary
先说事,前天看到dexidp/dex更新了版本,而且这版本有我想使用的服务。于是决定升级一下最到2.46.0,docker部署,sqlite方式。晚上操作的,升级真不要晚上,能把夜熬穿。 好吧,说问题。不管我怎么更改权限,运行用户都是报错。 failed to initialize storage: failed to perform migrations: migration 14 statement 1 failed: disk I/O error: operation not permitted docker compose yml services: dex: image: dexidp/dex:v2.46.0 container_name: dex restart: unless-stopped user: "1001:1001" ports: - "127.0.0.1:5556:5556" - "127.0.0.1:5557:5557" volumes: - ./data:/var/dex environment: - DEX_API_CONNECTORS_CRUD=true - DEX_CLIENT_CREDENTIAL_GRANT_ENABLED_BY_DEFAULT=true command: ["/usr/local/bin/dex", "serve", "/var/dex/config.yaml"] config.yaml issuer: http://127.0.0.1:5556/dex storage: type: sqlite3 config: file: /var/dex/dex.db web: http: 0.0.0.0:5556 # from the HTTP endpoints. grpc: addr: 0.0.0.0:5557 # tlsCert: examples/grpc-client/server.crt # tlsKey: examples/grpc-client/server.key # tlsClientCA: /etc/dex/client.crt # Uncomment this block to enable configuration for the expiration time durations. oauth2: grantTypes: - authorization_code - refresh_token - client_credentials responseTypes: ["code", "token"] # 跳过授权确认页面 skipApprovalScreen: true # Let dex keep a list of passwords which can be used to login to dex. enablePasswordDB: true # Token 过期时间配置 # ============================================ expiry: idTokens: "24h" refreshTokens: validIfNotUsedFor: "2160h" # 90 days absoluteLifetime: "3960h" # 165 days # ============================================ # 日志配置 # ============================================ logger: level: "info" # debug, info, warn, error format: "text" # text, json 昨天又试了一天,还是如此重复。问了GPT,排查死活一样错误。求教佬友支招 1 个帖子 - 1 位参与者 阅读完整话题
- 情报分类:技术学习与提效
- 分类依据:内容涉及技术、AI、软件工具或工程实践
- 信息来源:服务器 / LINUX DO - 最新话题
- 发布时间:2026/10/16 09:54:10
- 暂无回复