upgrade Wizard v 1.6.1

Bug #1391195 reported by Klemens Miehe
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
webtrees
Fix Released
High
fisharebest

Bug Description

When unpacking there is an error message, see Appendix.
There are no sub-directories created.
In all previous updates, there were no problems.

Revision history for this message
Klemens Miehe (klemens-miehe) wrote :
Revision history for this message
Norman Brown (norobro) wrote :

Greg,

pclzip.lib.php line 5024 - ( if (!@mkdir($p_dir, WT_PERM_EXE))

A grep of v1.6.0 (& 1.6.1) only finds WT_PERM_EXE in that file.

Could the upgrade failures be because the define was removed?

Or am I missing something?

Norm

Revision history for this message
Norman Brown (norobro) wrote :

I set up a test case (attached), by copying the relevant code from admin_site_upgrade.php, that extracts all files and directories successfully if WT_PERM_EXE is changed to 0777.

Revision history for this message
Norman Brown (norobro) wrote :

Sorry, attached wrong file in previous post.

Revision history for this message
Hubert Springer (hs2) wrote :

I have the same problem the upgrade wizard - I can make the folder by my own and give full rights, but it doesn't work.

Revision history for this message
Christian Holzinger (chyistian) wrote :

I have the same problem.

Revision history for this message
fisharebest (fisharebest) wrote :

Fixed. There were some customizations made to the file library/pclzip.lib.php a long time ago.

Reverting these customizations fixes the problem.

Changed in webtrees:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → fisharebest (fisharebest)
Revision history for this message
Hubert Springer (hs2) wrote :

Hello!
Is there a workaround by changing both files before upgrading?

Revision history for this message
fisharebest (fisharebest) wrote :

> Is there a workaround by changing both files before upgrading?

Yes. Details were posted on the forum.

Revision history for this message
Ben M. (bmhm) wrote :

@fisharebest @#10:
Not helpful, because the forum is not indexed. So for everyone coming here using google, here's the solution:

> If you replace the file library/pclzip.lib.php with the latest version (github.com/fisharebest/webtrees/blob/mas...brary/pclzip.lib.php and click "raw"), then the upgrade wizard should work

Source:
http://www.webtrees.net/index.php/en/forum/help-for-ver-1-6-1/29857-probleme-mise-a-jour-1-6-1#50269

Ben

Revision history for this message
fisharebest (fisharebest) wrote :

Fix released in 1.6.2

Changed in webtrees:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.