<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>54353</bug_id>
          
          <creation_ts>2025-05-18 12:51:47 +0300</creation_ts>
          <short_desc>Не создаёт сертификат /var/lib/ssl/certs/httpd2.cert</short_desc>
          <delta_ts>2025-05-18 12:51:47 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>deploy</component>
          <version>unstable</version>
          <rep_platform>x86_64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Evgeny Shesteperov">alimektor</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>cas</cc>
    
    <cc>nexxy</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>265046</commentid>
    <comment_count>0</comment_count>
    <who name="Evgeny Shesteperov">alimektor</who>
    <bug_when>2025-05-18 12:51:47 +0300</bug_when>
    <thetext>Версия

-   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 &quot;systemctl status httpd2.service&quot; and &quot;journalctl -xeu httpd2.service&quot; 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 &apos;/var/lib/ssl/certs/httpd2.cert&apos; does not exist or is empty
    . . . . .

Workaround:

    # a2ensite default_https &amp;&amp; \
    systemctl enable --now httpd2 &amp;&amp; \
    systemctl restart httpd2 &amp;&amp; \
    systemctl status httpd2 --no-pager -l &amp;&amp; \
    ls -l /var/lib/ssl/certs/httpd2.cert</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>