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

Failed to generate models. sometimes after deployment #574

Open
ewuski opened this issue Jan 4, 2024 · 0 comments
Open

Failed to generate models. sometimes after deployment #574

ewuski opened this issue Jan 4, 2024 · 0 comments

Comments

@ewuski
Copy link

ewuski commented Jan 4, 2024

Describe the bug
We sometimes experience an error after deployment on remote environment.

There is no clear explanation what happens. The log only says the following:

Failed to generate models.
Umbraco.Cms.Infrastructure.ModelsBuilder.AutoModelsNotificationHandler
800001ee-0002-5f00-b63f-84710c7967bb
/umbraco/backoffice/umbracoapi/authentication/PostLogin
11608
w3wp
32
e11d0c86b1a565a7bfeb26f86d7f0d905c37ec57
WIN-M6SHD2S0HP3
ERROR
7fefae18-9366-44f0-b989-e13a3c114ed0
1
0

To Reproduce
Steps to reproduce the behavior:
Not sure what steps are necessary for it to happen.
We normally updated our models on local and dploy via Azure pipelines to staging or UAT.
The remote site has the import set to happen on startup:

"ImportAtStartup": "Settings",

When the error triggers we try to import manually via uSync section, clicking Import. At this time the import seems to get stuck and not progressing - see the picture attached.

Expected behavior
It should not throw the error.
It should import the models and updated the doc types etc. on startup and manually.

Screenshots
Zrzut ekranu 2024-01-4 o 17 24 53
Zrzut ekranu 2024-01-4 o 17 26 41

About your Site (please complete the following information):

  • Umbraco Version: 10.4.0
  • uSync Version: 10.0.0
  • Browser [e.g. chrome, safari] Chrome

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant