Upgrading debian 10 to 11 problme urgent problem php 7.3 instalation

Discussion in 'HOWTO-Related Questions' started by muekno, Oct 2, 2023.

  1. muekno

    muekno Active Member HowtoForge Supporter

    Got erro
    /etc/apt/sources.list.d# add-apt-repository -y ppa:eek:ndrej/php
    gpg: keybox '/tmp/tmp06k_hwzw/pubring.gpg' created
    gpg: /tmp/tmp06k_hwzw/trustdb.gpg: trustdb created
    gpg: key 4F4EA0AAE5267A6C: public key "Launchpad PPA for Ondřej Surý" imported
    gpg: Total number processed: 1
    gpg: imported: 1
    Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
    gpg: no valid OpenPGP data found.

    What to do?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    It seems as if you use Ubuntu instructions on a Debian system. The ondrej ppa is for Ubuntu and not Debian. The same PHP packages for Debian are in the sury repo.

    Latest installation instructions from sury repo https://github.com/oerdnj/deb.sury.org/wiki/Frequently-Asked-Questions are to run:

    Code:
    apt-get update
    apt-get -y install lsb-release ca-certificates curl
    curl -sSLo /usr/share/keyrings/deb.sury.org-php.gpg https://packages.sury.org/php/apt.gpg
    sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list'
    apt-get update
    
    to install the repository on Debian. Or you use our tutorial from Howtoforge, which does the same just using wget and not curl to download the GPG key:

    https://www.howtoforge.com/ispconfig-php-debian/
     
    Last edited: Oct 2, 2023
  3. muekno

    muekno Active Member HowtoForge Supporter

    Thanks a lot!
     
  4. muekno

    muekno Active Member HowtoForge Supporter

    followed your tutorial update an ISPconfig managed server from 10 to 11, could install php 7.3 now but can't get apache to run, so no IPSconfig on port 8080 or the website comes up.
     
  5. muekno

    muekno Active Member HowtoForge Supporter

    <Code>
    journalctl -xe
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ An ExecStart= process belonging to unit apache2.service has exited.
    ░░
    ░░ The process' exit code is 'exited' and its exit status is 1.
    Oct 02 10:21:10 me-web.max-eckstein.de systemd[1]: apache2.service: Failed with result 'exit-cod>
    ░░ Subject: Unit failed
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ The unit apache2.service has entered the 'failed' state with result 'exit-code'.
    Oct 02 10:21:10 me-web.max-eckstein.de systemd[1]: Failed to start The Apache HTTP Server.
    ░░ Subject: A start job for unit apache2.service has failed
    ░░ Defined-By: systemd
    ░░ Support: https://www.debian.org/support
    ░░
    ░░ A start job for unit apache2.service has finished with a failure.
    ░░
    ░░ The job identifier is 1433 and the job result is failed.
    Oct 02 10:21:12 me-web.max-eckstein.de sshd[71658]: Failed password for invalid user zabbix from>
    Oct 02 10:21:14 me-web.max-eckstein.de sshd[71658]: Received disconnect from 85.73.250.59 port 4>
    Oct 02 10:21:14 me-web.max-eckstein.de sshd[71658]: Disconnected from invalid user zabbix 85.73.>
    lines 1333-1355/1355 (END)
    </code>
     
  6. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    You have of course already tried rebooting?
    See
    Code:
    systemctl --state=failed
    systemctl status apache2
    Then read apache logs, maybe they show more info on why it fails.
    Did you remove the ubuntu repos you added to APT?
     
  7. muekno

    muekno Active Member HowtoForge Supporter

    no success in any way, I will go back to snapshot and start a new try
     

Share This Page