OneDrive and sites read-only maintenance error
I came across an interesting issue recently while I was backing up a site collection via SharePoint Management shell & the backup process was abnormally terminated. This resulted in the Site being in Read only mode & the following message would show up when users browsed to the site.
"We apologize for the inconvenience, but we've made OneDrive and sites read-only while we do some maintenance."
I have no clue how to get out of this situation. When I searched for the solution everyone is talking about SharePoint online but I got this on SharePoint on-premise.
But at last, I found the solution for this. Because of abnormally terminated backup process, the site collection went to read-only mode.
Technically, it has put site to maintenance mode. I ran following script to make it normal.
$Admin = new-object Microsoft.SharePoint.Administration.SPSiteAdministration("site collection url")
$Admin.ClearMaintenanceMode()
"We apologize for the inconvenience, but we've made OneDrive and sites read-only while we do some maintenance."
I have no clue how to get out of this situation. When I searched for the solution everyone is talking about SharePoint online but I got this on SharePoint on-premise.
But at last, I found the solution for this. Because of abnormally terminated backup process, the site collection went to read-only mode.
Technically, it has put site to maintenance mode. I ran following script to make it normal.
$Admin = new-object Microsoft.SharePoint.Administration.SPSiteAdministration("site collection url")
$Admin.ClearMaintenanceMode()

Comments
Post a Comment