?
avatar bassmanpaul
bassmanpaul
22 Aug 2014

Steps to reproduce the issue

1. Log into Joomla's Administrator Section.
2. Go to the Extension Manager.
3. Under "install" install "pkg_test_v1.zip" -> Success!
4. Now upgrade by installing "pkg_test_v101.zip" -> Warning Thrown.

Note: For sample Zip packages please see original bug report in the old bug tracker at: Bug Tracker {#34084}

Full Details

When installing a package over the top of an existing package that has a new entry in it's manifest the following error is thrown:

"JInstaller: :Install: Cannot find XML setup file" by libraries/cms/installer.php line ~1912

From what I can see normally the installer looks to the "tmp" directory for the xml files.
However with an update containing new packages the installer actually looks in the install location (e.g. plugins/system/plg_name) which doesn't exist yet as it hasn't been installed.

This issue occurs on update rather than on fresh installation of the package extension.

Reasons/Scenarios why I believe this is required logic:

1. You release a new version of your extension which contains a new feature (in the form of a plugin for example). You would expect to be able to install this package over the top of the existing record without receiving warning messages.

2. You have a free extension(package) & a commercial extension. The commercial extension includes extra plugins, modules etc. Users who upgrade their extension by installing the "pro" version over the "free" version will experience this issue.

Please see attached example for how to recreate this scenario.

Thanks for your time.

Additional Comments

This is a continuation from: http://joomlacode.org/gf/project/joomla/tracker/?action=TrackerItemEdit&tracker_item_id=34084

Votes

# of Users Experiencing Issue
0/1
Average Importance Score
3.00

avatar bassmanpaul bassmanpaul - open - 22 Aug 2014
avatar bassmanpaul bassmanpaul - change - 22 Aug 2014
The description was changed
avatar bassmanpaul
bassmanpaul - comment - 22 Aug 2014

See below screenshot of the two XML package manifests (encase the original zip files vanish):

screen shot 2014-08-22 at 11 00 40

This comment was created with the J!Tracker Application at http://issues.joomla.org/.

avatar bassmanpaul bassmanpaul - change - 22 Aug 2014
The description was changed
Title
Extension Package Update Installation Error
Package Update Installation Error
avatar vdespa
vdespa - comment - 13 Sep 2014

The packages seem to install properly, but there is a warning message being thrown.

I have managed to make the warning disappear, by setting in the plugins the current Joomla version. Instead of 3.2 to 3.3.

Does this help?

This comment was created with the J!Tracker Application at http://issues.joomla.org/.

avatar bassmanpaul
bassmanpaul - comment - 16 Sep 2014

Hi, thanks for your suggestion.

I updated the Joomla version throughout the packages but the problem seems to remain. Have I missed something?

P.S. We really need to allow uploading ZIP files like the old system :)

This comment was created with the J!Tracker Application at http://issues.joomla.org/.

avatar brianteeman brianteeman - change - 21 Sep 2014
Category Updating
avatar vdespa
vdespa - comment - 2 Oct 2014

I have tried two times the packages you provided and with the fixes explained I managed to get it to work.

At this point I'm not able to any issues with the installer so I will close this.

If you still think this is an error, please open another issue with clearer instructions or other 3rd party extension that has the same issue.

My advice is to use a clean Joomla installation and to use a debugger to look into the install process.

Thanks for understanding.

This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/4148.

avatar jissues-bot
jissues-bot - comment - 2 Oct 2014

Set to "closed" on behalf of @vdespa by The JTracker Application at issues.joomla.org/joomla-cms/4148

avatar jissues-bot jissues-bot - close - 2 Oct 2014
avatar zero-24 zero-24 - close - 2 Oct 2014
avatar vdespa vdespa - change - 2 Oct 2014
Status New Closed - Unconfirmed Report
avatar jissues-bot jissues-bot - change - 2 Oct 2014
Closed_Date 0000-00-00 00:00:00 2014-10-02 15:31:31
avatar zero-24 zero-24 - change - 7 Jul 2015
Labels Added: ?

Add a Comment

Login with GitHub to post a comment