Skip to content
  • Solutions
    By Role
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    • For Developers
    • For Content Managers
    • For Agencies
    • For IT Admins
    • For Web Hosters
    By Infrastructure
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Overview
    • AWS
    • Microsoft Azure
    • Alibaba Cloud
    • Google Cloud Platform
    • Vultr
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
    • Digital Ocean
    • Linode
    • Upcloud
    • Oracle
    • OVH
  • Product
    • Plesk Features
    • Plesk Editions
    • What’s new
    • Pricing
    • Roadmap
    • Lifecycle Policy
    • Extensions Catalogue
  • Pricing
  • Extensions
    Featured Extensions
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    • SocialBee
    • WP Toolkit
    • Sitejet Builder for Plesk
    • SEO Toolkit
    • Joomla! Toolkit
    • Premium Email
    • Email Security
    Bundles and packs:
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack
    • Business and Collaboration Edition
    • WP pack
    • Hosting pack
    • Power pack
    • Language pack

    See all Extensions

  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
  • Pricing
  • Solutions
    • By Role
      • For Developers
      • For Content Managers
      • For Agencies
      • For IT Admins
      • For Web Hosters
    • By Infrastructure
      • Overview
      • Plesk on Amazon Web Services (AWS & Lightsail)
      • Microsoft Azure
      • Alibaba Cloud
      • Google Cloud Platform
      • Vultr
      • DigitalOcean
      • Linode
      • UpCloud
      • Oracle
      • OVH
  • Products
  • Pricing
  • Extensions
    • Featured Extensions
      • SocialBee
      • WP Toolkit
      • Sitejet Builder for Plesk
      • SEO Toolkit
      • Joomla! Toolkit
      • Premium Email
      • Email Security
    • Bundles and packs:
      • Business and Collaboration Edition
      • WP pack
      • Hosting pack
      • Power pack
      • Language pack
      • See all Extensions
  • For Partners
    • Plesk Contributor Program
    • Plesk Partner Program
    • Affiliate Program
    • Plesk University
  • Help Center
    • Documentation
    • Professional Services
    • Support
    • Contact Us
    • Wiki
    • Forum
  • Plesk 360 login
  • Free Trial
Plesk 360 login
Free Trial

Knowledge Base

Plesk panel and all domains are down after moving vhost directory: PleskUtilException: Path is not allowed

 
backupdatabasedomainsinternal server errorphp

