Bug 54353 - Не создаёт сертификат /var/lib/ssl/certs/httpd2.cert
Summary: Не создаёт сертификат /var/lib/ssl/certs/httpd2.cert
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: deploy (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: Andrey Cherepanov
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-05-18 12:51 MSK by Evgeny Shesteperov
Modified: 2025-05-18 12:51 MSK (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Evgeny Shesteperov 2025-05-18 12:51:47 MSK
Версия

-   deploy-0.4.4-alt1
-   nextcloud-31.0.5-alt1

Предусловия

Машина без предустановленного Apache2.

Шаги воспроизведения

    # apt-get install -y deploy nextcloud nextcloud-apache2 php8.3-ldap php8.3 php8.3-pdo_mysql
    # deploy nextcloud

Ожидаемый результат: развёрнутый Nextcloud.

Фактический результат:

    . . . . .
    reload Apache2 configuration...
      localhost failed | msg: non-zero return code | stderr: Job for httpd2.service failed.
    See "systemctl status httpd2.service" and "journalctl -xeu httpd2.service" for details.
    . . . . .

    # systemctl status httpd2.service --no-pager -l
    . . . . .
    мая 18 12:47:52 workstation-11-0-x86-64-20250518.localdomain sh[5126]: AH00526: Syntax error on line 67 of /etc/httpd2/conf/sites-enabled/000-default_https.conf:
    мая 18 12:47:52 workstation-11-0-x86-64-20250518.localdomain sh[5126]: SSLCertificateFile: file '/var/lib/ssl/certs/httpd2.cert' does not exist or is empty
    . . . . .

Workaround:

    # a2ensite default_https && \
    systemctl enable --now httpd2 && \
    systemctl restart httpd2 && \
    systemctl status httpd2 --no-pager -l && \
    ls -l /var/lib/ssl/certs/httpd2.cert