This Help forum is for issues relates to webtrees 1.7. For issues related to webtrees 2.0, please use that forum.
Before asking for help please read "How to request help" by clicking on that tab above here."
  • Page:
  • 1

TOPIC: Unzip error when upgrading from 1.7.15 to 1.7.16

Unzip error when upgrading from 1.7.15 to 1.7.16 3 months 1 day ago #1

  • frisket
  • frisket's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 13
I imported a new GEDCOM file this morning, all working fine (my webtrees is hosted on my own server)
Then I clicked the upgrade link and got the following:

Upgrade wizard
It can take several minutes to download and install the upgrade. Be patient.

Check for pending changes…
There are no pending changes.
Check for custom modules…
No custom modules are enabled.
Check for custom themes…
No custom themes are enabled.
Export all the family trees to GEDCOM files…
The family tree has been exported to /<path-to-my-server-directory>/data/flynn-2020-02-28.ged.
Download https://github.com/fisharebest/webtrees/releases/download/1.7.16/webtrees-1.7.16.zip…
3 KB were downloaded in 0.37 seconds.
Unzip webtrees-1.7.16.zip to a temporary folder…
An error occurred when unzipping the file.
PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature


Is this likely to be a transient, or has the 1.7.16 zip files been corrupted?

Please Log in or Create an account to join the conversation.

Unzip error when upgrading from 1.7.15 to 1.7.16 3 months 1 day ago #2

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 12929
> 3 KB were downloaded in 0.37 seconds.

The file is approx 30MB.

If you only downloaded 3KB, then the download failed.

Try again.

If you consistently fail to download the file, then perhaps there is some server configuration that is preventing you from fetching external files?
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Unzip error when upgrading from 1.7.15 to 1.7.16 3 months 1 day ago #3

The link does not expand correctly. Note the following when I try to manually download the zip file:

ficca:Downloads kanthan$ curl -O github.com/fisharebest/webtrees/releases.../webtrees-1.7.16.zip
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 609 100 609 0 0 624 0 --:--:-- --:--:-- --:--:-- 623
ficca:Downloads kanthan$ more webtrees-1.7.16.zip
<html><body>You are being <a href=" github-production-release-asset-2e65be.s...ation%2Foctet-stream ">redirected</a>.</body></html>
ficca:Downloads kanthan$

Please Log in or Create an account to join the conversation.

Unzip error when upgrading from 1.7.15 to 1.7.16 3 months 1 day ago #4

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 12929
By default, curl does not follow redirects.

You need to use "curl -L -O".
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Unzip error when upgrading from 1.7.15 to 1.7.16 3 months 1 day ago #5

  • frisket
  • frisket's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 13
I checked that but there's gigs of space left.
I'd be surprised if my hosting had changed the fetching rules (I've upgraded web applications dozens of times) but I've asked them.

Thanks for the help.

Please Log in or Create an account to join the conversation.

Unzip error when upgrading from 1.7.15 to 1.7.16 3 months 1 day ago #6

  • frisket
  • frisket's Avatar Topic Author
  • Offline
  • New
  • New
  • Posts: 13
That's something that needs to be fixed in the webtrees maintenance scripts. I'm doing this via the web interface.

I can always log in and do it manually, though.

Thanks for the pointer.

Please Log in or Create an account to join the conversation.

Unzip error when upgrading from 1.7.15 to 1.7.16 2 months 2 weeks ago #7

I have the exact same problem.

I successfully downloaded webtrees-1.7.16.zip from GitHub and uploaded it to data folder in the server using cpanel, replacing the one that webtrees unsuccessfully tried to download.

So how do I do the upgrade by hand from there?

Please Log in or Create an account to join the conversation.

Last edit: by Bluenoser.

Unzip error when upgrading from 1.7.15 to 1.7.16 2 months 2 weeks ago #8

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 12929
> So how do I do the upgrade by hand from there?

webtrees.github.io/upgrade/manual/
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Do you need a web hosting solution for your webtrees site?
If you prefer a host that specialises in webtrees, the following page lists some suppliers able to provide one for you: 

Unzip error when upgrading from 1.7.15 to 1.7.16 1 week 2 days ago #9

  • sleebooth
  • sleebooth's Avatar
  • Away
  • New
  • New
  • Posts: 30
webtrees.github.io/upgrade/manual/webtrees.github.io/upgrade/manual/ instructs users to use ftp to upload all the webtrees files one by one to the server

I believe Bluenoser wanted to upload the zip file to the server and unpack it there. Surely that would be quicker and more efficient?

Would it be possible to have a zip file that had one less folder tier i.e. such that unpacking it onto the server's webtrees folder, whatever that was named, would do the same job?

(I ask because I'm getting:
"cURL error 28: Operation timed out after 55000 milliseconds with 11190786 out of 30263235 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)"

when I try to upgrade to webtrees 2.04, so it looks like I'm going to have to do a manual upgrade again)
John's SLEE/BOOTH Family Tree
sleebooth.co.uk
webtrees v2.0.4
PHP Version 7.2.28

Please Log in or Create an account to join the conversation.

Unzip error when upgrading from 1.7.15 to 1.7.16 1 week 2 days ago #10

  • fisharebest
  • fisharebest's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 12929
> Operation timed out after 55000 milliseconds with 11190786 out of 30263235 bytes received

This step is fetching approximately 30MB to your server.

If you can only retrieve 11MB in 55 seconds, then your server has a very slow connection to the rest of the internet...

> I believe Bluenoser wanted to upload the zip file to the server and unpack it there. Surely that would be quicker and more efficient?

Server-to-server connections are generally very fast.
User-to-server connections can be very slow.

For example, my server will fetch this file in about 2 seconds.
If I wanted to upload it there myself, it would take me several minutes.

> Would it be possible to have a zip file that had one less folder tier i.e. such that unpacking it onto the server's webtrees folder, whatever that was named, would do the same job?

One reason for unzipping to a temporary folder and then moving the files to their new location is that it guarantees we have enough disk space.

If we unzipped directly into the final location, we could run out of disk space half way through and be left with a mix of old/new files.
Greg Roach - This email address is being protected from spambots. You need JavaScript enabled to view it. - fisharebest.webtrees.net

Please Log in or Create an account to join the conversation.

Unzip error when upgrading from 1.7.15 to 1.7.16 1 week 13 hours ago #11

I have exact the same error:

Lade github.com/fisharebest/webtrees/releases...webtrees-1.7.17.zip…
3 kB wurden in 0,28 Sekunden heruntergeladen.
Entpacke webtrees-1.7.17.zip in ein temporäres Verzeichnis…
Beim Entpacken der Datei ist ein Fehler aufgetreten.
PCLZIP_ERR_BAD_FORMAT (-10) : Unable to find End of Central Dir Record signature

there is a new empty folder in the data directory: webtrees-1.7.17

Please Log in or Create an account to join the conversation.

Unzip error when upgrading from 1.7.15 to 1.7.16 1 week 12 hours ago #12

Now I updated manually with FTP.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Powered by Kunena Forum