Login/Register

Troubleshooting Guide

The Installatron Repair Utility is designed to fix most problems that can occur with Installatron Plugin and Installatron Server. This utility can be executed any time difficulties are experienced. There is no harm in executing the utility; it's always the first thing to try.

Linux/Unix/FreeBSD

To perform a repair on Linux/Unix/FreeBSD, run these four commands as the root user:

rm -fr /usr/local/installatron/lib /usr/local/installatron/etc/php.ini
curl -O http://data1.liquenox.com/installatron/installatron_setup.sh
chmod 755 installatron_setup.sh
./installatron_setup.sh -f --edge
Tip: To run repair in interactive mode, remove -f from the last command.

Windows

To perform a repair on Windows, re-run the installatron_setup.exe wizard.

If problems persist...

Known Issues


Installatron Error Messages


Application Error Messages

One or more applications are missing

CAUSE

Installatron 'Requirements' settings can be used to automatically remove scripts that will not work on your server.

SOLUTION

Check your settings in Administration > Settings > Requirements. Disable all filtering to see all installers.

An application is missing recent versions

CAUSE

Some recent application version require PHP 5.3 or newer.

SOLUTION

Upgrade PHP to 5.3+. Or if you want to keep the current PHP version but allow those versions to be installed anyway, you can disable version-filtering based on the PHP version in Administration > Settings > Requirements (this is not a supported option).

php-pdo-mysql-version-minimum v1 (detected: OFF)

CAUSE

Magento requires the PDO MYSQL PHP extension, which is not standard on all hosting control panels.

SOLUTION

Add the PDO MYSQL extension to PHP, or disable Magento in Installatron Admin > Applications > Catalogs.

Installed applications are missing from My Applications

CAUSE

If the installs appear at Administration > Installed Applications but are not listed for the user's login then there is an error with the install data. This can happen if a user is moved to a server with a different configuration than the one the installs were created on.

SOLUTION

The error can be found by logging in as the user, navigating to My Applications, and adding this to the end of the URL:

#cmd=edit&id=INSTALLID

Where INSTALLID is the id of the install (can be found in ~/.installatron/current/). If the error is fixed the install will appear in the user's login.

FileSystem::mkdir(/path/to/installed/application/directory)

CAUSE

This type of error can sometimes occur when an account is out of available disk space. However, in most cases a more graceful error is displayed.

SOLUTION

Check that the web hosting account has enough available disk space. If additional space is required, contact your service provider directly to add additional disk space.

2011-09-19T04:57:55-04:00 FAILURE [2] http://yoursite.com/installdir/anyfile.php

CAUSE

A .htaccess file is likely interfering with a HTTP request.

SOLUTION

Check the installation directory and parent directories (public_html) for a .htaccess file that could interfere with requests to the aforementioned URL. You either can fix the .htaccess file or temporarily rename it and try again.

You have exceeded the maximum allowed databases

A few variations of these errors exist. The errors are returned from the control panel software verbatim.

CAUSE

This happens when the control panel software is unable to create a database on behalf of Installatron. Most likely this means the account has no databases remaining.

SOLUTION

An existing database can be selected for the install by choosing the "Let me manage the database settings" option on the Database step, or most likely additional databases can be purchased.

Unable to get list of databases. There is a communication problem with the control panel API.

A few variations of these errors exist. The errors are returned from the control panel software verbatim.

CAUSE

This happens when Installatron is unable to retrieve a list of user's database via the control panel's plugin API.

SOLUTION

Typically logging out of the control panel and re-trying the task will solve the problem.

If problems persist, try changing the "HTTP driver" in Administration > Dependencies. It may be that the default driver is not suitable for your server setup. A CURL binary should be selected whenever possible.

If the the control panel uses https:// then it may be that the CURL options lack functional OpenSSL support. This can be tested for CURL binaries with:

/path/to/curl -v -k 'https://127.0.0.1:2222'

If the control panel is DirectAdmin, and DirectAdmin is not accessible from 127.0.0.1, then run this:

echo "allow_foreign_key=1" >> /usr/local/directadmin/conf/directadmin.conf
echo "action=directadmin&value=restart" >> /usr/local/directadmin/data/task.queue

The 'Installatron Application Installer' and 'Installatron Admin' links go to a blank or non-loading page

Error: All loaders have failed

Error: PHP is not installed

CAUSE

This can happen when PHP is not installed, when the server configuration changes, or when no loaders are found to be compatible with the server.

SOLUTION

Try installing a dedicated instance of PHP for Installatron to use:

wget http://us.php.net/distributions/php-5.3.13.tar.gz
tar xzf php-5.3.13.tar.gz
cd php-5.3.13
./configure --prefix=/usr/local/installatron/php --disable-libxml --disable-dom --disable-simplexml --disable-xml --disable-xmlreader --disable-xmlwriter --without-pear --with-zlib --enable-mbstring --enable-ftp --with-mysql=mysqlnd --with-mysqli=mysqlnd
make
make install
cd ..
rm -fr php-5.3.13 php-5.3.13.tar.gz /usr/local/installatron/etc/php.ini /usr/local/installatron/bin/php

Then re-execute the Installatron Repair Utility at the top of this page.

Error: A test of the selected domain has failed

CAUSE

The selected domain is not resolving correctly to its web hosting space, or there is a networking/firewall issue with the server configuration.

Installatron tests the domain before going ahead with an install or upgrade. The test is performed by creating a file in the install location and then attempting to access the file via a HTTP socket from the server. This check does NOT require DNS to succeed.

SOLUTION

Check your /var/installatron/logs/fetch* log files for information on why the tests failed.

The test can be disabled server-wide by running this as root:

echo "domaincheck=no" >> /usr/local/installatron/etc/settings.ini

However, we don't recommend disabling the test. It's better to determine why the domain isn't working.

File size limit exceeded

CAUSE

This can occur when upgrading from a beta version when the log files are large.

SOLUTION

Execute this command and then try the update again.

rm -r /var/installatron/logs

archive extracted no files - try a different zip driver

CAUSE

The ZIP binary being used by Installatron is unable to extract the archive of the script being installed.

SOLUTION

You can change the ZIP binary used by Installatron in Administration > Settings > Libraries. If you only have the one ZIP library you will need to install another one or update the existing library.

archive extracted no files - try a different zip driver

CAUSE

The ZIP binary being used by Installatron is unable to extract the archive of the script being installed.

SOLUTION

You can change the ZIP binary used by Installatron in Administration > Settings > Libraries. If you only have the one ZIP library you will need to install another one or update the existing library.

open3: exec of file - failed at /usr/local/cpanel/bin/register_cpanelplugin line 33

CAUSE

The RPM package "file" is missing.

SOLUTION

Install the missing RPM package:

yum install file

Then re-execute the Installatron Repair Utility at the top of this page.

Drupal: You have an error in your SQL syntax{...}/includes/menu.inc on line 315

CAUSE

This is a known bug in the 6.x branch of Drupal that makes it incompatible with some servers.

SOLUTION

Try Drupal 7 instead of Drupal 6. If you're the server administrator, disable Drupal using the Applications > Catalogs administration tool. It is worth submitting a bug report to Drupal to aid in finding a solution.

Magento: Error in file:{...}/sql/sales_setup/mysql4-upgrade-0.9.24-0.9.25.php{...}SQLSTATE[23000]

Magento: Error in file:{...}/sql/catalogrule_setup/mysql4-upgrade-0.7.4-0.7.5.php{...}SQLSTATE[42S01]

CAUSE

This is a known bug in Magento that makes it incompatible with some servers.

SOLUTION

If you're the server administrator, disable Magento using the Applications > Catalogs administration tool. It is worth submitting a bug report to Magento to aid in finding a solution.

© 2004 - 2012 Installatron. All rights reserved.