Status page / upgrades

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Status page / upgrades

Kristof Provost

Hi,

For some upgrades the database has to be updated. Until this is done the owncloud instance is not usable.
This isn’t reflected in the status page though. It does not show the instance is in maintenance mode (or is not installed).

This patch seems to work for me:

--- a/owncloud/status.php    2016-07-20 11:15:02.000000000 +0200
+++ b/owncloud/status.php   2016-09-23 16:02:47.932357000 +0200
@@ -37,6 +37,7 @@
        $values=array(
                'installed'=>$installed,
                'maintenance' => $maintenance,
+               'needupgrade' => \OCP\Util::needUpgrade(),
                'version'=>implode('.', \OCP\Util::getVersion()),
                'versionstring'=>OC_Util::getVersionString(),
                'edition'=>OC_Util::getEditionString());

Regards,
Kristof


_______________________________________________
Devel mailing list
[hidden email]
http://mailman.owncloud.org/mailman/listinfo/devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Status page / upgrades

Chris-3
CONTENTS DELETED
The author has deleted this message.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Status page / upgrades

Kristof Provost
On 24 Sep 2016, at 12:02, Chris wrote:
> if you think it makes sense to include that patch into oC its probably
> better to directly create a pull request at:
>
> https://github.com/owncloud/core/
>
https://github.com/owncloud/core/pull/26209

Regards,
Kristof
_______________________________________________
Devel mailing list
[hidden email]
http://mailman.owncloud.org/mailman/listinfo/devel
Loading...