• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue After changing php.ini settings plesk remains on "updating"

cool_sh

Basic Pleskian
Hi,

last week I edited using Tools & Settings > PHP Settings > php.ini for all php-versions and saved it. The changes took already affect and websites still working fine.

But the frontend remains in "update" mode. I am not able to edit php.ini again and restarting the services had no affect. The icons on the last changed inis are still loading.

Best regards
 

Attachments

  • php_handler_ini.png
    php_handler_ini.png
    53.8 KB · Views: 4
One suggested solution path (there may be other, better approaches):

Please check whether there are processes on the system that have "update-php" in a parameter:
# ps aux | grep update-php
Like for example "/usr/local/psa/bin/domain --update-php-settings mydomain.com".
If there are any, kill these processes. They might hang.

Then login to the databse
# plesk db
and select the records from the longtasks table
> select * from longtasks;
Check the date and time fields. If none of the entries is young (e.g. started in the past few hours), remove all records:
> truncate longtasks;

Then restart plesk service in two steps:
# service psa stopall
# service psa start

The update message should no longer be displayed.

If that does not resolve it, stop Plesk
# service psa stopall
and look closely at all processes whether there are still Plesk processes in the process list. If there are, these are likely hanging processes that could not be removed by the "stopall". Difficult to say in dry run here whether you can simply kill them, but probably it is possible without running any risks. Then restart Plesk with
# service psa start

If that does not help either, reboot system. This will remove hanging processes. Rebooting does have some risks, though, e.g. of system services not coming back up.
 
Back
Top