简体   繁体   English

将Umbraco更新到Azure应用服务上的最新版本

[英]Update Umbraco to the latest version on Azure App Service

A client of mine would like to use Umbraco. 我的一个客户想使用Umbraco。 Just because we always use Azure, we decided to use the following ARM template (and, for example, not move on Umbraco Cloud). 仅仅因为我们始终使用Azure,我们决定使用以下ARM模板 (例如,不要在Umbraco Cloud上移动)。 My questions are: 我的问题是:

  • how the updates are managed? 如何管理更新?
  • what appens if a major/minor is released? 如果发行主要/次要会怎样? Is the CMSautomatically updated? CMS是否自动更新?
  • In the following image, taken from the Umbraco App Service on Azure Portal, you can see there is the Deployment Center . 在下图(从Azure门户上的Umbraco应用服务获取)中,您可以看到其中有Deployment Center What is it? 它是什么?
  • When a new version of Umbraco is released, can I press the " Sync " button to update it to the last version? 发布新版本的Umbraco时,我可以按“ 同步 ”按钮将其更新为最新版本吗?

thanks 谢谢

在此处输入图片说明

Be careful with the sync button, it do a KuduSync.NET with the repo, the Web.config will be overwritten and some other files, Your Umbraco database connection string is lost and Umbraco comes in the install mode. 请注意同步按钮,它会使用存储库执行KuduSync.NET,Web.config将被覆盖,并添加其他文件,您的Umbraco数据库连接字符串将丢失,Umbraco进入安装模式。

KuduSync.NET is a Tool for syncing files for deployment, will only copy changed files and delete files that doesn't exists in the destination but only if they were part of the previous deployment (manifest file). KuduSync.NET是用于同步文件以进行部署的工具,它将仅复制更改的文件并删除目标中不存在的文件,但前提是这些文件是先前部署的一部分(清单文件)。

So for example your upload media files will not be destroyed. 因此,例如,您的上传媒体文件不会被破坏。

For upgrading see the Umbraco Upgrades in general first read if there are special instructions for your version. 如果要升级,请先阅读Umbraco升级,如果您的版本有特殊说明,请先阅读。 and make a backup!. 并进行备份!

For the web.config file in the root of your site: 对于网站根目录中的web.config文件:

Important : make sure to copy back the version number, and the connection string as they were. 重要提示 :请确保照原样复制版本号和连接字符串。

Than Umbraco knows how to upgrade. 比Umbraco知道如何升级。 The installer will guide you through the upgrade. 安装程序将指导您完成升级。 when your hit the site and the version number in the web.config is not equal. 当您命中该站点且web.config中的版本号不相等时。 If your using SQL CE be really careful with the App_Data/Umbraco.sdf 如果您使用SQL CE,请务必谨慎使用App_Data / Umbraco.sdf

So on a minor upgrade you can try it with the sync button. 因此,在较小的升级中,您可以使用“同步”按钮进行尝试。 But it is not the official path. 但这不是官方路径。 (first create a backup) and direct after sync, restore the version and connection string in the web.config. (首先创建备份),然后在同步后直接在web.config中还原版本和连接字符串。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 将Azure SDK 2.1更新到最新版本的3.0 - Update Azure SDK 2.1 to latest version of 3.0 通过GitHub部署获取Azure App Service中最新的已部署git commit版本 - Get latest deployed git commit version in Azure App Service with GitHub deployment 是否可以在Azure应用服务上安装最新的HttpPlatformHandler? - Is it possible to install the latest HttpPlatformHandler on an Azure App Service? Azure上的Umbraco 6:UmbracoModule服务不可用 - Umbraco 6 on Azure: UmbracoModule Service Unavailable 如何在Azure移动服务运行时上使用最新版本的Node.js - How to use latest version of nodejs on azure mobile-service runtime Azure 应用服务和 .NET Framework 4.8 版本 - Azure App Service and .NET Framework 4.8 version 在 Azure 应用服务中将 msbuild 设置为版本 15 - set msbuild to version 15 in Azure App Service 将MVC应用程序转换为Azure云服务项目-无法获取最新 - Converted MVC app to Azure Cloud Service Project - cant get latest Python 版本在 Azure 应用服务不匹配 python 版本在 MacOS - Python version on Azure app service mismatch the python version on MacOS 更新 Terraform 中的现有 Azure 应用服务 - Update exsiting Azure App Service in Terraform
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM