Acronis plugin internal server error in cPanel – How to fix

Home > Acronis plugin internal server error in cPanel – How to fix
 

Wondering how to fix the Acronis plugin internal server error in cPanel? We can help you.

Often Cpanel/WHM users may see “Internal Server Error ” with the Acronis Backup plugin. We get this error either while loading the plugin page or While performing backups.

Here at Bobcares, we get requests from our customers to handle similar Acronis issues as a part of our Server Management Services. Today we will see how our Support Engineers do this for our customers.

What causes Acronis plugin internal server error in cPanel

Before going into the steps for fixing the error we will see what causes this error.

Following are the two main causes for this error in cPanel:

1. Backup fails with “Internal error”

At times the Backup fails with the following error:

Error code: 1
Module: 7
LineInfo: 0x810DFA3764B9D034
Fields: {"$module":"disk_bundle_lxa64_12420"}
Message: Internal error: record is greater then 32K

This generally happens when the Jailed shell is enabled in cPanel and a lot of mount points are created in the /home/virtfs/ directory. The size of all strings listing the mount points exceeds 32K.

2. Internal server error while loading Acronis plugin

We may get this error when we click on the Acronis plugin icon to open the plugin. It redirects to a white page with no data.

Further when we check the logs in /usr/local/cpanel/log/error_log we will be able to see the following error:

[30-Jan-2019 09:13:47 UTC] PHP Fatal error: Uncaught Exception: DateTime::__construct(): Invalid date.timezone value 'Host', we selected the timezone 'UTC' for now. in /usr/local/cpanel/base/3rdparty/acronisbackup/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:50

Stack trace:

#0 /usr/local/cpanel/base/3rdparty/acronisbackup/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php(50): DateTime->__construct('tomorrow')

Generally, this happens when the timezone is set to an incorrect value in the php.ini file.

How to fix this Error

Now we will see the steps to fix the error for the above-mentioned causes.

1. Backup fails with “Internal error”

When the Jailed shell is enabled in cPanel resulting in the creation of a lot of mount points.

We can run the /scripts/clear_orphaned_virtfs_mounts script to unmount the BIND mounts for users who no longer exist or who do not use a jailed shell environment anymore.

This script removes the /home/virtfs/username/ directory and its contents.

For forcefully removing all VirtFS mount points, we can run the following command:

/scripts/clear_orphaned_virtfs_mounts --clearall

To check VirtFS mount points, we can run the following command:

grep -i username /proc/mounts
2. Internal server error while loading Acronis plugin

To solve the error we can do the following steps :

1. Firstly we need to check the timezone specified. For this, we can use the following command:

/usr/local/cpanel/3rdparty/php/72/etc/php.ini | grep date

We may get an output as the one given below:

date.timezone = Host

2. Now, we have to correct this value and pecify it in UTC format.

For example:

date.timezone = "UTC"

3. Similarly we need to check and correct timezone in the following files:

/usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini
/usr/local/cpanel/3rdparty/etc/php.ini
/usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini

[Need assistance? We can help you]

Conclusion

In short, we saw how our Support Techs fix Acronis plugin internal server error in cPanel.

The post Acronis plugin internal server error in cPanel – How to fix appeared first on Bobcares.

 
 
%d bloggers like this: