Symptoms
- When updating an extension using the Joomla! Toolkit the message Extension was successfully updated appears, however the Joomla extension is still marked as out of date
- The core of Joomla website cannot be updated via the Joomla! Toolkit, without showing errors within the Plesk GUI
- When attempting to perform update actions via the Joomla Toolkit, the following errors appears in
/var/log/plesk/panel.log
:[2024-03-07 14:53:12.219] 763293:65e9d4d443e23 ERR [extension/joomla-toolkit] COM_INSTALLER_MSG_UPDATESITES_REBUILD_NOT_PERMITTED
[2024-03-07 14:58:27.341] 764043:65e9d4dec85f9 ERR [extension/joomla-toolkit] Cannot open source folder
[2024-03-07 14:58:27.358] 764043:65e9d4dec85f9 ERR [extension/joomla-toolkit] Could not apply the update. Please check the website manually.
Cause
The permissions of the Joomla! Toolkit user Plesk uses have been changed manually within the Joomla installation and it no longer has Super Users privileges. The Joomla! Toolkit performs the update through said website user and these privileges are necessary to run the COM_INSTALLER component of the Joomla! Toolkit in Plesk.
Resolution
Restore Super Users permissions to the website user by following these steps:
- Log in to the Joomla website manually by using an administrative user account that has full access to make changes
- Go to Settings > Users
- Edit the user that was used to setup the website (the same one that the Joomla! Toolkit in Plesk uses)
- Go to Assigned User Groups
- Add the user to the Super Users group
Additional information
Joomla! Toolkit - enhance performance and management of Joomla! sites