Forum Discussion
Migration of SharePoint site with SharePoint Hosted Add-ins (SharePoint 2016)
Hi,
I have been developing a SharePoint Hosted Add-ins in the Development environment and everything has been tested to be working. However, when we are migrating the SharePoint Site collection from Development to Production, we face the issue not now able to upgrade the SharePoint Hosted Add-ins even though it displays that an updated is available. The upgrade will be stuck on the "We are updating your app..." message and it has been a day and the process have yet to completed.
A little more on the environment, in the Development environment I have 1 SQL and 1 SharePoint. and in the Production, I have 1 SQL and 2 SharePoint which is load balance using a physical load balancer (F5).
For the migration, we backup the database of the App Management Service Application, Microsoft SharePoint Foundation Subscription Settings Service Application and the content database of the Site collection (which has the data and SharePoint hosted add-ins) and app catalog. initially we face issue with loading the site but after some troubleshooting we managed to get the loading of apps fixed by re-trusting the apps against the site collection again.
but recently due a bug, we have released a new app release which has pass the testing in the development environment but when we tried to upgrade the version of the app in the production environment we are not able to do so. We have also tested by created a new sub site and add the app and it also failed to do so.
As there are limited documentation online on the migration approaches and steps where the Site collection has the SharePoint Add-ins deployed, we are not sure if what we did is based on best practices and if it is a supported approach. as of now the site is still able to run the existing version of the SharePoint Add-ins but new version is not getting upgraded and new site is not able to install the app.
4 Replies
To me it sounds you are doing in the right way, but doing a backup & restore of an Add-in is something I have not seen...adding Trevor Seward to the conversation
- Darwin_GohCopper Contributor
Hi Carlos,
This is what i found so far as well. I have also check the ULS logs and there are no error log in there as well.
- In general you shouldn't do a backup/restore this way for Addins. Instead, remove the Addin and re-add it to the site.