Symptoms

  • While performing relocation of VHOST directory via Plesk Reconfigurator the following error appeared:

    Incorrect function. (Error code 1) at ftpmng failed: The system cannot find the file specified. (Error code 2) at GetLongPathName(D:Websitesexample.comhttpdocsStaging)
    at (VFileName: longFile Name line 253)

    at psaobsolete. Virtual HostsLocation.Change (String source, String dest)
    at reconfigurator.Change Location. Set Relocate State()

  • Plesk and all domains are down with the following error:

    Server Error

    500 - external server error.
    There is a problem with the resource you are looking for, and it cannot be displayed.

  • After repairing Plesk database with plesk repair db the following error can be shown while accessing any Plesk element:

    PleskUtilException: Path is not allowed

  • The following error can be found in %plesk_dir%adminlogsphp_error.log:

    ERR [panel] PleskUtilException: Path is not allowed
    file: C:Program Files (x86)PleskadminplibServiceDriverFilesystemPleskWindows.php
    line: 763
    code: 0
    trace: #0 C:Program Files (x86)PleskadminplibServiceDriverFilesystemPleskWindows.php(53): Service_Driver_Filesystem_Plesk_Windows::checkAdvancedFilemngXMLErrorCode(string '<XmlError Error="Path is not allowed." ErrorCode="path_is_not_allowed" ErrorDetails="C:inetpubvhos...')
    #1 C:Program Files (x86)PleskadminplibFileManager.php(314): Service_Driver_Filesystem_Plesk_Windows->ls(string 'staging', string 'C:Inetpubvhostsexample.com', string 'dirs', string 'bytes', boolean true)
    #2 C:Program Files (x86)PleskadminplibFileManager.php(304): FileManager->ls_wrapper(string 'dirs', string 'C:Inetpubvhostsexample.com', boolean true)
    #3 C:Program Files (x86)PleskadminplibSmbViewListContentFiles.php(108): FileManager->ls_dirs_wrapper(string 'C:Inetpubvhostsexample.com', boolean true)
    #4 C:Program Files (x86)PleskadminplibSmbViewListContentFiles.php(100): Smb_View_List_ContentFiles->_getDirectoriesList(string 'C:Inetpubvhostsexample.com')
    #5 C:Program Files (x86)PleskadminplibCommonPanelViewListAbstract.php(482): Smb_View_List_ContentFiles->_getDataProvider()
    #6 C:Program Files (x86)PleskadminplibCommonPanelViewListAbstract.php(225): CommonPanel_View_List_Abstract->_setupPaginator()
    #7 C:Program Files (x86)PleskadminplibCommonPanelViewListAbstract.php(217): CommonPanel_View_List_Abstract->_setupList()
    #8 C:Program Files (x86)PleskadminapplicationsmbcontrollersFileManagerController.php(1266): CommonPanel_View_List_Abstract->__construct(object of type Zend_View, object of type Zend_Controller_Request_Http, array)
    #9 C:Program Files (x86)PleskadminapplicationsmbcontrollersFileManagerController.php(850): Smb_FileManagerController->_getFilesList()
    #10 C:Program Files (x86)Pleskadminplibvendorpleskzf1libraryZendControllerAction.php(516): Smb_FileManagerController->listAction()
    #11 C:Program Files (x86)Pleskadminplibvendorpleskzf1libraryZendControllerDispatcherStandard.php(308): Zend_Controller_Action->dispatch(string 'listAction')
    #12 C:Program Files (x86)Pleskadminplibvendorpleskzf1libraryZendControllerFront.php(954): Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
    #13 C:Program Files (x86)PleskadminplibApplicationWeb.php(48): Zend_Controller_Front->dispatch(object of type Zend_Controller_Request_Http)
    #14 C:Program Files (x86)Pleskadminhtdocsapplication.php(15): PleskApplication_Web->run()

Cause

Incorrect VHOST paths in the database and Windows registry. Plesk Reconfigurator changed paths in psa database and Windows registry but due to an error, all the files and domain content are still in the old VHOST path.

Resolution

  1. Connect to the server via RDP

  2. Backup psa database:

    plesk db dump psa > c:psa.sql

  3. Repair paths with the following command:

    plesk repair db -v

  4. Open registry editor and change the path for HTTPD_VHOSTS_D value at ComputerHKEY_LOCAL_MACHINESOFTWAREWOW6432NodePLESKPSA ConfigConfig

Tweet
Share
Share
Email
0 Shares
Read the full article
Related Posts

Extended Lifecycle Support OSes Update

Read More »

WordPress 500 Internal Server Error: What to do

Read More »

Ruby on Rails vs PHP: Which one’s right for your needs?

Read More »
Knowledge Base

PHP handler is displayed as corrupted after it was removed

Read More »

 An operation fails in Plesk: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry ‘X’ for key ‘PRIMARY’

Read More »

Cannot change hosting type for a Plesk domain: Unable to load object of type SysUser with id

Read More »

How to change the default index for all websites on Plesk?

Read More »

Hosting Wiki

  • Server Redundancy
  • Bare Metal Server
  • Backup
  • PhpMyAdmin
  • phpPgAdmin
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • PHP
  • Domain
  • Plesk
  • SQL database
  • NoSQL Database
  • Web Server
  • DNS Server
X-twitter Linkedin Youtube Reddit Github
  • Product
  • Login
  • Pricing
  • Editions
  • For Partners
  • Partner Program
  • Contributor Program
  • Affiliate Program
  • Plesk University
  • Company
  • Blog
  • Careers
  • Events
  • About Plesk
  • Our Brand
  • Resources
  • User and Admin guides
  • Help Center
  • Migrate to Plesk
  • Contact Us
  • Hosting Wiki
  • Forum
  • Legal
  • Legal
  • Privacy Policy
  • Imprint

© 2025 WebPros International GmbH

Part of the WebPros®  Family