# ownCloud upgrade failure

**URL:** <https://discourse.mailinabox.email/t/owncloud-upgrade-failure/1459>\
**Category:** Maintenance\
**Created:** [August 30, 2016, 11:06am UTC](https://discourse.mailinabox.email/t/owncloud-upgrade-failure/1459 "2016-08-30T11:06:37Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fusionbeam](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/fusionbeam/32/416_2.png) [@fusionbeam](https://discourse.mailinabox.email/u/fusionbeam)\
**Post date:** [August 30, 2016, 11:06am UTC](https://discourse.mailinabox.email/t/owncloud-upgrade-failure/1459/1 "2016-08-30T11:06:37Z")

</div>

Hi,  
First of all congrats. We’ve been using mailinabox for a long time without any issues. Congrats!

The upgrade script failed on occ, have to bypass it. We haven’t actually been using ownCloud yet.  
`root@box:/usr/local/lib/owncloud# sudo -u www-data php occ upgrade ownCloud or one of the apps require upgrade - only a limited number of commands are available You may use your browser or the occ upgrade command to do the upgrade Set log level to debug - current level: 'Warning' Exception: Updates between multiple major versions and downgrades are unsupported. Update failed Maintenance mode is kept active Reset log level to 'Warning'`

Is there way to recover nicely out of this?  
Since we haven’t been using it I wouldn’t mind doing an owc fresh install if upgrading fails. Any pointers on how to do that ?

Thanks,  
Rares

* * *

Mail-in-a-Box Version: v0.19b

---

<div class="post-metadata">

**Author:** ![rusvdw](https://discourse.mailinabox.email/user_avatar/discourse.mailinabox.email/rusvdw/32/420_2.png) [@rusvdw](https://discourse.mailinabox.email/u/rusvdw)\
**Post date:** [September 5, 2016, 12:21pm UTC](https://discourse.mailinabox.email/t/owncloud-upgrade-failure/1459/2 "2016-09-05T12:21:31Z")

</div>

I’ve got the same issue, and disabling the owncloud install in the ~/mailinabox/setup/start.sh file has helped get the upgrade working, but obviously doesn’t do anything about upgrading the owncloud installation.
