Creating Installer - Extraction Error

SDK Docs: http://installatron.com/developer/apps
SDK GUI Editor: http://installatron.com/editor
donnacha
Posts: 46
Joined: Thu Feb 12, 2009 2:35 am
Location: Edinburgh UK

Creating Installer - Extraction Error

Postby donnacha » Fri Feb 13, 2009 2:05 am

As an experiment, I created an installer (for a WordPress plugin called WP Supercache) and it all seemed fine until the archive extraction stage.

I edited the control file with the correct URL and uploaded both files to an accessible location:

http://paintgirls.com/wpsupercache.xml
http://paintgirls.com/wpsupercache.tar.gz

... and entered http://paintgirls.com/wpsupercache.xml

But, when I ran the Installatron Updater I got this, with an "unable to extract archive" error right at the end:

Code: Select all

Installatron Install & Repair Utility,
Rev. 2.3 (2008-11-13)

Internal PHP Binary: /usr/local/bin/php
PHP Binary Version: 5.2.8 (major version 5)

Detecting supported Fetch drivers... done.

Choose a Fetch driver:
  [0] System CURL Binary /usr/bin/curl
  [1] System WGET Binary (BETA) /usr/bin/wget
Using: [0] System CURL Binary /usr/bin/curl

Detecting supported archive extraction handlers... done.

Choose a `tar.gz' archive extraction handler:
  [0] /bin/tar
  [1] PHP zlib Extension via Archive_Tar
Using: [0] /bin/tar

Choose a `zip' archive extraction handler:
  [0] /usr/bin/unzip
Using: [0] /usr/bin/unzip

Updating ionCube loaders...
Notice: Loader `lin_x86-64' did not work, trying next... done; `lin_x86' is working.

Checking license... done.

Configuring Installatron suexec wrapper... done.

Checking for existing Installatron install... detected v5.2.72.

Downloading Installatron v5.2.72 (latest stable) core... done.

Installing... done.

Updating Locale... | done.

Updating Installers... | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - \ | / - 
 - wpsupercache \ | /Error: Unable to extract archive:
FileSystem::mv: /var/installatron/tmp/repair_YZhEkz/wpsupercache/php5 -> /var/installatron/installers/wpsupercache -


I'd appreciate any help in deciphering what's going on here.

Rowan
Staff
Posts: 235
Joined: Tue Jun 19, 2007 7:39 am

Re: Creating Installer - Extraction Error

Postby Rowan » Fri Feb 13, 2009 2:16 am

The wpsupercache.tar.gz you have on your site is corrupt. The one in Installatron extracts fine, so you might just need to download it again and make sure you upload it in "binary".

Rowan.

donnacha
Posts: 46
Joined: Thu Feb 12, 2009 2:35 am
Location: Edinburgh UK

Re: Creating Installer - Extraction Error

Postby donnacha » Fri Feb 13, 2009 2:50 am

Ah, I see, you're right, it must have been the way I uploaded it.

In the meantime, I created another Installer based upon a WordPress plugin and it worked really well, no problems at all.

Updating plugins via Installatron could be very useful because they each get updated so frequently. I typically use at least 8 plugins in each of my sites and, if you're running more than a handful of sites, it soon gets monotonous. Do you foresee any major problems with using Installatron for plugins in this way?

Rowan
Staff
Posts: 235
Joined: Tue Jun 19, 2007 7:39 am

Re: Creating Installer - Extraction Error

Postby Rowan » Sat Feb 14, 2009 1:36 am

I can't see any problem using Installatron to update plugins. Good use of custom installers actually.

Rowan.


Return to “Application Packaging SDK and Application Customizations”

Who is online

Users browsing this forum: No registered users and 2 guests