Owncloud updater zip error

I want to upgrade with updater, but i get following error:

Steps to reproduce

  1. Initializing
    Current version is 10.0.9.5
    Online version is 10.0.10 [production]
    Start
    Checking system
    Creating a checkpoint
    Downloading
    Updating core
    Extracting source into /var/www/vhosts/_________/ownclouddata/updater-data/_oc_upgrade/10.0.10
    Extraction has been failed
    e[RuntimeException] e
    eThere was an error extracting the ZIP file. Corrupt file? e

eupgrade:executeCoreUpgradeScriptse

Expected behaviour

I want to upgrade 10.0.9.5 to 10.0.10 with updater

Actual behaviour

I get this error: There was an error extracting the ZIP file. Corrupt file? e

Server configuration

Operating system:
NAME=“CentOS Linux”
VERSION=“7 (Core)”
ID=“centos”
ID_LIKE=“rhel fedora”

Web server:
Database:
PHP version: PHP Version 7.0.32
ownCloud version: 10.0.9.5
Updated from an older ownCloud or fresh install: Updated manually from 10.0.9
Where did you install ownCloud from:
Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.
```No errors have been found.

Log in to the web-UI with an administrator account and click on
‘admin’ -> ‘Generate Config Report’ -> ‘Download ownCloud config report’
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.
“zip”: {
“Zip”: “enabled”,
“Zip version”: “1.13.5”,
“Libzip version”: “1.1.2”

ATTENTION: Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove all host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.

**Are you using encryption:** no

Unzip from terminal: unzip 10.0.10.zip -d ../_oc_upgrade/10.0.10/ works fine

If you can extract it on the command line, but not in the web, you might have a problem with the php zip package:

sudo apt-get install -y php7.2-zip

https://doc.owncloud.com/server/10.0/admin_manual/installation/source_installation.html#install-the-required-packages

I would also check the permissions on your ownCloud directory, make sure the web server user has access.

Could you also check if you have enough free space available?

1 Like