Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • gitte lindgren 6 posts 77 karma points
    Jun 24, 2021 @ 14:13
    gitte lindgren
    0

    deployments error

    do any know about this error when deploying DB to HostGator?

    The database failed to upgrade. ERROR: The database configuration failed with the following message: Version 8.13.0 does not support migrating from 8.13.0. Please verify which versions support migrating from 8.13.0. Please check log file for additional information (can be found in '/App_Data/Logs/')

  • Brendan Rice 538 posts 1102 karma points
    Jun 24, 2021 @ 15:00
    Brendan Rice
    0

    It sounds like the database version and the config file version are out of sync.

    Can you run this on the DB to check the version:

    SELECT * FROM umbracoMigration
    

    An double check the web.config Umbraco version in the appsettings (it should be 8.13.0).

  • gitte lindgren 6 posts 77 karma points
    Jun 24, 2021 @ 15:12
    gitte lindgren
    0

    there are nothing that is named umbracoMigration there are umbraco mediaversion

  • gitte lindgren 6 posts 77 karma points
    Jun 24, 2021 @ 15:25
    gitte lindgren
    1

    problem is how to registrate this FKcmsDocumentTypecmsTemplate_nodeId

  • Brendan Rice 538 posts 1102 karma points
    Jun 24, 2021 @ 16:14
    Brendan Rice
    0

    Migrations run on the database during upgrade. The flag in the .config file should match the DB version (after upgrade it will be whatever has been upgraded to).

    It seems like an upgrade was done locally or o another database, where the .config version was updated then the code was copied over to the new site.

    You'll need to figure out what the previous version was and change that to be the value in the config file.

    This *should kick off the correct upgrade code.

  • gitte lindgren 6 posts 77 karma points
    Jun 24, 2021 @ 18:13
    gitte lindgren
    0

    can you define which DB table and which config file I need to work on?

  • Brendan Rice 538 posts 1102 karma points
    Jun 24, 2021 @ 22:39
    Brendan Rice
    0

    Here is the link to the docs around the web.config:

    https://our.umbraco.com/documentation/reference/config/webconfig/

    I'm not sure where to get the db version in v8

Please Sign in or register to post replies

Write your reply to:

Draft