|
| 1 | +--- |
| 2 | +description: >- |
| 3 | + In this section, you will see some common problems when installing Umbraco |
| 4 | + Engage and how to solve them. |
| 5 | +--- |
| 6 | + |
| 7 | +# Troubleshooting installations |
| 8 | + |
| 9 | +### Issue: Boot failure after initial installation |
| 10 | + |
| 11 | +#### Description: |
| 12 | + |
| 13 | +After installing Umbraco Engage and booting for the first time the following exception can be thrown. Due to not always known reasons Umbraco Engage fails to run the necessary migrations on startup and (probably) the Umbraco Engage tables are not created. |
| 14 | + |
| 15 | +#### Error message: |
| 16 | + |
| 17 | +``` |
| 18 | +SqlException: Invalid object name 'umbracoEngageAbTestingAbTest'. |
| 19 | +Umbraco.Engage.Data.AbTesting.DbAbTestRepository.Query(Expression<Func<DbAbTest, bool>> whereExpression) in DbAbTestRepository.cs |
| 20 | +Umbraco.Engage.Data.AbTesting.DbAbTestRepository.GetAll() in DbAbTestRepository.cs |
| 21 | +Umbraco.Engage.Infrastructure.AbTesting.Repositories.AbTestRepository.GetAll() in AbTestRepository.cs |
| 22 | +Umbraco.Engage.Infrastructure.AbTesting.Services.CachedAbTestRepository.RefreshCache() in CachedAbTestRepository.cs |
| 23 | +Umbraco.Engage.Infrastructure.AbTesting.Services.CachedAbTestRepository.Handle(MigrationsCompletedEvent event) in CachedAbTestRepository.cs |
| 24 | +Umbraco.Engage.Infrastructure.Events.SystemEventService.Raise<T>(T event) in SystemEventService.cs |
| 25 | +Umbraco.Engage.Web.Migrations.UmsMigrationsComponent.Initialize() in UmsMigrationsComponent.cs |
| 26 | +Umbraco.Cms.Core.Composing.ComponentCollection.Initialize() |
| 27 | +Umbraco.Cms.Infrastructure.Runtime.CoreRuntime.StartAsync(CancellationToken cancellationToken, bool isRestarting) |
| 28 | +Umbraco.Cms.Infrastructure.Runtime.CoreRuntime.StartAsync(CancellationToken cancellationToken) |
| 29 | +Umbraco.Extensions.WebApplicationExtensions.BootUmbracoAsync(WebApplication app) |
| 30 | +Program.<Main>$(string[] args) in Program.cs |
| 31 | +await app.BootUmbracoAsync(); |
| 32 | +``` |
| 33 | + |
| 34 | +#### Steps to resolve: |
| 35 | + |
| 36 | +1. Remove the row with `Umbraco.Core.Upgrader.State+Umbraco.Engage` key from the `umbracoKeyValue` table in the database.  |
| 37 | +2. If they exist, remove all umbracoEngage\* tables from the database.  |
| 38 | +3. Restart the site. |
0 commit comments