SharePoint 2019 site suddenly Read Only even for Administrator!

Tevon2.0 1,106 Reputation points
2023-06-16T14:09:58.72+00:00

Upon going to one of my SharePoint sites this morning I noticed that one of them has the message:
"SharePoint sites are read-only right now while we do some maintenance. We apologize for the inconvenience.".

I went to central admin as an admin and the option to unlock is greyed out for this site collection while the other ones are normal. What can I do to fix this and why does this happen?

User's image

SharePoint Server
SharePoint Server
A family of Microsoft on-premises document management and storage systems.
2,422 questions
SharePoint Server Development
SharePoint Server Development
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Development: The process of researching, productizing, and refining new or existing technologies.
1,657 questions
SharePoint Server Management
SharePoint Server Management
SharePoint Server: A family of Microsoft on-premises document management and storage systems.Management: The act or process of organizing, handling, directing or controlling something.
3,081 questions
0 comments No comments
{count} votes

Accepted answer
  1. Yanli Jiang - MSFT 31,596 Reputation points Microsoft External Staff
    2023-06-19T06:18:54.84+00:00

    Hi Tevon ,

    In addition to this message, is there any other information or emails?

    To clear maintenance mode in SharePoint, use this PowerShell script:

    Add-PSSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue
     
    #Site Collection URL
    $SiteURL = "https://……/"
     
    #Clear Maintenance mode
    $Admin = new-object Microsoft.SharePoint.Administration.SPSiteAdministration($SiteURL)
    $Admin.ClearMaintenanceMode()
    

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.