Support

UNiTE, Remote CLI, eXtract Wizard

#3442 Kickstart does not seem to unpack all files

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, 16 December 2008 18:55 CST

user200
I successfully created a JPA Joomla Pack Archive backup of my entire joomla 1.5.8 site. I uploaded the backup as well as kickstart.php to my new host and opened kickstart. Kickstart unpacks about 82 files and then displays the following:

Please click here to open JoomlaPack Installer restore script in a new window.
Do Not Close this Window!!
When you have finished restoring your site please click here to activate your .htaccess (if you had one in the first place) and delete the ZIP and this script.

I click the first link and get the following message:

Warning: main(/homepages/15/d249540781/htdocs/toyota/libraries/joomla/import.php) [function.main]: failed to open stream: No such file or directory in /homepages/15/d249540781/htdocs/toyota/installation/includes/framework.php on line 31

Fatal error: main() [function.require]: Failed opening required '/homepages/15/d249540781/htdocs/toyota/libraries/joomla/import.php' (include_path='.:/usr/lib/php') in /homepages/15/d249540781/htdocs/toyota/installation/includes/framework.php on line 31

I am not backing this up in the root directory of my hosting account. Any help?

dlb
What version of kickstart? The old 1.2.x versions had some problems with .htaccess files that would sometimes stop the file extraction process. You should be using the newest 2.0 version of kickstart, no matter what version of JoomlaPack you are using. The two are independent. The other thing to check is the archive itself, is the whole site in there? This will tell us if it is an extraction problem with kickstart or a backup problem with JoomlaPack.

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)

user200
I am using the newest kickstart and the latest stable update for joomla....

I am moving from a godaddy host to a 1and1 server. I have used the old joomlapack to successfully move a different site from godaddy to 1and1, but no luck this time around. Also, how can i open a joomlapack archive to ensure all files are present? Joomlapack keeps stalling now matter what my advanced settings when trying to backup with a zip format.

user200
I found the eXtract program and ran it to unpack my jpa file.... as far as i can tell it looks like a full backup and the issue seems to be with kickstart not unpacking all files.

Update for origin host:

Diagnostic Information

Joomla! Version: Joomla! 1.5.8 Production/Stable [ Wohnaiki ] 10-November-2008 23:00 GMT

configuration.php: Writable (Mode: 644 ) | RG_EMULATION: N/A

Architecture/Platform: Linux 2.4.21-53.ELsmp ( i686) | Web Server: Apache ( http://www.toyotatrend.com ) | PHP Version: 5.2.5

PHP Requirements: register_globals: Disabled | magic_quotes_gpc: Enabled | safe_mode: Disabled | MySQL Support: Yes | XML Support: Yes | zlib Support: Yes

mbstring Support (1.5): Yes | iconv Support (1.5): Yes | save.session_path: Writable | Max.Execution Time: 30 seconds | File Uploads: Enabled

MySQL Version: 5.0.67-log ( p50mysql197.secureserver.net via TCP/IP )

dlb
It does appear that kickstart is not extracting the entire site. That is not a known problem with the current 2.0 version. I will ask Nicholas to take a look at this to see if he can see a reason.

If the move is urgent, you can extract the files locally and ftp them to the server, but that is much slower than kickstart. That's funny, six months ago that was the only way to do it, now we don't want to go back to it. :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)

user200
Oops.. Sorry for posting in two different places!

I tried manually ftping the site. I ended up getting a weird screen that read...

welcome.php ???????????????????????????????????????

and the installation directory could not open at all.

Every file uploaded, so I'm clueless now as to where the issue lies.

dlb
After you have them all uploaded, you need to go to "http://www.mysite.com/installation/index.php" and that will start the restore process. If that is what you did to get the strange "welcome" screen, then we need to look at the file permissions.

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
About the issue you had with Kickstart, you can always try using its Javascript Redirects mode. You should also make sure that Javascript is enabled on your browser and not blocked by plugins, firewalls, anti-virus applications etc. This may sound self-understood but I tend to forget I've got NoScript installed on my Firefox more often than not :)

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!

user200
Hi guys,

I tried running kickstart in every possible mode, always with the same result. I ftped everything to the host manually at www.genereed.com/toyota/ .

My installation directory and my site root directory keep displaying just the name of the file followed by question marks. I encourage you to visit the link provided to see what I mean.

Tinkering with the .htaccess file does occassionally vary what is displayed but I can never get the installation pages to display more than an error.

nicholas
Akeeba Staff
Manager
Wow! This screams "server misconfiguration"... unless something went awry during extraction. Can you verify that the contents of the index.php (as viewed with a text editor, e.g. notepad) do not look like this garbled output you get from the server? If they display normal PHP code, you should contact your host and ask them for support.

