Updater app logs admin out

Hi. I was just performing an Update from 10.0.3 to 10.0.7 using the updater app on a hosted server (all-inkl). During download I was logged out automatically and the maintance mode page popped up (“This ownCloud instance is currently in maintenance mode, which may take a while…”). Is this expected to happen even for the admin? Can I check the status of the update somehow? Thx

Hi,
This is normal.

Do you have ssh access?

Hi dmitry,
thx, good to know. So normally I just wait until I can log in again? As far as I know I do not have ssh access, only ftp.

Maybe.

If not you will need to execute the occ command from command line. Or you can ask the support to do it for you

hm, just checked again, ssh is not possible for me. What would the occ command do? can i do the same by editing some file and uploading it via ftp?

The occ coand would finish the upgrade

I don’t think you can do this with ftp

Maybe you could also just try to disable the maintenance mode in the config.php to see if the update was already done:

1 Like

Hi again,

I tried tom42’s tip changing the maintenance mode in the config.php and succeeded in getting a “start upgrade” message appearing at the log in page. However, after starting the upgrade, I get the following message:

“Updating to 10.0.7
OC\RepairException: Upgrade is not possible
Repair warning: You have incompatible or missing apps enabled that could not be found or updated via the marketplace.
Repair warning: Please install or update the following apps manually or disable them with: occ app:disable activity occ app:disable calendar occ app:disable contacts occ app:disable files_external_dropbox occ app:disable files_pdfviewer occ app:disable files_texteditor occ app:disable gallery occ app:disable onlyoffice
Repair warning: For manually updating, see ownCloud Documentation Overview

Is there any chance to disable the apps without ssh access to the server?

You have to disable 3rd party apps before an upgrade.

Without ssh access I don’t know any possibility to do so.

thank you dmitry. so i did a fresh install and recovered user data from backup. works all fine now. in the end it might be my fault not having deactivated the apps first… but actually, for the sake of usability, this should be checked by the updater app automatically before starting the upgrade. i don’t think i am the only one without ssh access and rebuilding the cloud really sucks. particularly since the database cannot easily be migrated to a newer version… anyway, thanks for your help guys!

I had read the following in the past:

Disabling apps can seriously break your instance during Upgrade. Therefore we leave this to the user who can better judge about the Situation.
Why does updating NEVER work for my owncloud? · Issue #31130 · owncloud/core · GitHub

which seems to be the reason why apps are not disabled. But on the other hand it broke your instance because it havn’t done this step for you. :confused:

well, then an automated check for activated apps in combination with a pop-up warning to make the user aware of the issue might be useful :wink:

I think the developers of ownCloud are happy about such feedback as a feature request at the github issue tracker. :slight_smile:

Addition:

It seems its even recommended to have command line access:

and there is a discussion ongoing to completely remove the possibility to update via the web: :confused:

thx for that hint. that will lead to less people upgrading and in the end it will only push nextcloud, there are many owncloud users who either simply have no ssh access or no idea how to use it :confused: