Articles in this section

Unable to open domain file manager in Plesk: Full path is undefined

Plesk for Windows Plesk for Linux kb: technical ABT: Group B MT:b2742ceca40490a7c17858ed5bb1ba8e MG:d55e2fe7473eaa9af968d1dec26b2fbb database

Applicable to:

  • Plesk for Linux
  • Plesk for Windows

Symptoms

One of the following errors is displayed when opening Domains > example.com > Hosting Settings or Domains > example.com > File Manager after Plesk upgrade:

PLESK_ERROR: Internal error: Full path is undefined.
Message Full path is undefined.
File Webspace.php
Line 374
Type PleskFatalException

PLESK_ERROR: ERR (3) [panel]: PleskFatalException: Full path is undefined.
file: C:\plesk\admin\plib\Webspace.php
line: 374
code: 0

PLESK_ERROR: Error: New configuration files for the Apache web server were not created due to the errors in configuration templates: Template processing failed: file = /usr/local/psa/admin/conf/templates/default/domainVhost.php, error = Template_Exception: No data. file: /usr/local/psa/admin/plib/Template/Processor.php line: 28 code: 0 Previous error: Template_Variable_Exception: No data. file: /usr/local/psa/admin/plib/Template/Variable/AbstractCachedData.php line: 67 code: 0. Search in KB

Cause

Entries from the hosting table were removed due to the Plesk upgrade failure.

Resolution

For Linux
  1. Connect to the server via SSH

  2. Create Plesk database backup.

  3. Restore hosting table from pre-upgrade dump.

    Note: the dump is located at /var/lib/psa/dumps/*preupgrade*.

    # gunzip /var/lib/psa/dumps/mysql.preupgrade.<version and time stamp>.dump.gz
    # sed -n -e '/DROP TABLE.*`hosting`/,/UNLOCK TABLES/p' /var/lib/psa/dumps/mysql.preupgrade.<version and time stamp>.dump > hosting.sql
    # MYSQL_PWD=$(cat /etc/psa/.psa.shadow) mysql -u admin psa < hosting.sql

For Windows

Note: the dump is located in %plesk_dir%\\mysql\\backup or (in case if the database provider was different fom MySQL) at%plesk_dir%\\admin\\db\ folder.

  1. Connect to the server via RDP

  2. Create Plesk database backup.

  3. On Windows the corresponding entries should be extracted manually using Notepad/Notepad++ utility and saved in a separate file, e.g. C:\\hosting.sql. Then use the saved file to restore the table:

    • Open CMD and run the following command:

      C:\> plesk db < hosting.sql

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.