Site publication fails: Base_Target_Exception: Cannot remove file

Refers to:

  • Web Presence Builder 11.0 for Linux
  • Web Presence Builder 11.1 for Linux

Created:

2016-11-16 13:13:14 UTC

Modified:

2016-12-21 20:13:16 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Site publication fails: Base_Target_Exception: Cannot remove file

Symptoms

Web Presence Builder fails to publish a site and produces an Internal error message. The following error is recorded in /usr/local/psa/admin/logs/sitebuilder.log :

2012-12-09T15:41:02+04:00 [EMERG] [System] /JsonApi/ Base_Target_Exception: Cannot remove file 'webspace/httpdocs/example.com/name-of-category/name-of-page/' from FTP target file: /usr/local/pem/vhosts/123456/webspace/siteapps/99/htdocs/include/SB/Site/Compiler/Target/FTP.php

Cause

This is a software issue which has been fixed in the latest update of Web Presence Builder Standalone 11.0.14 and in Web Presence Builder for Parallels Automation 11.5. Internal request ID is #PPB-956 .

Web Presence Builder for Plesk is not affected since it uses a different mode of publication.

Resolution

Hotfix is avaliable for Web Presence Builder for Parallels Automation 11.0.8:

  1. Download attachment .

  2. Back up original file and replace it with the file from attach above:

    <...web_presence_builder_dir..>/include/SB/Site/Compiler/Target/FTP.php

For other affected versions, as a workaround, log in to the FTP server where the site is being published to and remove the directory reported in the error. Then publish the website again.

Have more questions? Submit a request
Please sign in to leave a comment.