Support

UNiTE, Remote CLI, eXtract Wizard

#3460 Using eXtract between Linux and XP

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 Tuesday, 20 January 2009 20:34 CST

user1922
I've created my Joomla! test site on localhost on my home PC, using Linux. I've been trying to back it up and restore it to my XP partition, as I'll have to demo it on an XP machine.

I got CRC errors trying to restore the zip I created using Joomlapack, so I downloaded the native tools and I'm trying to use eXtract. But when I click the browse button to load the zip want to extract, I can't select that zip file. I can click the filename, but it simply opens to show the next sub-folder in the zip. The filename field at the bottom of the dialogue box stays blank.

I've tried typing the full path myself, rather than using browse, but I got a file not found.

I'm using Joomla 1.5.7, Ubuntu 8.10, XP SP2. I'm transferring the zip from Linux to XP via a USB stick.

Is it possible to restore from Linux to XP?

TIA

dlb
Yes, the restore is OS independent (with the exception of the Native Tools). If you are getting CRC errors in the zip file, you might want to switch to JPA format. The CRC errors can't be fixed on systems that run php less than 5.2 and/or without the hash module.

The simplest way to restore your site is probably to use kickstart. Load the backup archive and kickstart.php in the root of your target site and point your browser to "http://mysite.com/kickstart.php". Kickstart will extract the archive and give you a link to the installer. When the installer completes, you return to kickstart and there is a second link to do some cleanup (delete /installation, backup archive, kickstart.php).

It took me a while to figure out what you were saying about eXtract. I'll pass that on to Nicholas. :lol:

Dale


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)

nicholas
Akeeba Staff
Manager
It seems that you have configured your XP to open files on a single click of the mouse, whereas the default is to open files with a double click. God, I thought single-click died with the fortunate demise of Windows Millenium...

The only way to overcome this operating system dependent annoyance is to to click on an empty area of the file list and navigate to the file using the keyboard arrow keys. Once you have highlighted the file, its name will appear in the text box. Or, you can disable the crippling single-click-open bug... uhm... feature in the Windows Explorer Options page.

BTW, it doesn't matter where you create the backup. I have created a backup on a 64-bit AMD Turion laptop running Windows XP and restored it on an ARM powered Western Digital network storage device (an external hard disk with a cell phone CPU, connecting directly to the network!!!!) running some stripped-down version of Linux. Was this extreme or what? :lol: Thanks to my friend Andrew for providing the "exotic" hardware for this unique test!

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!

user1922
KIickstart has extracted my files,but I got this error:

Warning: require_once(C:\xampp\htdocs\libraries\joomla\import.php) [function.require-once]: failed to open stream: No such file or directory in C:\xampp\htdocs\installation\includes\framework.php on line 31

Fatal error: require_once() [function.require]: Failed opening required 'C:\xampp\htdocs\libraries\joomla\import.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\installation\includes\framework.php on line 31

I think where I've gone wrong is that I had problems installing Joomla on Ubuntu,and found instructions on the Ubuntu forum which worked. So on my linux partition I have
/home/user/xampp
/home/user/public-html/

On XP I'm creating in htdocs as normal, so I have
C:/xampp
C:/xampp/htdocs/

Do I need to make corrections in the config file? - joomla loads, but with all the defaults, rather than the settings and data I've created on my test site. The files (images, articles, templates etc) are all there but not being used. I've seen references while searching on this problem to correcting the lines
$mosConfig_absolute_path =
$mosConfig_cachepath =
$mosConfig_live_site =

so they point to the right path, but my config file doesn't contain these lines.

BTW, my XP is still set to double-click, so it must be just something I did! :)

TIA

nicholas
Akeeba Staff
Manager
The Joomla! files should be in the same place as the installation folder after extracting the backup archive. Based on the (lack of) quality of the posts in the Ubuntu forum, I suspect that they proposed some ugly hack which messed up files location a little bit. I think you can fix it manually.

I do not understand this:
joomla loads, but with all the defaults, rather than the settings and data I've created on my test site. The files (images, articles, templates etc) are all there but not being used.


Right now, since you can't launch the installer, your Joomla! site IS NOT installed, as in "the database contents have not been restored to your database server". I wouldn't expect Joomla! to be working at all. Probably you had made a test installation of Joomla! on the same XAMPP server, so the not-yet-properly-installed Joomla! site is reading the old site's database contents.

I know this sounds a bit over your head, but follow my advice and don't blindly follow some forum's proposed hack... uhm... solution I mean, unless you are fully aware of what you are changing, how it affects your site and why you need it in the first place. Following this basic rule will cost you a couple of hours reading, but will save you tens of hours spent in frustration when something apparently breaks "out of nowhere". This is the experience talking, I've been in your shoes a long time ago :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!

user1922


I do not understand this:

[quote]joomla loads, but with all the defaults, rather than the settings and data I've created on my test site. The files (images, articles, templates etc) are all there but not being used.

[/quote]

Sorry - I mean that if I go to my test website on localhost using my browser, I get the Joomla default website, just as it appears after a new install.

Right, I think I may try a fresh attempt in the morning. Thanks for your help! :)

user1922
Aha, it worked! I think I may have made a stupid mistake after the first restore - instead of deleting the installation folder in Joomla, I may have deleted the instal folder in htdocs. And this time it was OK, once I'd restored htaccess the whole site works.

Thanks for your help. Now I've just got to try and make the template look OK in IE, or find another that looks OK. :)

dlb
I'm glad you got it working! About the template - you could just switch browsers. :lol:

Dale


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)

user1922
Oh, I always use Fx, but I wanted to make sure it worked in IE as I believe some people actually still use it. :)

dlb
All of them in Redmond! :lol:


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)

nicholas
Akeeba Staff
Manager
Internet Explorer seems to be the worst behaving browser of all times. It's #1 in my Hall of Shame. IE6 screws up any template relying on heavy CSS and castrates the web designer from his ability to produce lightweight - yet visually appealing - templates. IE7 is better, but not quite there. And now, IE8. Oh God... It's supposed to be standards compliant, but this depends on what you consider a "standard" and how you define "compliance". It not only screws up sites which were working on previous versions of this browser, it now crashes even more often!

How many versions does it take for Microsoft to understand that they should stop making HTML rendering engines?

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!