[WARNING] Service php7.4-fpm is unknown

My YunoHost server

Hardware: Root Server by Netcup
YunoHost version: 4.3.6.3 (stable)
I have access to my server : Through SSH | through the webadmin | webmin | VNC
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue:

Automatic diagnosis mail this morning:

Issues found by automatic diagnosis

[WARNING] Service php7.4-fpm is unknown :frowning:

  • You can try to restart the service, and if it doesn’t work, have a look at the service logs in the webadmin (from the command line, you can do this with ‘yunohost service restart php7.4-fpm’ and ‘yunohost service log php7.4-fpm’).

Result of attempting to restart the service via SSH:

Failed to restart php7.4-fpm.service: Unit php7.4-fpm.service not found.
Warning: Could not execute the command 'systemctl restart php7.4-fpm'
Error: Failed to get status information via dbus for service php7.4-fpm, systemctl didn't recognize this service ('NoSuchUnit').
Error: Could not restart the service 'php7.4-fpm'

Last Updates (2022/04/23):

An update to crystal from 1.4.0-1+1.9 to 1.4.1-1+1.1 is available.

An update to php7.4 from 7.4.28-1+0~20220421.60+debian10~1.gbp195dcd to 7.4.29-1+0~20220422.62+debian10~1.gbp6939ea is available.

An update to php7.4-bcmath from 7.4.28-1+0~20220421.60+debian10~1.gbp195dcd to 7.4.29-1+0~20220422.62+debian10~1.gbp6939ea is available.

An update to php7.4-cli from 7.4.28-1+0~20220421.60+debian10~1.gbp195dcd to 7.4.29-1+0~20220422.62+debian10~1.gbp6939ea is available.

An update to php7.4-common from 7.4.28-1+0~20220421.60+debian10~1.gbp195dcd to 7.4.29-1+0~20220422.62+debian10~1.gbp6939ea is available.

An update to php7.4-curl from 7.4.28-1+0~20220421.60+debian10~1.gbp195dcd to 7.4.29-1+0~20220422.62+debian10~1.gbp6939ea is available.

An update to php7.4-fpm from 7.4.28-1+0~20220421.60+debian10~1.gbp195dcd to 7.4.29-1+0~20220422.62+debian10~1.gbp6939ea is available.

An update to php7.4-gd from 7.4.28-1+0~20220421.60+debian10~1.gbp195dcd to 7.4.29-1+0~20220422.62+debian10~1.gbp6939ea is available.

An update to php7.4-gmp from 7.4.28-1+0~20220421.60+debian10~1.gbp195dcd to 7.4.29-1+0~20220422.62+debian10~1.gbp6939ea is available.

An update to php7.4-json from 7.4.28-1+0~20220421.60+debian10~1.gbp195dcd to 7.4.29-1+0~20220422.62+debian10~1.gbp6939ea is available.

An update to php7.4-mbstring from 7.4.28-1+0~20220421.60+debian10~1.gbp195dcd to 7.4.29-1+0~20220422.62+debian10~1.gbp6939ea is available.

An update to php7.4-mysql from 7.4.28-1+0~20220421.60+debian10~1.gbp195dcd to 7.4.29-1+0~20220422.62+debian10~1.gbp6939ea is available.

An update to php7.4-opcache from 7.4.28-1+0~20220421.60+debian10~1.gbp195dcd to 7.4.29-1+0~20220422.62+debian10~1.gbp6939ea is available.

An update to php7.4-readline from 7.4.28-1+0~20220421.60+debian10~1.gbp195dcd to 7.4.29-1+0~20220422.62+debian10~1.gbp6939ea is available.

An update to php7.4-xml from 7.4.28-1+0~20220421.60+debian10~1.gbp195dcd to 7.4.29-1+0~20220422.62+debian10~1.gbp6939ea is available.

An update to php7.4-zip from 7.4.28-1+0~20220421.60+debian10~1.gbp195dcd to 7.4.29-1+0~20220422.62+debian10~1.gbp6939ea is available.

Try

sudo service php7.4-fpm restart

I did:

Failed to restart php7.4-fpm.service: Unit php7.4-fpm.service not found.

And yes - there is no php7.4-fpm.service.

php7.3-fpm.service and php8.0-fpm.service only.

Also no php7.4-fpm dir. Just cli and modes-available.

Will sudo apt install php7.4-fpm do the job, without ‘confusing’ YunoHost scripts?

php7.4-fpm installed with sudo apt install php7.4-fpm again.

No diagnostic error messages anymore. If the YunoHost control scripts don’t complain now, that’s it.

Did something go wrong in the update? Is there something special in the logs?

Absolutely nothing. Strange ¯_(ツ)_/¯
But fixed now - I guess.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.