-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weโll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Undeployed database alterations found #3965
Comments
๐ @AbondonedScrawl Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
To resolve the "undeployed database alterations" error in a Docker environment for Logto, follow these steps:
By following these steps, you should be able to deploy the necessary database alterations and resolve the error [1]. |
@dosu, any ideas? |
To resolve the "undeployed database alterations" error in a Docker environment for Logto, you can try the following steps:
These steps should help resolve the "undeployed database alterations" error by ensuring that the database schema is correctly migrated and the database container is properly restarted [1]. |
lobe-database logs:
|
To resolve the repeated warnings about Here is the updated configuration for your environment variables: NEXT_AUTH_SECRET=<your_generated_secret>
NEXT_AUTH_SSO_PROVIDERS=logto
AUTH_LOGTO_ID=<your_client_id>
AUTH_LOGTO_SECRET=<your_client_secret>
AUTH_LOGTO_ISSUER=<your_logto_issuer_url>
NEXTAUTH_URL=https://lobe.example.com/api/auth Make sure to replace |
|
To resolve the repeated warnings about # Old environment variables (deprecated)
# LOGTO_CLIENT_ID=your_old_client_id
# LOGTO_CLIENT_SECRET=your_old_client_secret
# LOGTO_ISSUER=your_old_issuer
# New environment variables
AUTH_LOGTO_ID=your_new_client_id
AUTH_LOGTO_SECRET=your_new_client_secret
AUTH_LOGTO_ISSUER=your_new_issuer Replace For the NEXTAUTH_URL=https://lobe.example.com/api/auth This should resolve the deprecation warnings and the |
This is caused by the logto update, logto was updated to version 1.20.0 today. There are two solutions:
|
we will remove logto soon and the recommand the casdoor as our auth provider. stay tuned. |
ๅฎนๅจไธ่ฝๅฏๅจ๏ผๆฒกๅๆณ่ฟ็งป๏ผๅช่ฝๆ่็ๆฌๅ ็จไบ๏ผๆๅพ ็จcasdoorใ |
The container cannot be started and there is no way to migrate it. I can only pull the old version and use it first. I look forward to using casdoor. |
็ญไฝ ไบๅคง็ฅ๏ผlogto็ไบงๆๅฐๅพ็่ฆ๏ผcasdoorๆฏๆๅ ็ฝdocker้จ็ฝฒๅ |
Waiting for you, sir. Logto production is very painful. Does casdoor support intranet docker deployment? |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
๐ฆ Environment
Docker
๐ Version
v1.17.3
๐ป Operating System
Ubuntu
๐ Browser
Chrome, Safari
๐ Bug Description
When using docker compose, logto throws this error and exits:
This started happening during latest updates.
๐ท Recurrence Steps
No response
๐ฆ Expected Behavior
No response
๐ Additional Information
No response
The text was updated successfully, but these errors were encountered: