将 Umbraco 从 7.5.12 升级到 7.10.4 后,它会一次又一次地要求升级

After upgrading Umbraco to 7.10.4 from 7.5.12 it asks to upgrade again and again

原来我是在 our umbraco

上问这个问题的

我不知道发生了什么。 我已经在我的机器上更新了我的开发 database/environment,它工作正常。然后我将我的代码发布到指向同一个数据库的 Azure。升级页面出现了:|我不明白为什么。它说它要升级到相同的版本。

更新

点击继续后,只显示更新完成,去后台没有任何问题。然后我尝试访问网络节点(我有 Flexible load balancing settings),它要求我再次升级! :|

我尝试再次重新发布整个站点,但也无济于事。我知道我可以在此处单击更新,但 ~/umbraco 在 Web 节点的生产中已关闭,因为这是最佳做法。

更新 2

我更改了一些小东西并在后台再次发布。我再次被重定向到 AuthorizeUpgrade :O

更新 3

我的日志中也有这一行,好像它正在尝试升级但版本号较低

Umbraco.Core.Configuration.ClientDependencyConfiguration - Updated version number from 1918068003 to 478377040

我在我的 temp/install/[machinename] 上找到了这个更新授权后(在点击继续按钮进行升级之前)

[
  {
    "Name": "Permissions",
    "ServerOrder": 0,
    "IsComplete": false,
    "AdditionalData": {

    }
  },
  {
    "Name": "Upgrade",
    "ServerOrder": 1,
    "IsComplete": false,
    "AdditionalData": {

    }
  },
  {
    "Name": "MajorVersion7UpgradeReport",
    "ServerOrder": 1,
    "IsComplete": false,
    "AdditionalData": {

    }
  },
  {
    "Name": "Version73FileCleanup",
    "ServerOrder": 2,
    "IsComplete": false,
    "AdditionalData": {

    }
  },
  {
    "Name": "DatabaseInstall",
    "ServerOrder": 11,
    "IsComplete": false,
    "AdditionalData": {

    }
  },
  {
    "Name": "DatabaseUpgrade",
    "ServerOrder": 12,
    "IsComplete": false,
    "AdditionalData": {

    }
  },
  {
    "Name": "UmbracoVersion",
    "ServerOrder": 50,
    "IsComplete": false,
    "AdditionalData": {

    }
  }
]

