# Stuck in Maintenance mode after attempt to go to Nextcloud 13

**URL:** <https://help.nextcloud.com/t/stuck-in-maintenance-mode-after-attempt-to-go-to-nextcloud-13/27206>\
**Category:** ℹ️ Support\
**Tags:** update\_problems, nc13\
**Created:** [February 9, 2018, 6:50pm UTC](https://help.nextcloud.com/t/stuck-in-maintenance-mode-after-attempt-to-go-to-nextcloud-13/27206 "2018-02-09T18:50:26Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDD](https://help.nextcloud.com/letter_avatar/sdd/32/5_5575768a8748004e209b776fc1b2916d.png) [@SDD](https://help.nextcloud.com/u/SDD)\
**Post date:** [February 9, 2018, 6:50pm UTC](https://help.nextcloud.com/t/stuck-in-maintenance-mode-after-attempt-to-go-to-nextcloud-13/27206/1 "2018-02-09T18:50:27Z")

</div>

Using the Nextcloud PI version installed via Curl on a Debian Laptop. It worked fine as 12.04 and it took update to 12.05 without any trouble. Version 13 update appeared to fail and now what I get for login screen is

This Nextcloud instance is currently in maintenance mode, which may take a while.

This page will refresh itself when the Nextcloud instance is available again.

Contact your system administrator if this message persists or appeared unexpectedly.

Thank you for your patience.

Suggestions?

---

<div class="post-metadata">

**Author:** ![RussianNeuroMancer](https://help.nextcloud.com/user_avatar/help.nextcloud.com/russianneuromancer/32/7547_2.png) [@RussianNeuroMancer](https://help.nextcloud.com/u/RussianNeuroMancer)\
**Post date:** [February 9, 2018, 6:51pm UTC](https://help.nextcloud.com/t/stuck-in-maintenance-mode-after-attempt-to-go-to-nextcloud-13/27206/2 "2018-02-09T18:51:08Z")

</div>

`sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off`

---

<div class="post-metadata">

**Author:** ![SDD](https://help.nextcloud.com/letter_avatar/sdd/32/5_5575768a8748004e209b776fc1b2916d.png) [@SDD](https://help.nextcloud.com/u/SDD)\
**Post date:** [February 9, 2018, 6:58pm UTC](https://help.nextcloud.com/t/stuck-in-maintenance-mode-after-attempt-to-go-to-nextcloud-13/27206/3 "2018-02-09T18:58:44Z")

</div>

> [@RussianNeuroMancer](#):
>
> sudo -u www-data php /var/www/nextcloud/occ maintenance:mode --off

Thank you, it seems to work and left me back at version 12.05

---

<div class="post-metadata">

**Author:** ![tombrossman](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tombrossman/32/11912_2.png) [@tombrossman](https://help.nextcloud.com/u/tombrossman)\
**Post date:** [February 9, 2018, 7:00pm UTC](https://help.nextcloud.com/t/stuck-in-maintenance-mode-after-attempt-to-go-to-nextcloud-13/27206/4 "2018-02-09T19:00:58Z")

</div>

Same problem here, due to the download site timing out. I guess there is a problem with the server, or maybe too many people are trying to update right now? Just disable maintenance mode and try updating later.

---

<div class="post-metadata">

**Author:** ![SDD](https://help.nextcloud.com/letter_avatar/sdd/32/5_5575768a8748004e209b776fc1b2916d.png) [@SDD](https://help.nextcloud.com/u/SDD)\
**Post date:** [February 9, 2018, 7:04pm UTC](https://help.nextcloud.com/t/stuck-in-maintenance-mode-after-attempt-to-go-to-nextcloud-13/27206/5 "2018-02-09T19:04:37Z")

</div>

I hope that is the issue I will let the 12.05 try to pick it up later.

---

<div class="post-metadata">

**Author:** ![tombrossman](https://help.nextcloud.com/user_avatar/help.nextcloud.com/tombrossman/32/11912_2.png) [@tombrossman](https://help.nextcloud.com/u/tombrossman)\
**Post date:** [February 9, 2018, 7:07pm UTC](https://help.nextcloud.com/t/stuck-in-maintenance-mode-after-attempt-to-go-to-nextcloud-13/27206/6 "2018-02-09T19:07:15Z")

</div>

It’s down for the past few hours but I’m sure they are working on it. Probably best to continue in this thread instead: [Https://download.nextcloud.com down?](https://help.nextcloud.com/t/https-download-nextcloud-com-down/27193)

---

<div class="post-metadata">

**Author:** ![SDD](https://help.nextcloud.com/letter_avatar/sdd/32/5_5575768a8748004e209b776fc1b2916d.png) [@SDD](https://help.nextcloud.com/u/SDD)\
**Post date:** [February 10, 2018, 10:46pm UTC](https://help.nextcloud.com/t/stuck-in-maintenance-mode-after-attempt-to-go-to-nextcloud-13/27206/7 "2018-02-10T22:46:45Z")

</div>

It is working, took it out of maintenance mode and tried it later and update went through this time with no hanging

---

<div class="post-metadata">

**Author:** ![dnzm](https://help.nextcloud.com/user_avatar/help.nextcloud.com/dnzm/32/7811_2.png) [@dnzm](https://help.nextcloud.com/u/dnzm)\
**Post date:** [February 17, 2018, 11:33am UTC](https://help.nextcloud.com/t/stuck-in-maintenance-mode-after-attempt-to-go-to-nextcloud-13/27206/8 "2018-02-17T11:33:23Z")

</div>

I ran into a problem upgrading a NC12 (12.0.3.3) install to NC13. Update did its thing successfully, fetched the files, installed them, web interface that shows the “I need to upgrade things” message seems different as well - which gives me the idea that _something_ was upgraded - but no dice on the `occ upgrade`, command line or via web. That’s where things come to a screeching halt, since that tells me:

```
Exception: Updates between multiple major versions and downgrades are unsupported.
Update failed

```

with no apparent way of fixing that. Running the installer again ends in the same manner. Logs show no errors during the update, all steps are green.

This is really annoying, I’ve been using OwnCloud and now NextCloud for quite a while and when it works, it works brilliantly, but I have yet to have an upgrade _not_ fail on me in some way. ☹

Any help would be greatly appreciated.

Edit: managed to get things working again, by directly editing the relavant part of the updater. Somehow it figured that my current provider was blank, which meant it started to do things the OwnCloud way. After hard-coding ‘nextcloud’ there, it worked.

This may or may not be caused by the fact that I have an old install that was upgraded from all the way back to OC8…

---

<div class="post-metadata">

**Author:** ![irfan\_ariyadi](https://help.nextcloud.com/letter_avatar/irfan_ariyadi/32/5_5575768a8748004e209b776fc1b2916d.png) [@irfan\_ariyadi](https://help.nextcloud.com/u/irfan_ariyadi)\
**Post date:** [November 28, 2018, 3:21am UTC](https://help.nextcloud.com/t/stuck-in-maintenance-mode-after-attempt-to-go-to-nextcloud-13/27206/9 "2018-11-28T03:21:48Z")

</div>

u r awesome dude  
thanks

---

<div class="post-metadata">

**Author:** ![tflidd](https://help.nextcloud.com/letter_avatar/tflidd/32/5_5575768a8748004e209b776fc1b2916d.png) [@tflidd](https://help.nextcloud.com/u/tflidd)\
**Post date:** [April 26, 2020, 8:14am UTC](https://help.nextcloud.com/t/stuck-in-maintenance-mode-after-attempt-to-go-to-nextcloud-13/27206/10 "2020-04-26T08:14:23Z")

</div>

A post was split to a new topic: [Upgrade Nextcloud in FreeNAS jail](https://help.nextcloud.com/t/upgrade-nextcloud-in-freenas-jail/79307)

---

<div class="post-metadata">

**Author:** ![system](https://help.nextcloud.com/user_avatar/help.nextcloud.com/system/32/29333_2.png) [@system](https://help.nextcloud.com/u/system)\
**Post date:** [September 23, 2024, 4:48pm UTC](https://help.nextcloud.com/t/stuck-in-maintenance-mode-after-attempt-to-go-to-nextcloud-13/27206/11 "2024-09-23T16:48:49Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 9, 2024, 2:12pm UTC](https://help.nextcloud.com/t/stuck-in-maintenance-mode-after-attempt-to-go-to-nextcloud-13/27206/12 "2024-12-09T14:12:47Z")

</div>


