I have access to my server : ssh / keyboard Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no If yes, please explain:
Description of my issue
Upgraded to Buster 2 days ago. 14 hours ago my Diagnosis was showing lots of issues so I checked and suddenly my LetsEncrypt certificate is -63 days valid.
I had issues in diagnosis about NGINX conf files were modified by me (they werenât) so I forced regenâed them.
I then tried to update it with admin@arkadi:~$ sudo yunohost domain cert-install arkadi.one --force but it failed.
2020-08-12 10:07:33,719: ERROR - Wrote file to /tmp/acme-challenge-public/y1YGohdDDr4OzMqw1AKrol8vTyfIrkwRJ9K6iIrIuqs, but couldn't download http://maindomain.tld/.well-known/acme-challenge/y1YGohdDDr4OzMqw1AKrol8vTyfIrkwRJ9K6iIrIuqs: Error:
Url: http://maindomain.tld/.well-known/acme-challenge/y1YGohdDDr4OzMqw1AKrol8vTyfIrkwRJ9K6iIrIuqs
Data: None
Response Code: None
Response: <urlopen error [Errno 110] Connection timed out>
2020-08-12 10:07:33,777: ERROR - Certificate renewing for maindomain.tld failed !
I ran âapt update && apt upgradeâ. Fails because of âphp7.0-fpm.serviceâ.
$ sudo apt upgrade
Reading package lists⌠Done
Building dependency tree
Reading state information⌠Done
Calculating upgrade⌠Done
The following packages will be upgraded:
libicu63 python3-httplib2
2 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 8,329 kB of archives.
After this operation, 103 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 Index of /debian buster/main amd64 libicu63 amd64 63.1-6+deb10u1 [8,300 kB]
Get:2 Index of /debian buster/main amd64 python3-httplib2 all 0.11.3-2 [29.2 kB]
Fetched 8,329 kB in 8s (1,080 kB/s)
Reading changelogs⌠Done
(Reading database ⌠80029 files and directories currently installed.)
Preparing to unpack âŚ/libicu63_63.1-6+deb10u1_amd64.deb âŚ
Unpacking libicu63:amd64 (63.1-6+deb10u1) over (63.1-6+0~20190318101012.1+stretch~1.gbp07d7b6) âŚ
Setting up libicu63:amd64 (63.1-6+deb10u1) âŚ
(Reading database ⌠80029 files and directories currently installed.)
Preparing to unpack âŚ/python3-httplib2_0.11.3-2_all.deb âŚ
Unpacking python3-httplib2 (0.11.3-2) over (0.11.3-1+0~20190212170638.3+buster~1.gbp2efb8a) âŚ
Setting up python3-httplib2 (0.11.3-2) âŚ
Setting up php7.0-fpm (7.0.33-30+0~20200807.37+debian10~1.gbp047872) âŚ
Job for php7.0-fpm.service failed because the control process exited with error code.
See âsystemctl status php7.0-fpm.serviceâ and âjournalctl -xeâ for details.
invoke-rc.d: initscript php7.0-fpm, action ârestartâ failed.
â php7.0-fpm.service - The PHP 7.0 FastCGI Process Manager
Loaded: loaded (/lib/systemd/system/php7.0-fpm.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2020-08-12 15:56:33 CST; 16ms ago
Docs: man:php-fpm7.0(8)
Process: 25941 ExecStart=/usr/sbin/php-fpm7.0 --nodaemonize --fpm-config /etc/php/7.0/fpm/php-fpm.conf (code=exited, status=78)
Process: 25942 ExecStopPost=/usr/lib/php/php-fpm-socket-helper remove /run/php/php-fpm.sock /etc/php/7.0/fpm/pool.d/www.conf 70 (code=exited, status=0/SUCCESS)
Main PID: 25941 (code=exited, status=78)
Aug 12 15:56:33 arkadi.one systemd[1]: Starting The PHP 7.0 FastCGI Process ManagerâŚ
Aug 12 15:56:33 arkadi.one php-fpm7.0[25941]: [12-Aug-2020 15:56:33] NOTICE: PHP message: PHP Warning: PHP Startup: Unable to load dynamic library â/usr/lib/php/20151012/zip.soâ - /usr/lib/php/20151012/zip.so: cannot open shared object file: No such file or directory in Unknown on line 0
Aug 12 15:56:33 arkadi.one php-fpm7.0[25941]: [12-Aug-2020 15:56:33] NOTICE: PHP message: PHP Warning: Module âapcâ already loaded in Unknown on line 0
Aug 12 15:56:33 arkadi.one php-fpm7.0[25941]: [12-Aug-2020 15:56:33] ERROR: [pool leed] the chdir path â/var/www/leedâ does not exist or is not a directory
Aug 12 15:56:33 arkadi.one php-fpm7.0[25941]: [12-Aug-2020 15:56:33] ERROR: failed to post process the configuration
Aug 12 15:56:33 arkadi.one php-fpm7.0[25941]: [12-Aug-2020 15:56:33] ERROR: FPM initialization failed
Aug 12 15:56:33 arkadi.one systemd[1]: php7.0-fpm.service: Main process exited, code=exited, status=78/CONFIG
Aug 12 15:56:33 arkadi.one systemd[1]: php7.0-fpm.service: Failed with result âexit-codeâ.
Aug 12 15:56:33 arkadi.one systemd[1]: Failed to start The PHP 7.0 FastCGI Process Manager.
dpkg: error processing package php7.0-fpm (âconfigure):
installed php7.0-fpm package post-installation script subprocess returned error exit status 1
Processing triggers for libc-bin (2.28-10) âŚ
Errors were encountered while processing:
php7.0-fpm
E: Sub-process /usr/bin/dpkg returned an error code (1)
Seems my problem is that not fully changed over to buster, and php70 and php7.3 are conflicting?
My other idea is to skip migration 15 and try the others.
Uuuuh wokay ⌠so as suggested in the other topic, yes, first letâs skip migration 15 to allow to run the others âŚ
(Iâm not sure to understand why your sources.list was still in stretch considering your system and yunohost was on buster ⌠but anyway âŚ)
Regarding the certificate thing, it would help if you could share the results of the diagnosis (thereâs a button to share on the diagnosis view in the webadmin)
Not sure about why php7.0 is broken, maybe the migration php7.0->7.3 will help but iâm not so optimist