[Bug] lobe-chat-db使用compose线上部署,logto启动后自动退出(其他服务正常) #4009
-
📦 EnvironmentDocker 📌 Version27.1.2 💻 Operating SystemUbuntu 🌐 BrowserChrome 🐛 Bug Descriptionlobe-chat-db使用compose线上部署,logto启动后自动退出(其他服务正常)
info Seeding skipped
(node:44) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time See https://docs.logto.io/docs/references/using-cli/database-alteration for reference. index error Error while initializing app: 📷 Recurrence StepsNo response 🚦 Expected BehaviorNo response 📝 Additional InformationNo response |
Beta Was this translation helpful? Give feedback.
Replies: 9 comments
-
👀 @Amandizz Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
Beta Was this translation helpful? Give feedback.
-
Hey @Amandizz! I'm here to help you with any bugs, questions, or contributions you have. Let's work together to solve this issue. To resolve the issue of docker compose down # Stop services
sudo rm -rf ./data # Remove mounted database data
docker compose up -d # Restart Ensure that your logto:
image: svhd/logto
container_name: lobe-logto
network_mode: 'service:network-service'
depends_on:
postgresql:
condition: service_healthy
environment:
- 'TRUST_PROXY_HEADER=1'
- 'PORT=${LOGTO_PORT}'
- 'DB_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgresql:5432/logto'
- 'ENDPOINT=http://localhost:${LOGTO_PORT}'
- 'ADMIN_ENDPOINT=http://localhost:3002'
entrypoint: ['sh', '-c', 'npm run cli db seed -- --swe && npm start'] This configuration ensures that the |
Beta Was this translation helpful? Give feedback.
-
logto版本更新导致的,可以继续使用 svhd/logto:1.19.0 版本,不会报错 |
Beta Was this translation helpful? Give feedback.
-
Caused by logto version update, you can continue to use svhd/logto:1.19.0 version without error. |
Beta Was this translation helpful? Give feedback.
-
想骂人, @dosubot 差点让我数据丢失~ |
Beta Was this translation helpful? Give feedback.
-
I want to curse, @dosubot almost made me lose my data~ |
Beta Was this translation helpful? Give feedback.
-
@SpeedupMaster 感谢~ 你说的对! |
Beta Was this translation helpful? Give feedback.
-
@SpeedupMaster Thanks~ You are right! |
Beta Was this translation helpful? Give feedback.
-
✅ @Amandizz This issue is closed, If you have any questions, you can comment and reply. |
Beta Was this translation helpful? Give feedback.
logto版本更新导致的,可以继续使用 svhd/logto:1.19.0 版本,不会报错