Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update fails with "Error during unpacking zipfile: No error" #11876

Closed
jammon opened this issue Oct 16, 2018 · 6 comments
Closed

Update fails with "Error during unpacking zipfile: No error" #11876

jammon opened this issue Oct 16, 2018 · 6 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug feature: install and update needs info

Comments

@jammon
Copy link

jammon commented Oct 16, 2018

Steps to reproduce

  1. Upgrade with the updater from 14.0.1 to 14.0.3

Expected behaviour

Should upgrade smoothly

Actual behaviour

Stops upgrade process at “Extracting” with the message “Error during unpacking zipfile: No error”.
noerror

The updater.log says:

2018-10-14T05:07:17+0200 XztBje9bsk [info] request to updater
2018-10-14T05:07:17+0200 XztBje9bsk [info] currentStep()
2018-10-14T05:07:17+0200 XztBje9bsk [info] POST request for step "6"
2018-10-14T05:07:17+0200 XztBje9bsk [info] startStep("6")
2018-10-14T05:07:17+0200 XztBje9bsk [info] extractDownload()
2018-10-14T05:07:17+0200 XztBje9bsk [info] storage location: /media/nextcloud/nc_data/updater-oc568k78b4f2/downloads/
2018-10-14T05:08:42+0200 XztBje9bsk [error] POST request failed with other exception
2018-10-14T05:08:42+0200 XztBje9bsk [error] Exception: Exception
Message: Error during unpacking zipfile: No error
Code:0
Trace:
#0 /var/www/nextcloud/updater/index.php(1320): Updater->extractDownload()
#1 {main}
File:/var/www/nextcloud/updater/index.php
Line:779

2018-10-14T05:08:42+0200 XztBje9bsk [info] rollbackChanges("6")
2018-10-14T05:08:42+0200 XztBje9bsk [info] unlink .step
2018-10-14T05:08:42+0200 XztBje9bsk [info] end of  rollbackChanges()

In /var/log/nginx/nextcloud.error.log:

2018/10/14 05:08:42 [error] 8093#8093: *7 FastCGI sent in stderr: "PHP message: PHP Warning: ZipArchive::extractTo(/media/nextcloud/nc_data/updater-oc568k78b4f2/downloads/nextcloud/apps/support/resources/Why the Nextcloud Subscription?.pdf): failed to open stream: No such file or directory in /var/www/nextcloud/updater/index.php on line 777" while reading response header from upstream, ...

Problem

The question mark in updater-XXXX/downloads/nextcloud/apps/support/resources/Why the Nextcloud Subscription?.pdf seems to be a problem for unzip.

See also the discussion in the forum

Server configuration

Operating system: Ubuntu 18.04.1 LTS
Web server: nginx/1.15.5

Database: mysql Ver 15.1 Distrib 10.3.10-MariaDB, for debian-linux-gnu (aarch64) using readline 5.2

PHP version: PHP 7.2.10

Nextcloud version: 14.0.1 fresh install

Are you using external storage, if yes which one: smb

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #3636 (Update fails), #2249 (Updating dav fails), #5879 (Updater fails updating themeing), #2958 (Update error), and #3478 (Update to 11.0.1 fails (loop): An error occurred.).

@skjnldsv skjnldsv added the 0. Needs triage Pending check for reproducibility or if it fits our roadmap label Jun 12, 2019
@nunesgh
Copy link

nunesgh commented Dec 20, 2019

Same error here. Trying to update from Nextcloud 16.0.7 to 17.0.2.

@kesselb
Copy link
Contributor

kesselb commented Jan 16, 2020

cc @jospoortvliet @rullzer could you rename the file? Seems to be a issue for some people.

@skjnldsv
Copy link
Member

cc @blizzz @nickvergessen too :)

@nickvergessen
Copy link
Member

@MorrisJobke is back :)

@MorrisJobke
Copy link
Member

cc @jospoortvliet @rullzer could you rename the file? Seems to be a issue for some people.

It's now named "Why the Nextcloud Subscription.pdf". It was renamed in 15.0.0 and 14.0.4. So this should be okay now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug feature: install and update needs info
Projects
None yet
Development

No branches or pull requests

7 participants