Updater app logs admin out

updater
upgrade
10

#1

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


#2

Hi,
This is normal.

Do you have ssh access?


#3

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.


#4

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


#5

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?


#6

The occ coand would finish the upgrade

I don't think you can do this with ftp


#7

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

https://doc.owncloud.org/server/latest/admin_manual/maintenance/enable_maintenance.html


#8

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 https://doc.owncloud.org/server/10.0/go.php?to=admin-marketplace-apps"

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


#9

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

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


#10

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!


#11

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.

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:


#12

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:


#13

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:

https://doc.owncloud.org/server/latest/admin_manual/installation/deployment_recommendations.html#owncloud-administrators-must-have-command-line-or-cron-access

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


#14

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: