Hi,
Is there a chance we could Skype you at some point. Further to your response we have:
· Changed the xml site definition file so that the name attribute of the database element is set to “site” instead of “joomla”
· Changed the version of Akeeba Unite back to v2.0.0
· Updated Akeeba Backup for Joomla to v4.2.0
· Created a new backup JPA file
Summary
It would appear that changing the database name attribute merely changes the name of the (non-existent) file that the Unite script tries to retrieve (see detail below).
The net result is that the database tables do not get created, and therefore the site is not restored.
N.B. Specifying a localLog value in the xml site definition file does not result in a log file being generated. This is presumably a bug.
It would be really useful if this worked so we have a log file left around when we build the VM and attempt to restore the site with Akeeba Unite.
Detail
Building the VM using normal process (that works just fine with a Joomla 2.5 site backup) results in:
· An .htaccess file being put in place that prevents access to the site, which I removed manually
· Re-requesting the site home page results in the error:
Error displaying the error page: Application Instantiation Error: Table 'joomla.jos_session' doesn't exist SQL=DELETE FROM `jos_session` WHERE `time` < '1433319389'
Re-booting the VM and manually re-running the Unite script with the same config results in the same .htaccess and error, but shows the following output:
root@joomla-dev:/opt/akeeba_unite# php unite.php
Akeeba UNITE v.2.0.0 (2015-03-18)
Copyright (c)2009-2015 Akeeba Ltd
This program comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. The full text of the
license can be found in the LICENSE.TXT file in the installation ZIP package.
===============================================================================
Scanning inbox for XML files...
Parsing inbox/akeeba-unite-config.xml
### Starting job #0 ###
Running validator
Running remote
Running s3
Running stealth
Writing a stealth .htaccess (direct access)
Running extract
Extractor tick
Extractor tick
Extractor tick
Extractor tick
Extractor tick
Extractor tick
Extractor tick
Extractor tick
Extractor tick
Extractor tick
Extractor tick
Running dbrestore
Processing database site
Trying to retrieve installation/sql/site.sql using direct access
Could not download the site.sql file!
### Finished job #0 ###
===============================================================================
UNITE finished its run cycle
Total definitions found : 1
Total definitions executed successfuly : 0
Total definitions failed to run : 1
root@joomla-dev:/opt/akeeba_unite# cat inbox/akeeba-unite-config.xml
<?xml version="1.0" encoding="UTF-8"?>
<unite>
<siteInfo>
<package>/var/chef/cache/site-dev09.odt.joomla.local-20150601-10
5305.jpa</package>
<deletePackage>0</deletePackage>
<localLog>/opt/akeeba_unite/restore-joomla.log</localLog>
<emailSysop>0</emailSysop>
<name>Joomla 3 CF site from Ian 3rd June using Akeeba Backup v4.2.0</name>
<email>
[email protected]</email>
<absolutepath>/home/joomla/site</absolutepath>
<livesite>http://localhost:8080</livesite>
</siteInfo>
<databaseInfo>
<database name="site">
<changecollation>0</changecollation>
<dbdriver>mysqli</dbdriver>
<dbhost>127.0.0.1</dbhost>
<dbuser>joomla</dbuser>
<dbpass>joomla</dbpass>
<dbname>joomla</dbname>
<dbprefix>jos_</dbprefix>
</database>
</databaseInfo>
</unite>
root@joomla-dev:/opt/akeeba_unite# php -i | grep opcache
Additional .ini files parsed => /etc/php5/cli/conf.d/05-opcache.ini,
opcache.blacklist_filename => no value => no value
opcache.consistency_checks => 0 => 0
opcache.dups_fix => Off => Off
opcache.enable => Off => Off
opcache.enable_cli => Off => Off
opcache.enable_file_override => Off => Off
opcache.error_log => no value => no value
opcache.fast_shutdown => 0 => 0
opcache.file_update_protection => 2 => 2
opcache.force_restart_timeout => 180 => 180
opcache.inherited_hack => On => On
opcache.interned_strings_buffer => 4 => 4
opcache.load_comments => 1 => 1
opcache.log_verbosity_level => 1 => 1
opcache.max_accelerated_files => 2000 => 2000
opcache.max_file_size => 0 => 0
opcache.max_wasted_percentage => 5 => 5
opcache.memory_consumption => 64 => 64
opcache.optimization_level => 0xFFFFFFFF => 0xFFFFFFFF
opcache.preferred_memory_model => no value => no value
opcache.protect_memory => 0 => 0
opcache.restrict_api => no value => no value
opcache.revalidate_freq => 2 => 2
opcache.revalidate_path => Off => Off
opcache.save_comments => 1 => 1
opcache.use_cwd => On => On
opcache.validate_timestamps => On => On