This error is lying to you about the cause. Here’s what’s causing it and how to fix it.

The "under maintenance error" that can stop you from updating League of Legends seems like it's just Riot Games' servers being down, but it's not. Here's how to fix it.

If you're trying to patch League of Legends and you're getting a reoccurring error code that says "under maintenance error," it can be confusing. If you're getting this code, Riot's servers aren't genuinely down for maintenance. Instead, something's going wrong inside of the League of Legends client and you'll need to make some repairs.

How to fix the "under maintenance error" in League of Legends

If you're getting this error, it's most likely that you're using Linux. If not, the same steps should work to remedy the situation, but Linux users are especially likely to end up with this code. The first step you should do is to open, and install if you don't have it, the Hextech Repair Tool. This program is Riot Games' official debugger and repair tool. It can be downloaded for free from Riot Games. Run the Hextech Repair Tool, let it work its magic, and the error should be solved.

Aurelion Sol artwork (Image via Riot Games)
Aurelion Sol artwork (Image via Riot Games)

If the Hextech Repair Tool doesn't fix the problem, you'll have to get more hands-on.

  • Find the RiotClientServices.exe.old file — the default path on Windows for this is Riot Games\Riot Client\RiotClientServices.exe.old
  • Delete the RiotClientServices.exe.old file
  • Find the ucrtbase.dll file — the default path on Windows for this is Riot Games\Riot Client\ucrtbase.dll
  • Delete ucrtbase.dll file
  • Run Hextech Repair Tool again
  • Try to launch League of Legends

If this solution doesn't work, you're best off using the Hextech Repair Tool to gather all your League of Legends logs into a zip and to use that to file a support ticket with Riot Games directly.

Hopefully, this fixes your error and you'll be able to get the latest patch for League of Legends with no problem.