Articles in this section

Unable to publish a website, restore/download a snapshot or upload an image in Web Presence Builder for Plesk Obsidian 18.0.40 on Windows

kb: bug Plesk for Windows kb: fixed

Applicable to:

  • Plesk for Windows

Symptoms

  • Plesk for Windows has been updated to Obsidian 18.0.40.

  • it is not possible to publish pages other than the index page in Web Presence Builder.

  • In an attempt to restore a snapshot in Web Presence Builder, the operation fails:

    PLESK_INFO: [EMERG] /sitebuilder/JsonApi/ Base_Target_Exception: Cannot read non existing file 'data/snapshots/'.
    file: C:\Program Files (x86)\Parallels\Plesk\sb\include\SB\Extension\PP\Target.php

  • In an attempt to download a snapshot in Web Presence Builder, the operation fails:

    PLESK_INFO: File: C:\Program Files (x86)\Parallels\Plesk\admin\plib\Service\Agent.php; Line: 196
    Message: filemng failed: Access is denied. (Error code 5) at Unable to create file 'C:\Inetpub\vhosts\example.com\data\snapshots' at (RunTime::File::create line 1264) at execute "C:\Program Files (x86)\Parallels\Plesk\admin\bin\filemng" johndoe base64 C:\Inetpub\vhosts\example.com/data/snapshots/(RunTime::RunAsUser::run line 214) (Error code 1); Code: 0

  • When uploading images using the Image Gallery in Web Presence Builder, images are uploaded to the document root folder instead of the images folder. As a result, images fail to load on the website with a 404 Not Found error.

Cause

Product issue:

  • #PPPM-13339 "Websites are now published correctly in Web Presence Builder, and website snapshots can be downloaded."
    Fixed in:

Resolution

Please consider updating your server:

Workaround

If update is not possible for some reason you may try the following

workaround

As a workaround, apply the following steps:

  1. Connect to the Plesk server via RDP.

  2. Download the patched file ZipArchiveWrapper.php.

  3. Open the folder %plesk_dir%admin\plib in Windows Explorer.

  4. Rename the file ZipArchiveWrapper.php to ZipArchiveWrapper.php_original

  5. Move the downloaded file ZipArchiveWrapper.php to %plesk_dir%admin\plib.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.