Deleted folders remain in SiteBuilder Editor menu

Created:

2016-11-16 12:47:32 UTC

Modified:

2017-04-24 12:11:36 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Deleted folders remain in SiteBuilder Editor menu

Applicable to:

  • Plesk Sitebuilder 4.5 for Linux

Symptoms

When adding an image from the Editor and selecting the Link category, there are a few empty folders displayed.

After removing the folders via FTP and they are no longer shown in the root attachment folder, however they are still visible in the Editor.

Cause

The folders persist on the SiteBuilder server.

Resolution

  1. Find the website ID in SiteBuilder database:

        mysql> select site_id from site where site_publish_settings_id in (select id from site_publish_settings where url like "%example.com%")\\G;
    *************************** 1. row ***************************
    site_id: 3f41736b30eeddef778b38ee544efa3d
  2. Find the unwanted directories on file system and remove them:

    # find /usr/local/sitebuilder/htdocs/sites/3f/3f41736b30eeddef778b38ee544efa3d/attachments/File/ -type d
Have more questions? Submit a request
Please sign in to leave a comment.