然后我在日志文件中有更新:

 2018-06-13 13:32:46,081 [P7300/D15/T73] INFO  Umbraco.Web.Install.Controllers.InstallApiController - Executing installation step: Permissions
 2018-06-13 13:32:46,175 [P7300/D15/T73] INFO  Umbraco.Web.Install.Controllers.InstallApiController - Step completed (took 85ms)
 2018-06-13 13:32:46,268 [P7300/D15/T36] INFO  Umbraco.Web.Install.Controllers.InstallApiController - Executing installation step: Upgrade
 2018-06-13 13:32:46,286 [P7300/D15/T36] INFO  Umbraco.Web.Install.Controllers.InstallApiController - Step completed (took 26ms)
 2018-06-13 13:32:46,427 [P7300/D15/T73] INFO  Umbraco.Web.Install.Controllers.InstallApiController - Executing installation step: DatabaseInstall
 2018-06-13 13:32:46,458 [P7300/D15/T73] INFO  Umbraco.Core.DatabaseContext - Database configuration status: Started
 2018-06-13 13:32:46,458 [P7300/D15/T73] INFO  Umbraco.Core.DatabaseContext - Database requires upgrade
 2018-06-13 13:32:46,471 [P7300/D15/T73] INFO  Umbraco.Web.Install.Controllers.InstallApiController - Step completed (took 33ms)
 2018-06-13 13:32:46,534 [P7300/D15/T36] INFO  Umbraco.Web.Install.Controllers.InstallApiController - Executing installation step: DatabaseUpgrade
 2018-06-13 13:32:46,534 [P7300/D15/T36] INFO  Umbraco.Web.Install.InstallSteps.DatabaseUpgradeStep - Running 'Upgrade' service
 2018-06-13 13:32:46,566 [P7300/D15/T36] INFO  Umbraco.Core.DatabaseContext - Database upgrade started
 2018-06-13 13:32:46,706 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Initializing database migrations
 2018-06-13 13:32:46,724 [P7300/D15/T36] INFO  Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IDiscoverable
 2018-06-13 13:32:46,724 [P7300/D15/T36] INFO  Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IDiscoverable (took 4ms)
 2018-06-13 13:32:46,738 [P7300/D15/T36] INFO  Umbraco.Core.PluginManager - Resolving Umbraco.Core.Persistence.Migrations.IMigration
 2018-06-13 13:32:46,799 [P7300/D15/T36] INFO  Umbraco.Core.PluginManager - Resolved Umbraco.Core.Persistence.Migrations.IMigration (took 55ms)
 2018-06-13 13:32:46,993 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddIndexesToUmbracoRelationTables' to context
 2018-06-13 13:32:47,065 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddIndexToUmbracoNodePath' to context
 2018-06-13 13:32:47,143 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddIndexToUser2NodePermission' to context
 2018-06-13 13:32:47,224 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddRelationTypeUniqueIdColumn' to context
 2018-06-13 13:32:47,318 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddMacroUniqueIdColumn' to context
 2018-06-13 13:32:47,334 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'NormalizeTemplateGuids' to context
 2018-06-13 13:32:47,443 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'UpdateUniqueIndexOnCmsPropertyData' to context
 2018-06-13 13:32:47,521 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'RemoveUmbracoDeployTables' to context
 2018-06-13 13:32:47,521 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'ReduceLoginNameColumnsSize' to context
 2018-06-13 13:32:47,521 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddIndexToCmsMemberLoginName' to context
 2018-06-13 13:32:47,599 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddLockTable' to context
 2018-06-13 13:32:47,599 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddLockObjects' to context
 2018-06-13 13:32:47,678 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'UpdateUserTables' to context
 2018-06-13 13:32:47,928 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddUserGroupTables' to context
 2018-06-13 13:32:48,006 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddUserStartNodeTable' to context
 2018-06-13 13:32:48,006 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'ReduceDictionaryKeyColumnsSize' to context
 2018-06-13 13:32:48,021 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddIndexToDictionaryKeyColumn' to context
 2018-06-13 13:32:48,021 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'EnsureContentTemplatePermissions' to context
 2018-06-13 13:32:48,037 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddIndexToPropertyTypeAliasColumn' to context
 2018-06-13 13:32:48,115 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddTourDataUserColumn' to context
 2018-06-13 13:32:48,178 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddCmsMediaTable' to context
 2018-06-13 13:32:48,256 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddInstructionCountColumn' to context
 2018-06-13 13:32:48,334 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddUserLoginTable' to context
 2018-06-13 13:32:48,396 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddUmbracoAuditTable' to context
 2018-06-13 13:32:48,459 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddUmbracoConsentTable' to context
 2018-06-13 13:32:48,537 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'AddIsSensitiveMemberTypeColumn' to context
 2018-06-13 13:32:48,553 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'CreateSensitiveDataUserGroup' to context
 2018-06-13 13:32:48,553 [P7300/D15/T36] INFO  Umbraco.Core.Persistence.Migrations.MigrationRunner - Added UPGRADE migration 'RenamePreviewFolder' to context
 2018-06-13 13:32:49,297 [P7300/D15/T36] INFO  Umbraco.Core.DatabaseContext - Database configuration status: <p>Upgrade completed!</p>
 2018-06-13 13:32:49,316 [P7300/D15/T36] INFO  Umbraco.Web.Install.Controllers.InstallApiController - Step completed (took 2782ms)
 2018-06-13 13:32:49,375 [P7300/D15/T73] INFO  Umbraco.Web.Install.Controllers.InstallApiController - Executing installation step: UmbracoVersion
 2018-06-13 13:32:49,563 [P7300/D15/T73] INFO  Umbraco.Core.PluginManager - Resolving umbraco.interfaces.IDiscoverable
 2018-06-13 13:32:49,585 [P7300/D15/T73] INFO  Umbraco.Core.PluginManager - Resolved umbraco.interfaces.IDiscoverable (took 9ms)
 2018-06-13 13:32:49,585 [P7300/D15/T73] INFO  Umbraco.Core.PluginManager - Resolving umbraco.interfaces.ICacheRefresher
 2018-06-13 13:32:49,585 [P7300/D15/T73] INFO  Umbraco.Core.PluginManager - Resolved umbraco.interfaces.ICacheRefresher (took 10ms)
 2018-06-13 13:32:49,789 [P7300/D15/T73] INFO  umbraco.content - Load Xml from file...
 2018-06-13 13:32:49,868 [P7300/D15/T73] INFO  umbraco.content - Loaded Xml from file.
 2018-06-13 13:32:49,882 [P7300/D15/T73] INFO  umbraco.content - Loading content from database...
 2018-06-13 13:32:51,749 [P7300/D15/T73] INFO  Umbraco.Web.Install.Controllers.InstallApiController - Step completed (took 2386ms)

更新 4

完成更新后,网站开始工作,但每次我发布源代码时,同样的事情(更新过程)再次发生 :\

在您的 web.config 中,您会看到一行:<add key="umbracoConfigurationStatus" value="7.x.x" />

这一行是 Umbraco 当前认为的 运行ning 版本。它用于确定(连同 DLL 的版本)升级是否应该 运行.

您需要检查您的构建脚本或某些转换是否正在复制旧的 web.config,或者可能在构建期间修改文件,以使用 "old" 版本号而不是原来的版本号运行升级后通常应该在那里。

然而,它想要从与它想要升级到的版本相同的版本升级,这听起来确实有点奇怪……但是试试我上面提到的,看看是否能给你一些线索,让你知道可能会发生什么正在发生。

您提到的数据库 table 用于跟踪在各种升级之间 运行 进行了哪些迁移。