The last time I saw output so much screwed up was when I misconfigured PHPspeedy on a test site (tahnk God it wasn't live!), but at least there was a variance of the garbled text characters I was getting, not just a lot of questionmarks :lol:

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!

user200
Ha! Not quite the answer I was hoping for. :lol:

The index.php file is complete... I guess it must be something server side. Is there any pointers or catch phrases I should ask to my host support. I kind of feel like I'm going to be calling them blindly not knowing what to ask for...

user200
To shed a little more light on the issue... the domain www.genereed.com is already hosting a joomla based site. I'm trying to move another joomla site to a folder off the genereed.com/toyota/ directory. I don't see how one joomla site worked fine with my server settings and the next one I try isn't working at all? Especially since both sites I've been using Joompack to move from GoDaddy hosting accounts to a 1and1.com host.

nicholas
Akeeba Staff
Manager
That's a good question! Since you uploaded your files through FTP, most probably you uploaded a .htaccess file as well. Just try to rename it temporarily, until you can get your restoration working. Also, make sure the directories and files do have at least 0755 permissions. If all these checks are passed, I can think of nothing more but server misconfiguration. However, since you're installing on a subdirectory, my bet is with .htaccess.

Please note that .htaccess files are not usually visible on FTP software and as a matter of fact, depending on how your host configured their FTP server, you might not be able to see them even if you instruct your FTP client to show hidden files. This is totally unintuitive, so you are better off using your host's web-based file manager or - as a last resort approach - FTP an empty file named .htaccess to your new site's root.

What's more - ah! these .htaccess files are so kinky sometimes! - the subdirectory inherits the .htaccess properties from your main site. So, the problem may lie with the .htaccess file on your main site, not the subdirectory.

I hope you don't find this utterly confusing. I know most of this stuff ranges from frustrating to downright intimidating but, you know, it's just how web servers were designed: geek friendly, not user friendly ;)

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!

user200
OK - Back to JoomlaPack....

I played with the .htaccess file a bit and finally got the crazy question marks to go away... However, every page I open really does have absolutely no content... all that each file contains is the page title, i.e. index.php, welcome.php. No code.... so my files are after all, incomplete....

Ha, sorry to take you guys full circle.... :twisted:

nicholas
Akeeba Staff
Manager
You confused me. Are the contents of the file OK or not? I do not mean trying to open them from a web browser! If you download, say, index.php through FTP, does it contain code or only its file name? What is its size?

If the file contains code then it's clearly a site configuration problem. You have to check any .htaccess settings which might prevent access to the new site, which is a subdirectory of another one. We are not Apache experts, you might want to ask on the Apache forums for support on .htaccess quirks.

If the files are corrupt, then it's something we, JoomlaPack Developers, have to deal with.

But I need to really understand what is the problem exactly, otherwise everything I tell you might have nothing to do with your problem :(

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!

user200
Sorry for the confusion... After several fresh backups and trials, the problem seems to lie in the backup file. Nearly every file is between 1-6kb, all blank except for the filename. When I open up index.php in dreamweaver for example, in both the coding and wysiwyg mode, all that appears is "index.php".

However, every file is accounted for - just with no actual content. Additionally, every image file was backed up fine.

:shock:

Your move Joomlapack team.... :P

nicholas
Akeeba Staff
Manager
OK. Uninstall your current version of JoomlaPack, so as to make sure there is no broken upgrade keeping it from working. Install JoomlaPack 2.0.1. Use the JPA format and take a backup. Use Kickstart 2.0.1 to deploy to the target server. This should work.

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!

user200
Well, that definately was the main issue. The backup file was about 140mbs and installed flawlessly with kickstart.

Now it looks like I have a server config error or possibly something particular to one of the components I have as part of this site... I got the following message when trying to restore the database with Joomlapack3 installer...

Error at the line 1: CREATE TABLE `stage_RSFORM_COMPONENTS` ( `ComponentId` int(11) NOT NULL auto_increment, `FormId` int(11) NOT NULL default '0', `ComponentTypeId` int(11) NOT NULL default '0', `Order` int(11) NOT NULL default '0', `Published` tinyint(1) NOT NULL default '1', UNIQUE KEY `ComponentId` (`ComponentId`) ) ENGINE=MyISAM AUTO_INCREMENT=60 DEFAULT CHARSET=utf8;

Query:CREATE TABLE `stage_RSFORM_COMPONENTS` ( `ComponentId` int(11) NOT NULL auto_increment, `FormId` int(11) NOT NULL default '0', `ComponentTypeId` int(11) NOT NULL default '0', `Order` int(11) NOT NULL default '0', `Published` tinyint(1) NOT NULL default '1', UNIQUE KEY `ComponentId` (`ComponentId`) ) ENGINE=MyISAM AUTO_INCREMENT=60 DEFAULT CHARSET=utf8;


MySQL: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'DEFAULT CHARSET=utf8' at line 1

Stopped on error

nicholas
Akeeba Staff
Manager
Your target server (new site) seems to be running MySQL 4 whereas your source server (old site) seems to be running on MySQL 5. You will have to take a backup with the MySQL 4 compatibility option.

In order to do this, go to JoomlaPack's configuration, expand the Advanced pane and set "Database Export Style" to "Force MySQL 4 compatible". Then repeat the upload & Kickstart process, this should get this solved. This option has been a JoomlaPack feature ever since 1.0 beta :ugeek:

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!

user200
w00t! Almost there....

Ok, so the backup worked great, kickstart unpacked everything perfectly, database installed flawlessly...

I can login to my joomla admin area at www.genereed.com/toyota/administrator/ and everything looks great on the backend. But everytime I try to preview the site or go to the site's root directory ( www.genereed.com/toyota/ ) the site won't display?

nicholas
Akeeba Staff
Manager
This screams ".htaccess configuration". You can try turning off SEF URL's and disable your .htaccess in this subdirectory. If this works, you probably have to tweak the rewrite section of your .htaccess.

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!