Articles in this section

Unable to install Support SSH Access extension: chmod: cannot access '/opt/psa/var/modules/support-access//support-access.sqlite': No such file or directory

kb: bug Plesk for Linux

Applicable to:

  • Plesk for Linux

Symptoms

  • Plesk Obsidian running on a Linux-based operating system
  • Unable to install Support SSH Access extension version version 1.2.4 (or older) while receiving an error that is similar to the following:

    CONFIG_TEXT: [2024-05-22 14:16:11.923] 364983:664de20be0dfd ERR [util_exec] proc_close() failed ['/opt/psa/admin/bin/filemng' 'root' 'chmod' '0600' '/opt/psa/var/modules/support-access//support-access.sqlite' '--allow-root'] with exit code [1]
    [2024-05-22 14:16:12.022] 364983:664de20be0dfd ERR [panel] filemng failed: chmod: cannot access '/opt/psa/var/modules/support-access//support-access.sqlite': No such file or directory
    filemng: Error occurred during /bin/chmod command.:
    0: /opt/psa/admin/plib/Service/Agent.php:159
    Service_Agent->execAndGetResponse(string 'filemng', array, NULL null, array, boolean false, boolean false)
    1: /opt/psa/admin/plib/Service/Driver/Filesystem/Plesk/Unix.php:577
    Service_Driver_Filesystem_Plesk_Unix->_execAndGetResponse(array)
    2: /opt/psa/admin/plib/Service/Driver/Filesystem/Plesk/Unix.php:443
    Service_Driver_Filesystem_Plesk_Unix->setMode(string 'root', string '/opt/psa/var/modules/support-access//support-access.sqlite', string '0600', boolean false)
    3: /opt/psa/admin/plib/FileManager.php:412
    FileManager->chmod_wrapper(string '/opt/psa/var/modules/support-access//support-access.sqlite', string '0600')
    4: /opt/psa/admin/plib/pm/FileManager.php:134
    pm_FileManager->chmod(string '/opt/psa/var/modules/support-access//support-access.sqlite', string '0600')
    5: /opt/psa/admin/plib/modules/support-access/library/System/FileManager.php:56
    PleskExt\SupportAccess\System\FileManager->chmod(string '/opt/psa/var/modules/support-access//support-access.sqlite', string '0600')
    6: /opt/psa/admin/plib/modules/support-access/library/Database/Database.php:38
    PleskExt\SupportAccess\Database\Database->__construct(object of type PleskExt\SupportAccess\System\FileManager)
    7: /opt/psa/admin/plib/modules/support-access/scripts/post-install.php:27
    ERROR: PleskUtilException: filemng failed: chmod: cannot access '/opt/psa/var/modules/support-access//support-access.sqlite': No such file or directory
    filemng: Error occurred during /bin/chmod command. (Agent.php:159)

Cause

This issue is caused by a known Support SSH Access extension bug with ID #EXTPLESK-5555 that has already resolved in Support SSH Access extension version 1.2.5

Resolution

1. Log into Plesk

2. Update the Support SSH Access extension by following the steps in this article:

How to manage Plesk extensions (install, disable, remove, update) - section Updating a Plesk extension

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.