Support

UNiTE, Remote CLI, eXtract Wizard

#3533 Kickstart's extraction capability

Posted in ‘UNiTE and Remote CLI’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
Tool
UNiTE
Tool version
n/a

Latest post by nicholas on Saturday, 05 September 2009 23:14 CDT

magj
Hi

Is this awesome kickstart utility capable of extracting any archive?
the answer is yes ;)

Kickstart Documentation:
Kickstart is agnostic of the contents of the archive. This means that you can use Kickstart to extract anything: full or upgrade Joomla! packages, phpBB or Wordpress installation ZIPs, an archive with your gallery's images, etc. The only difference in the process is that you skip clicking on the first link which would normally start the JPI3. And, yes, we have used it to deploy Joomla! upgrades and non-Joomla PHP software ourselves!


But I tried to extract wp and it keeps telling me
Could not open htaccess.bak for writing. :roll:

in both ftp and direct modes
Regards
magj

dlb
Yes, this should work exactly as you tried it. Was this a "bare" site or was there an htaccess.bak file already there? Generally ftp mode can set the permissions better, but an existing file could have ownership settings that would prevent that.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

magj
Thanks for your support,
A bare site, I have enabled hidden files and deleted everything in the root (except kickstart.php and the zip file of course)

Regards
magj

nicholas
Akeeba Staff
Manager
Which is the owner of your site's root? If it's not the same user Apache runs under and PHP Safe Mode is on, then PHP is not allowed to write to it in direct file writes mode.

I know that you are using the FTP mode, but... Kickstart needs to extract each file on a temporary location and then "upload" it with FTP to its final destination. By default, the temporary location is the same place Kickstart lives in. You can change it by editing kickstart.php.

Now that you know the theory, let's move onto the practice, shall we? :)

Create a new directory on your site's root, naming it "kicktemp" and give 0777 permissions. If possible, please use your hosting control panel's File Manager, not FTP (as we don't want to get caught in yet another round of fubar'd ownerships) Edit kickstart.php, replacing:
define('TEMPDIR', dirname(__FILE__) );

with
define('TEMPDIR', dirname(__FILE__).DIRECTORY_SEPARATOR.'kicktemp' );

Use this modified Kickstart to restore your site.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

magj
Thanks
Sorry for my delayed response.

Of course, It works!

By this great utility you really helped many people, Extraction feature for 5000+ files without permission problems....

That's why after examining HUNDREDS of Joomla extensions for years, I believe the Joomlapack is one of the best extensions ever made for Joomla.
and of course that's for your great job and support...

Thanks and regards
magj

nicholas
Akeeba Staff
Manager
You're welcome! :D

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!