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

Notification received by Plesk administrator regarding WordPress site: Failed to reset cache for the instance: filemng: No such file or directory

 
applications extensionsbackupcachedatabaseemail

Symptoms

  • Daily email "WordPress Updates Digest" is received that contains the following:

    Website "/httpdocs.old/blog" (example.com): Failed to reset cache for the instance #19: filemng: Failed to change directory to /var/www/vhosts/example.com/httpdocs.old/blog: No such file or directory

  • The instance for example.com exists in WP Toolkit and is not broken.

  • Records in WP Toolkit database show, that two instances exist  for domain example.com (the same domainId with different directories):

    # sqlite3 /usr/local/psa/var/modules/wp-toolkit/wp-toolkit.sqlite3
    sqlite> .mode columns
    sqlite> .headers on
    sqlite> select * from instances;
    id domainId path isIgnored apsInstanceId serverId guid
    18 88 /httpdocs 0 a950f380-79da-4095-afdd-862e1b9e7784
    19 88 /httpdocs.old/blog 0 0cd165cd-6777-4e01-96c7-dddeca145281

Cause

The folder /var/www/vhosts/example.com/httpdocs.old is removed manually or all the files were moved to another directory /var/www/vhosts/example.com/httpdocs.

As a result, WordPress database has not been updated with information about this change.

Resolution

Click on a section to expand

Via Plesk interface

  1. Log into Plesk.

  2. Go to the old instance in WP Toolkit and detach it:

    mceclip0.png

Click on a section to expand

Via SSH access

  1. Connect to the server via SSH / via RDP.

    Note: If direct SSH/RDP access to the server is not possible, contact server administrator for further assistance.

  2. Detach the old instance using the command below with the actual instance ID:

    # plesk ext wp-toolkit --detach -instance-id 19

 

If the above actions did not help, follow the steps below:

Click on a section to expand

Linux

  1. Connect to the server via SSH;
  2. Create a backup of WP Toolkit database:

    # cp -p /usr/local/psa/var/modules/wp-toolkit/wp-toolkit.sqlite3{,.backup}

  3.  Remove leftovers of affected instance from WP Toolkit database:

    # sqlite3 /usr/local/psa/var/modules/wp-toolkit/wp-toolkit.sqlite3
    sqlite> DELETE FROM InstanceProperties WHERE instanceId=19;
    sqlite> DELETE FROM InstancesDomains WHERE instanceId=19;
    sqlite> DELETE FROM Instances where id=19;
    sqlite> .quit

Click on a section to expand

Windows

  1. Connect to the server via RDP;
  2. Create a dump of the Plesk database:

    C:> plesk db dump > "C:psa_dump.sql"

  3. Download sqlite3.exe from this link into C:temp
  4.  Create copy of WP Toolkit database, located in %plesk_dir%varmoduleswp-toolkitwp-toolkit.sqlite3

  5.  Open Command Prompt as Administrator and execute the following command and log in  WP Toolkit database:

    C:> "C:tempsqlite3.exe" "%plesk_dir%varmoduleswp-toolkitwp-toolkit.sqlite3"

  6.  Remove leftovers of affected instance from WP Toolkit database:

    C:> sqlite> DELETE FROM InstanceProperties WHERE instanceId=19;
    sqlite> DELETE FROM InstancesDomains WHERE instanceId=19;
    sqlite> DELETE FROM Instances where id=567; sqlite> .quit

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

You Are Always Safe When You Have an Up-To-Date Plesk Backup

Read More »

Plesk with Centralized Database and Network File System

Read More »

Web Cache Types Guide

Read More »
Knowledge Base

Duplicate entries in Plesk WP Toolkit: nginx: [emerg] duplicate location “/fake-hotlink-stub”

Read More »

WP Toolkit Cloning hangs or stops after 60 seconds on a Plesk server

Read More »

Can’t install plugin via WP Toolkit: destination folder already exists

Read More »

Unable to log in to a WordPress dashboard via Plesk: The “Log in” button is missing in WP Toolkit

Read More »

Hosting Wiki

  • Django
  • DBMS Interface
  • Server Redundancy
  • Linux Containers
  • CacheFly
  • Google Cloud CDN
  • AMP
  • Bare Metal Server
  • Backup
  • Oracle VM Server
  • Server Virtualization Software
  • Windows Server
  • Linux
  • MongoDB
  • Joomla! Toolkit
  • WP Toolkit
  • WordPress
  • Plesk
  • SQL database
  • NoSQL Database
  • Web Server
  • DNS Server
  • SSH
  • Email Autoresponder
  • Email Alias
  • Email Virus Protection
  • Email Forwarding
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