Skip to content
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

Deployment from an older version of the app fails #2828

Closed
3 tasks done
wangrg opened this issue Mar 14, 2024 · 3 comments · Fixed by #2839
Closed
3 tasks done

Deployment from an older version of the app fails #2828

wangrg opened this issue Mar 14, 2024 · 3 comments · Fixed by #2839
Labels
🐞 bug Something isn't working

Comments

@wangrg
Copy link

wangrg commented Mar 14, 2024

Self Checks

  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

Dify version

0.5.9

Cloud or Self Hosted

Self Hosted (Source)

Steps to reproduce

截屏2024-03-14 11 20 22 After upgrading v0.3.34 to v0.5.9, the old version of the application with associated data failed to click to publish.

code segment:
1.api/controllers/console/app/model_config.py
2.api/controllers/console/app/app.py

image

✔️ Expected Behavior

Publish and edit apps successfully。
截屏2024-03-14 11 32 08

❌ Actual Behavior

Publishing and editing apps fails

@wangrg wangrg added the 🐞 bug Something isn't working label Mar 14, 2024
Copy link

dosubot bot commented Mar 14, 2024

Hey @wangrg, great to see you back! Hope all's been well since our last chat.

Based on the information provided, it seems like the issue might be related to some changes in the codebase between versions v0.3.34 and v0.5.9. However, without access to the specific changes made in the api/controllers/console/app/model_config.py and api/controllers/console/app/app.py files between these versions, it's difficult to pinpoint the exact cause of the problem.

One possibility could be that there were changes in the way the application handles the publishing and editing of apps, and these changes are not compatible with the data or configurations from the older version. This could potentially cause the application to fail when trying to publish or edit apps.

Another possibility could be that there are new dependencies or system requirements in version v0.5.9 that were not required in version v0.3.34. If these new requirements are not met, it could cause the application to fail.

To help narrow down the cause of the problem, could you please provide more information about the error messages you're seeing when the deployment fails? Additionally, could you please provide the specific changes made in the api/controllers/console/app/model_config.py and api/controllers/console/app/app.py files between versions v0.3.34 and v0.5.9?

Also, it would be helpful if you could provide more details about your environment, such as the operating system and version, the version of Python you're using, and any other relevant information.

Finally, if you could provide a more detailed description of the steps you're taking to reproduce the problem, it would be very helpful. For example, what specific actions are you taking in the application when the failure occurs? Are there any specific apps or data that cause the failure, or does it happen with any app or data?

This information will help us better understand the problem and find a solution. Thank you for your cooperation.

Sources

About Dosu

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.

Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.

If you want to continue the conversation, start your reply with @dosu-bot.

@crazywoola
Copy link
Member

Can you provide the detailed upgrade steps?

@Yeuoly
Copy link
Collaborator

Yeuoly commented Mar 14, 2024

fixed: #2839

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants