How to troubleshoot Installatron / 1-click web apps Print

  • 0

Problem Description

  • You encounter a white screen while accessing Installatron
  • You are experiencing any kind of problem with Installatron
  • You get Error: Bytecode loader failed. See troubleshooting for detail

Problem Resolution

To resolve general issues with Installatron, such as getting a blank screen or apps not showing server-wide, you can run a simple repair script as root that typically fixes these kinds of problems:

/usr/local/installatron/repair -f --quick

If that fails, run this:

rm -fr /usr/local/installatron/lib/usr/local/installatron/etc/php.ini
curl -O http://dal01.installatron.com/installatron-plugin.sh
chmod 755 installatron-plugin.sh
./installatron-plugin.sh -f --quick

If that does not resolve the problem, and you see a blank screen when trying to access Installatron in Plesk, here's a few possible solutions:

White Screen Solution 1: Use newer PHP binaries

Note: these PHP paths only work if you're using Plesk and have this version of PHP installed. Enter your own PHP binary path if using another control panel or manually installed PHP versions.

cd /usr/local/installatron/bin
mv run run.bak
mv php php.bak
ln -s /opt/plesk/php/8.3/bin/php run
ln -s /opt/plesk/php/8.3/bin/php php
/usr/local/installatron/repair -f --quick

Source.

White Screen Solution 2: Memory Limits Reached?

This has happened when Installatron is processing a very large task queue. If you're experiencing this problem then the log file at /var/installatron/logs/error_log will show PHP Fatal error: Allowed memory size of 805306368 bytes exhausted (tried to allocate ####### bytes) in /usr/local/installatron/lib/boot.php.

Run the following commands to wipe out the task queue which is so massive, Installatron can't keep it within PHP's memory limits when it's processing it:

rm -rf /var/installatron/tasks/*
echo "DELETE FROM i_tasks;" | /bin/sqlite3 /var/installatron/data.db
echo "VACUUM;" | /bin/sqlite3 /var/installatron/data.db
/usr/local/installatron/repair -f --quick

Was this answer helpful?

← Back