Page 1 of 2

Akeeba Kickstart

Posted: Mon May 28, 2018 4:08 pm
by ScoobaSteve1983
Hi guys,

I'm currently trying to run Kick-start but keep getting a notification saying that there is an error when trying to upload a certain couple of images. Is there anyway to bypass these images?

Re: Akeeba Kickstart

Posted: Mon May 28, 2018 9:51 pm
by Webdongle
Kickstart does not upload images ... it unpacks the JPA file. Once the JPA file is unpacked then the installer (that was packed in the backup file) runs.
  1. Upload your backup.jpa and kickstart.php
  2. Point your browser at site.com/kickstart.php ... click to unpack
  3. When the installer starts ... follow the instructions.
At what point are you getting an error?

Re: Akeeba Kickstart

Posted: Mon May 28, 2018 9:54 pm
by AMurray
Kickstart is not a Joomla Extension so not sure why this is posted in the "Extensions" forum. It would be more appropriate to post to the "General Questions" forum.

Akeeba Backup gives you the ability to exclude files or folders, but at the point where Kickstart is trying to restore the site, there's no "skip" function.

FYI, refer to the Akeeba documentation concerning excluding files and folders: https://www.akeebabackup.com/documentat ... ackup.html.

Do you have the free or pro Akeeba Backup? If Pro, then would suggest contacting Akeeba, and logging a support ticket (if the documentation doesn't help you).

It might be possible - Akeeba also has an "extract" utility that might help get around the problems with the images, I'm not sure: https://www.akeebabackup.com/products/a ... izard.html

Re: Akeeba Kickstart

Posted: Mon May 28, 2018 10:03 pm
by ScoobaSteve1983
Webdongle wrote:Kickstart does not upload images ... it unpacks the JPA file. Once the JPA file is unpacked then the installer (that was packed in the backup file) runs.
  1. Upload your backup.jpa and kickstart.php
  2. Point your browser at site.com/kickstart.php ... click to unpack
  3. When the installer starts ... follow the instructions.
At what point are you getting an error?
Both upload OK, I go to site.com/kickstart.php and this starts but its during the unpacking I get the error. I don't get as far as enterting the database info.

Re: Akeeba Kickstart

Posted: Mon May 28, 2018 10:19 pm
by Webdongle
That is strange because kickstart does not upload files ... it just unpacks the files from the JPA file. Please attach a sreenshot of the error.

Re: Akeeba Kickstart

Posted: Tue May 29, 2018 6:48 am
by ScoobaSteve1983
Webdongle wrote:That is strange because kickstart does not upload files ... it just unpacks the files from the JPA file. Please attach a sreenshot of the error.
See below

Image

Re: Akeeba Kickstart

Posted: Tue May 29, 2018 8:37 am
by ScoobaSteve1983
Now I get the following.

Re: Akeeba Kickstart

Posted: Tue May 29, 2018 9:11 am
by Webdongle
Are you using the ftp part of the kickstart window ?

Try
- delete kickstart and the backup archive from the remote host
- extract the backup archive locally, using Akeeba eXtract Wizard
- upload all files to the remote host
- access the restoration URL, e.g. http://www.example.com/installation/index.php
- after the end of the restoration, remove the installation directory
https://www.akeebabackup.com/support/ak ... tml#p52963


viewtopic.php?f=714&t=793531 please on the server you are trying to restore to

Re: Akeeba Kickstart

Posted: Thu May 31, 2018 3:42 pm
by ScoobaSteve1983
So now this is what I am getting >:( >:( >:(

Re: Akeeba Kickstart

Posted: Thu May 31, 2018 6:09 pm
by Webdongle
The file is corrupt or it is another type of file that has been renamed.jpa. Hope you still have the original site (or another backup) ... otherwise it looks like you have lost your site.

Re: Akeeba Kickstart

Posted: Thu May 31, 2018 6:23 pm
by ScoobaSteve1983
I still have the original file that was giving me the upload error. I have also extracted both the old JPA file and this JPA file that latest JPA file.

I have just checked the PHP version and it is running 5.3.3, could this be an issue?

Re: Akeeba Kickstart

Posted: Thu May 31, 2018 7:19 pm
by Webdongle
If you have extracted it why show an image of a failed extraction? As you have extracted it why not - access the restoration URL, e.g. http://www.example.com/installation/index.php ?

What is php 5.3.3 ? the server you are restoring to or the server the backup was made on ?
How old is the backup ?
Try on localhost wamp.

Re: Akeeba Kickstart

Posted: Thu May 31, 2018 11:09 pm
by AMurray
By any chance did you download the JPA file from Akeeba by clicking the download link within the component - it warns the file can be corrupted by downloading through the web browser; it recommends downloading the JPA's with a FTP client.
I have just checked the PHP version and it is running 5.3.3, could this be an issue?
I would say that is that's a very high probability. The Akeeba site says
akeeba wrote:Compatible with JPA, JPS & ZIP archives, PHP 5.3.4 and later. https://www.akeebabackup.com/products/a ... start.html
.

PHP 5.3.3 is also below the minimum PHP requirement for Joomla 3.x (requires PHP 5.3.10 or higher, recommends PHP 5.6.x or 7.x). Any PHP version below 5.6.x has long reached EOL.

Re: Akeeba Kickstart

Posted: Sat Jun 02, 2018 7:45 pm
by ScoobaSteve1983
So, I backed up the Akeeba Backup file and downloaded this via my FTP, when I uploaded it and used kickstart I still got the issue about the image file not uploading.

I also updated my PHP from 5.3 before backing up via Akeeba.

I then tried to extract the jpa file and upload it and try to extract by going to http://www.website.com/installation/php and I get the following when I attempted this.

Code: Select all

<?php
/**
 * @package angi4j
 * @copyright Copyright (c)2009-2018 Nicholas K. Dionysopoulos / Akeeba Ltd
 * @author Nicholas K. Dionysopoulos - http://www.dionysopoulos.me
 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL v3 or later
 *
 * Akeeba Next Generation Installer For Joomla! - Main file
 */

// Sanity check
if(__DIR__ == '__DIR__')
{
	die('Akeeba Next Generation Installer For Joomla! requires PHP 5.3 or later');
}

// Define ourselves as a parent file
define('_AKEEBA', 1);
// Required by Joomla! files
define('_JEXEC', 1);
// Required for lang strings. This is what happens when you use Joomla! core code.
define('_QQ_', '"');

// Debug
// define('AKEEBA_DEBUG', 1);
if (defined('AKEEBA_DEBUG'))
{
	error_reporting(E_ALL | E_NOTICE | E_DEPRECATED);
	ini_set('display_errors', 1);
}

// Load the required INI parser
require_once __DIR__ . '/angie/helpers/ini.php';

// Load the framework autoloader
require_once __DIR__ . '/framework/autoloader.php';
// Load PSR-4 autoloader
require_once __DIR__ . '/framework/Autoloader/Autoloader.php';

\Angie\Autoloader\Autoloader::getInstance()->addMap('Symfony\\', array(realpath(__DIR__ . '/framework/Symfony')));

require_once __DIR__ . '/defines.php';

// Load Angie autoloader
require_once __DIR__. '/angie/autoloader.php';

// Required by the Joomla! CMS version file (mind. blown!)
if (!defined('JPATH_PLATFORM'))
{
	define('JPATH_PLATFORM', APATH_LIBRARIES);
}

try
{
	if (@file_exists(__DIR__ . '/platform/defines.php'))
	{
		require_once __DIR__ . '/platform/defines.php';
	}

    if(!defined('ANGIE_INSTALLER_NAME'))
    {
        define('ANGIE_INSTALLER_NAME', 'Generic');
    }

    $container = new AContainer(array(
        'application_name'	=> 'angie'
    ));

	// Create the application
	$application = $container->application;

	// Initialise the application
	$application->initialise();

	// Dispatch the application
	$application->dispatch();

	// Render
	$application->render();

	// Clean-up and shut down
	$application->close();
}
catch (Exception $exc)
{
	$filename = null;
	if (isset($application))
	{
		if ($application instanceof AApplication)
		{
			$template = $application->getTemplate();
			if (file_exists(APATH_THEMES . '/' . $template . '/error.php'))
			{
				$filename = APATH_THEMES . '/' . $template . '/error.php';
			}
		}
	}
	if (!is_null($filename))
	{
		@ob_start();
	}
	// An uncaught application error occurred
	echo "<h1>Application Error</h1>\n";
	echo "<p>Please submit the following error message and trace in its entirety when requesting support</p>\n";
	echo "<div class=\"alert alert-error\">" . get_class($exc) . ' &mdash; ' . $exc->getMessage() . "</div>\n";
	echo "<pre class=\"well\">\n";
	echo $exc->getTraceAsString();
	echo "</pre>\n";
	if (!is_null($filename))
	{
		$error_message = @ob_get_clean();
		include $filename;
	}
}

Re: Akeeba Kickstart

Posted: Sat Jun 02, 2018 11:17 pm
by Webdongle
viewtopic.php?f=714&t=793531 please
Also could you PM the jpa file ? (you might need to rename it .txt

Re: Akeeba Kickstart

Posted: Sat Jun 02, 2018 11:49 pm
by ScoobaSteve1983
Webdongle wrote:viewtopic.php?f=714&t=793531 please
Also could you PM the jpa file ? (you might need to rename it .txt
Is it the JPA file I am uploading to be PM'd?

Re: Akeeba Kickstart

Posted: Sun Jun 03, 2018 8:34 am
by Webdongle
the jpa file attach to a pm and I can take a quick look.

Re: Akeeba Kickstart

Posted: Sun Jun 03, 2018 11:22 pm
by Webdongle
Got the jpa file
On localhost kickstart unpacked it no problem
Able to access Admin and front end

Please run viewtopic.php?f=714&t=793531 on the server that you are trying to restore the site to ... and post the report here.

Re: Akeeba Kickstart

Posted: Mon Jun 04, 2018 11:31 am
by Webdongle
I got the link to the fpa
PHP Configuration :: Version: 7.0.30 ... there have been security releases since that version
Session Path Writable: No ... should be Yes

btw
I deleted the fpa from your server

Re: Akeeba Kickstart

Posted: Mon Jun 04, 2018 11:39 am
by ScoobaSteve1983
Webdongle wrote:I got the link to the fpa
PHP Configuration :: Version: 7.0.30 ... there have been security releases since that version
Session Path Writable: No ... should be Yes

btw
I deleted the fpa from your server
Is there anyway to amend this to allow the installation/extraction?

Re: Akeeba Kickstart

Posted: Mon Jun 04, 2018 12:38 pm
by Webdongle
You could upgrade your php that might be part of the problem.
Ask your Host about the session path.

You could upload the jpa file and kickstart.php ... then pm me the database details. I could see the problem direct then because it works OK for me on localhost.

Re: Akeeba Kickstart

Posted: Mon Jun 04, 2018 1:06 pm
by ScoobaSteve1983
Webdongle wrote:You could upgrade your php that might be part of the problem.
Ask your Host about the session path.

You could upload the jpa file and kickstart.php ... then pm me the database details. I could see the problem direct then because it works OK for me on localhost.
FastHost only seemed to have PHP 7.0 from what I could see in my control panel. I'll contact them and ask them about that as well as the session path.

Re: Akeeba Kickstart

Posted: Mon Jun 04, 2018 1:21 pm
by Webdongle
try 5.6 ?

Re: Akeeba Kickstart

Posted: Sat Jun 09, 2018 9:15 am
by ScoobaSteve1983
Webdongle wrote:try 5.6 ?
5.6 hasn't worked, I am trying to get Fasthosts to support me with the sessions path but they don't seem overly helpful at the moment, so taking longer than expected. They have said to try to login via SSH and try to change it there.

Re: Akeeba Kickstart

Posted: Sat Jun 09, 2018 12:39 pm
by Webdongle
On localhost Kickstart extracted the files without problem and the installer installed it no problems. I have no idea why it fails for you.

Re: Akeeba Kickstart

Posted: Thu Jun 14, 2018 6:30 pm
by Webdongle
Got your PM
Attempted unpack with kickstart on your server No Avail. Kept failing at various files.
Works OK on localhost
Post fpa here so others can look at the server settings please.

Re: Akeeba Kickstart

Posted: Sat Jun 16, 2018 4:25 pm
by ScoobaSteve1983
Webdongle wrote:Got your PM
Attempted unpack with kickstart on your server No Avail. Kept failing at various files.
Works OK on localhost
Post fpa here so others can look at the server settings please.

Attached

Re: Akeeba Kickstart

Posted: Sat Jun 16, 2018 4:29 pm
by ScoobaSteve1983
FPA2.jpg

Re: Akeeba Kickstart

Posted: Sat Jun 16, 2018 5:03 pm
by toivo
Please follow the FPA instructions and post the output code, not images.

In any case, the PHP session path of the server should be writable.

Re: Akeeba Kickstart

Posted: Sat Jun 16, 2018 5:05 pm
by ScoobaSteve1983
toivo wrote:Please follow the FPA instructions and post the output code, not images.

In any case, the PHP session path of the server should be writable.
I have asked my hosts to change this to be writeable.
Forum Post Assistant (v1.4.0) : 16th June 2018 wrote:
Basic Environment :: wrote:Joomla! Instance :: Not Found
Joomla! Configured :: Not Found

Host Configuration :: OS: Linux | OS Version: 4.17.0-1.el7.elrepo.x86_64 | Technology: x86_64 | Web Server: Apache | Encoding: gzip, deflate | Doc Root: --protected-- | System TMP Writable: Yes | Free Disk Space : 386.25 GiB |

PHP Configuration :: Version: 7.0.30 | PHP API: cgi-fcgi | Session Path Writable: No | Display Errors: | Error Reporting: 32767 | Log Errors To: | Last Known Error: | Register Globals: | Magic Quotes: | Safe Mode: | Open Base: | Uploads: 1 | Max. Upload Size: 20M | Max. POST Size: 20M | Max. Input Time: -1 | Max. Execution Time: 60 | Memory Limit: 128M

Database Configuration :: Database Credentials incomplete or not available Nothing to display.
Detailed Environment :: wrote:PHP Extensions :: Core (7.0.30) | date (7.0.30) | libxml (7.0.30) | openssl (7.0.30) | pcre (7.0.30) | sqlite3 (7.0.30) | zlib (7.0.30) | bz2 (7.0.30) | calendar (7.0.30) | ctype (7.0.30) | curl (7.0.30) | hash (1.0) | fileinfo (1.0.5) | filter (7.0.30) | ftp (7.0.30) | gettext (7.0.30) | gmp (7.0.30) | SPL (7.0.30) | iconv (7.0.30) | intl (1.1.0) | pcntl (7.0.30) | session (7.0.30) | standard (7.0.30) | posix (7.0.30) | readline (7.0.30) | Reflection (7.0.30) | Phar (2.0.2) | shmop (7.0.30) | SimpleXML (7.0.30) | sockets (7.0.30) | mbstring (7.0.30) | sysvmsg (7.0.30) | sysvsem (7.0.30) | sysvshm (7.0.30) | tokenizer (7.0.30) | wddx (7.0.30) | xml (7.0.30) | cgi-fcgi () | bcmath (7.0.30) | dba (7.0.30) | dom (20031129) | gd (7.0.30) | imap (7.0.30) | json (1.4.0) | ldap (7.0.30) | exif (7.0.30) | mcrypt (7.0.30) | memcached (3.0.0b1) | mysqli (7.0.30) | odbc (7.0.30) | PDO (7.0.30) | pdo_dblib (7.0.30) | pdo_mysql (7.0.30) | PDO_ODBC (7.0.30) | pdo_pgsql (7.0.30) | pdo_sqlite (7.0.30) | pgsql (7.0.30) | pspell (7.0.30) | snmp (0.1) | soap (7.0.30) | tidy (7.0.30) | xmlreader (7.0.30) | xmlrpc (7.0.30) | xmlwriter (7.0.30) | xsl (7.0.30) | zip (1.13.5) | ionCube Loader () | Zend Engine (3.0.0) |
Potential Missing Extensions :: mysql | suhosin |
Disabled Functions :: shell_exec | exec | system | popen | set_time_limit |

Switch User Environment (Experimental) :: PHP CGI: Yes | Server SU: No | PHP SU: Yes | Custom SU (LiteSpeed/Cloud/Grid): No
Potential Ownership Issues: Maybe