# Issues with Database after upgrading Litium from 8.0.0 to 8.2.2

**URL:** <https://forum.litium.com/t/issues-with-database-after-upgrading-litium-from-8-0-0-to-8-2-2/2474>\
**Category:** Questions\
**Tags:** litium-8\
**Created:** [March 2, 2022, 12:32pm UTC](https://forum.litium.com/t/issues-with-database-after-upgrading-litium-from-8-0-0-to-8-2-2/2474 "2022-03-02T12:32:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DennisJ1](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@DennisJ1](https://forum.litium.com/u/DennisJ1)\
**Post date:** [March 2, 2022, 12:32pm UTC](https://forum.litium.com/t/issues-with-database-after-upgrading-litium-from-8-0-0-to-8-2-2/2474/1 "2022-03-02T12:32:09Z")

</div>

Hi everyone,

I recently upgraded a project from 8.0.0 to 8.2.2 for the first time. Everything so far has been going fine. But now when i try to start the project i run into the following error:

```auto
An error occurred while starting the application.
AggregateException: One or more errors occurred. (Database is upgraded to a later version than the current solution, please update your solution to atleast 8.0.0 version of Litium.)
System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, int millisecondsTimeout, CancellationToken cancellationToken)

Exception: Database is upgraded to a later version than the current solution, please update your solution to atleast 8.0.0 version of Litium.
Litium.Application.Runtime.DatabaseVersions.DatabaseMigrationValidator..ctor(IServiceScopeFactory serviceScopeFactory)

AggregateException: One or more errors occurred. (Database is upgraded to a later version than the current solution, please update your solution to atleast 8.0.0 version of Litium.)
System.Threading.Tasks.Task.WaitAllCore(Task[] tasks, int millisecondsTimeout, CancellationToken cancellationToken)
Litium.Application.Runtime.ApplicationStartupEngine.Init()
Litium.Web.Runtime.Bootstrap+<>c __DisplayClass7_0.<Configure>b__ 0(IApplicationBuilder x)
Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter+<>c __DisplayClass0_0.<Configure>g__ MiddlewareFilterBuilder|0(IApplicationBuilder builder)
Microsoft.AspNetCore.Server.IIS.Core.IISServerSetupFilter+<>c __DisplayClass2_0.<Configure>b__ 0(IApplicationBuilder app)
Microsoft.AspNetCore.HostFilteringStartupFilter+<>c __DisplayClass0_0.<Configure>b__ 0(IApplicationBuilder app)
Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
Litium.Accelerator.Mvc.Program.Main(string[] args) in Program.cs
+
                CreateHostBuilder(args).Build().Run();

```

Is there a step that in the upgrade process that i’m missing? It seems weird to me that it says that the database is of a later version, if anything it should be the other way around. Do i need to adjust something in the database going from 8.0.0 to 8.2.2 or is there something i’ve missed adjusting in the project itself?

Thank you in advance!

Litium version: 8.2.2

---

<div class="post-metadata">

**Author:** ![NilsN](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/nilsn/32/302_2.png) [@NilsN](https://forum.litium.com/u/NilsN)\
**Post date:** [March 2, 2022, 1:25pm UTC](https://forum.litium.com/t/issues-with-database-after-upgrading-litium-from-8-0-0-to-8-2-2/2474/2 "2022-03-02T13:25:36Z")

</div>

Did you run the steps detailed here?

> **[Database management](https://docs.litium.com/documentation/get-started/database-management)**
>
> Database management

If you run the database update command and still get errors, try and reinstall the tool using the instructions on the same page.

---

<div class="post-metadata">

**Author:** ![DennisJ1](https://avatars.discourse-cdn.com/v4/letter/d/2acd7d/32.png) [@DennisJ1](https://forum.litium.com/u/DennisJ1)\
**Post date:** [March 2, 2022, 2:10pm UTC](https://forum.litium.com/t/issues-with-database-after-upgrading-litium-from-8-0-0-to-8-2-2/2474/3 "2022-03-02T14:10:26Z")

</div>

I did it shortly after posting here and it worked. Perhaps the error message should be the other way around.

Thank you Nils!

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [March 2, 2022, 2:12pm UTC](https://forum.litium.com/t/issues-with-database-after-upgrading-litium-from-8-0-0-to-8-2-2/2474/4 "2022-03-02T14:12:44Z")

</div>

This is tracked by [Bug Details (litium.com)](https://docs.litium.com/support/bugs/bug_details?id=59422)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex030/uploads/litium/original/1X/12eddac3b8b661de1db86af10ac8151b571e6fb9.png) [@system](https://forum.litium.com/u/system)\
**Post date:** [March 30, 2022, 2:12pm UTC](https://forum.litium.com/t/issues-with-database-after-upgrading-litium-from-8-0-0-to-8-2-2/2474/5 "2022-03-30T14:12:50Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
