Articles in this section

Backup creation in Plesk fails: Unable to check the amount of free disk space: SplFileInfo::getInode()

Plesk for Linux kb: technical

Applicable to:

  • Plesk for Linux

Symptoms

  • Backup creation via the Backup Manager in Plesk fails with an error that is similar to the following:

PLESK_ERROR: Unable to check the amount of free disk space: SplFileInfo::getInode(): stat failed for /var/www/vhosts/example.com/bin/php

Cause

The file from the error message is actually a broken symbolic link, which is usually confirmed after encountering one of the following errors:

# ls -l /var/www/vhosts/example.com/bin/php
-bash: /var/www/vhosts/example.com/bin/php: Too many levels of symbolic links

OR

# ls -l /var/www/vhosts/example.com/bin/php
ls: cannot access /opt/plesk/php/7.3/bin/php: No such file or directory

Resolution

Remove the incorrect symbolic link and recreate it with a correct location afterwards.

The steps for that would be similar to the following:

1. Log into your server via SSH

2. To remove the current symbolic link, you can execute the following command:

Note: Replace current_symlink_full_path with the the path to the currently existing symlink

# rm current_symlink_full_path

3. To create the new correct symbolic link, you can execute the following command:

Note: Replace symlink_full_path with the full path of the newly create symlink file

# ln -s /path/to/the/new/location symlink_full_path

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.