• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

Issue Errors when clicking on PHP and on "Apache&nginx" for all my sites

xberg

New Pleskian
Server operating system version
Ubuntu 24.04
Plesk version and microupdate number
Plesk Obsidian 18.0.76 Update #2 Web Host Edition
For all my sites in plesk I have the following 2 errors:
Clicking on Dashboard / PHP gives the following error:

TypeError​

can't access property "toLowerCase", t.find(...).options[m] is undefined

Clicking on "Apache & Nginx" in Hosting&DNS gives "Warning: Permission denied".
 

Issue description​


On a new Plesk Obsidian 18.0.76 / Ubuntu 24.04 server migrated from another Plesk server, I cannot access Apache & nginx Settings for any domain.


For all domains, clicking Hosting & DNS → Apache & nginx Settings returns:



Warning: permission denied



In panel.log the following error appears:



PleskPermissionDeniedException: Permission denied.
file: /opt/psa/admin/application/smb/controllers/WebController.php
line: 719



Additionally, in PHP Settings the UI throws a JavaScript error:



TypeError: can't access property "toLowerCase", t.find(...).options[m] is undefined



The issue affects all domains on the server, not just a specific subscription.




Troubleshooting already performed​


Migration was completed successfully.


The following repair procedures were executed:



plesk repair db -n
plesk repair web -y
plesk repair fs -y
plesk repair installation
systemctl restart sw-engine
systemctl restart psa



Database inconsistency found earlier​


plesk repair db -n initially reported:



Inconsistency in table 'Configurations' for column objectId:
No rows in table 'domains' with id = 12



These orphaned references were removed.




Apache configuration issue resolved​


Apache initially failed due to a missing suexec binary:



SuexecUserGroup configured, but suEXEC is disabled:
Missing suexec binary /usr/lib/apache2/suexec



After installing the appropriate package, Apache configuration is now valid:



apache2ctl -t
Syntax OK





Current status​


  • Apache configuration is valid
  • FTP/FTPS works correctly
  • Plesk UI still fails when opening Apache & nginx Settings
  • Problem occurs on all domains



SMB database tables​


Relevant SMB tables appear to exist and contain expected entries:


smb_users​


  • admin user present
  • roleId = 1

smb_roles​



1 Admin
2 WebMaster
3 Application User
4 Accountant



smb_roleGeneralPermissions​


Entries exist for roleId = 1 with permissions enabled.




Error in panel.log when clicking Apache & nginx Settings​



[panel] PleskPermissionDeniedException: Permission denied.
file: /opt/psa/admin/application/smb/controllers/WebController.php
line: 719





Summary​


The server is otherwise functioning correctly, but the Plesk UI consistently throws a PleskPermissionDeniedException when accessing Web Server Settings.


The issue persists after:


  • database repair
  • installation repair
  • Apache configuration fixes
  • service restarts

Since the problem affects all subscriptions, it appears to be related to a global SMB permission issue or migration inconsistency.


Any guidance would be appreciated.
 

Additional finding​


On the affected server, both SMB service permission tables are empty:



SELECT * FROM smb_servicePermissions;
SELECT * FROM smb_roleServicePermissions;



Both return:



Empty set



This appears to match the global PleskPermissionDeniedException issue in WebController.php when opening Apache & nginx Settings for any subscription.


Apache configuration is now valid (apache2ctl -t = Syntax OK), so the current issue no longer seems related to Apache, but rather to missing SMB service permission data in the psa database.

plesk repair db -verbose : no errors.

Could you please advise the supported way to rebuild or repopulate these SMB permission tables?
 
@xberg , could you please execute the following command and let us know what it returns:

Code:
dpkg -l | grep hosting

There might be an issue with the the consistency of the plesk-web-hosting package.
 
Back
Top