Own Cloud update failed

hosting

#1

Hello
After ignoring the upgrade message on my owncloud install for a few weeks, alas I decided to do it via the updater in admin
This did not work ...

I have 80Go of images on there so its a big set up and its the third time an upgrade has borked on me !!
each time its 4/5 days of upload after reinstalling from scratch.

So I went onto the server in a terminal and ran
php occ upgrade
This is the output if somebody can help me fix this I would be grateful
thanks
Philip

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
2017-10-29T19:49:11+00:00 Set log level to debug
2017-10-29T19:49:11+00:00 Repair step: Repair MySQL database engine
2017-10-29T19:49:11+00:00 Repair step: Repair MySQL collation
2017-10-29T19:49:11+00:00 Repair info: All tables already have the correct collation -> nothing to do
2017-10-29T19:49:11+00:00 Repair step: Repair SQLite autoincrement
2017-10-29T19:49:11+00:00 Repair step: Repair duplicate entries in oc_lucene_status
2017-10-29T19:49:11+00:00 Repair info: lucene_status table does not exist -> nothing to do
2017-10-29T19:49:11+00:00 Repair step: Upgrade app code from the marketplace
2017-10-29T19:49:11+00:00 Repair warning: Market app is unavailable for updating of apps. Please update manually, see https://doc.owncloud.org/server/10.0/go.php?to=admin-marketplace-apps
2017-10-29T19:49:11+00:00 Repair warning: You have incompatible or missing apps enabled that could not be found or updated via the marketplace.
2017-10-29T19:49:11+00:00 Repair warning: Please install or update the following apps manually or disable them with:
occ app:disable configreport
occ app:disable dav
occ app:disable federatedfilesharing
occ app:disable federation
occ app:disable files
occ app:disable files_external
occ app:disable files_sharing
occ app:disable files_trashbin
occ app:disable files_versions
2017-10-29T19:49:11+00:00 Repair warning: For manually updating, see https://doc.owncloud.org/server/10.0/go.php?to=admin-marketplace-apps
2017-10-29T19:49:11+00:00 OC\RepairException: Upgrade is not possible
2017-10-29T19:49:11+00:00 Update failed
2017-10-29T19:49:11+00:00 Maintenance mode is kept active
2017-10-29T19:49:11+00:00 Reset log level


#2

Mhhh, when reading your posted output i'm already seeing the following which gives you the info what to do or am i wrong?


#3

Hi Tom
Thanks for your answer, ok sometimes its staring you in the face please excuse my ignorance, :frowning:
I ran the first of these commands
occ app:disable configreport
But I get
bash: occ: command not found
same with the others

How can I reeinstall this without loosing my set up ?

Also what could have gone wrong, maybe php timeout?

Thanks for any help
Philip


#4

Maybe having a look at the documentation helps you how to run that commands:

https://doc.owncloud.org/server/latest/admin_manual/configuration/server/occ_command.html


#5

Hi
I did go over that before and read the page.
It seems I cant do much as any command I run gives me this

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
Maintenance mode disabled

I do seem to be blocked as occ upgrade gives me this output always

You may use your browser or the occ upgrade command to do the upgrade
2017-10-30T16:10:04+00:00 Set log level to debug
2017-10-30T16:10:04+00:00 Turned on maintenance mode
2017-10-30T16:10:04+00:00 Repair step: Repair MySQL database engine
2017-10-30T16:10:04+00:00 Repair step: Repair MySQL collation
2017-10-30T16:10:04+00:00 Repair info: All tables already have the correct collation -> nothing to do
2017-10-30T16:10:04+00:00 Repair step: Repair SQLite autoincrement
2017-10-30T16:10:04+00:00 Repair step: Repair duplicate entries in oc_lucene_status
2017-10-30T16:10:04+00:00 Repair info: lucene_status table does not exist -> nothing to do
2017-10-30T16:10:04+00:00 Repair step: Upgrade app code from the marketplace
2017-10-30T16:10:04+00:00 Repair warning: Market app is unavailable for updating of apps. Please update manually, see https://doc.owncloud.org/server/10.0/go.php?to=admin-marketplace-apps
2017-10-30T16:10:04+00:00 Repair warning: You have incompatible or missing apps enabled that could not be found or updated via the marketplace.
2017-10-30T16:10:04+00:00 Repair warning: Please install or update the following apps manually or disable them with:
occ app:disable dav
occ app:disable federatedfilesharing
occ app:disable files
occ app:disable files_external
occ app:disable files_sharing
occ app:disable files_trashbin
occ app:disable files_versions
2017-10-30T16:10:04+00:00 Repair warning: For manually updating, see https://doc.owncloud.org/server/10.0/go.php?to=admin-marketplace-apps
2017-10-30T16:10:04+00:00 OC\RepairException: Upgrade is not possible
2017-10-30T16:10:04+00:00 Update failed
2017-10-30T16:10:04+00:00 Maintenance mode is kept active
2017-10-30T16:10:04+00:00 Reset log level

I note this
Repair warning: You have incompatible or missing apps enabled that could not be found or updated via the marketplace.

Can I not just upload to the server the new version files ?