imscp 1.4.0 upgrade failed due to unknown AssignUserID command in apache2

  • Hello


    I tried to upgrade iMSCP from 1.3.16 to 1.4.0 on debian 8.


    An error occured when the installer tried to restart apache2 service


    Code
    1. [ERROR] Servers::httpd::apache_php_fpm::start: Could not start the `apache2' service: iMSCP::Provider::Service::Sysvinit::_exec: Job for apache2.service failed. See 'systemctl status apache2.service' and 'journalctl -xn' for details. at /usr/local/src/imscp-1.4.0/engine/PerlLib/iMSCP/Service.pm line 185.[ERROR] autoinstaller::Functions::install: An error occurred while performing installation steps

    systemctl status apache2.service results :


    Code
    1. Mar 27 16:09:18 ds01 apache2[11882]: Starting web server: apache2 failed!
    2. Mar 27 16:09:18 ds01 apache2[11882]: The apache2 configtest failed. ... (warning).
    3. Mar 27 16:09:18 ds01 apache2[11882]: Output of config test was:
    4. Mar 27 16:09:18 ds01 apache2[11882]: AH00526: Syntax error on line 14 of /etc/apache2/sites-enabled/xxx.be_ssl.conf:
    5. Mar 27 16:09:18 ds01 apache2[11882]: Invalid command 'AssignUserID', perhaps misspelled or defined by a module not included in the server configuration
    6. Mar 27 16:09:18 ds01 apache2[11882]: Action 'configtest' failed.
    7. Mar 27 16:09:18 ds01 apache2[11882]: The Apache error log may have more information.
    8. Mar 27 16:09:18 ds01 systemd[1]: apache2.service: control process exited, code=exited status=1
    9. Mar 27 16:09:18 ds01 systemd[1]: Failed to start LSB: Apache2 web server.
    10. Mar 27 16:09:18 ds01 systemd[1]: Unit apache2.service entered failed state.


    Can you help me please ?

  • @xavh90


    This is a bug that will be addressed in version 1.4.1. That fix version will be released today.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @xavh90


    Please; post us the content of your /etc/apache2/sites-enabled/xxx.be_ssl.conf file

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • Sure


  • Bug confirmed.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • @xavh90


    Please, try to upgrade using that snapshot which hold latest bugfixes: https://github.com/i-MSCP/imsc…330928407f93036479.tar.gz


    Don't forget to say us if that solved your problems.


    Thanks.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • It worked fine :) thanks


    But it is the Git branch, what that mean ? Could I go back to 1.4.1 when it will released ?

  • A fix has been added in our development branch.
    See https://github.com/i-MSCP/imsc…05be8ea330928407f93036479


    This fix will be part of next release.


    Thank for your report.
    Thread closed.

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206

  • It worked fine thanks


    But it is the Git branch, what that mean ? Could I go back to 1.4.1 when it will released ?

    Yes, it is a snapshot of latest git branch for the 1.4.x Serie which holds code for next release. And yes, you'll be able to upgrade to 1.4.1 without any problem ;)

    badge.php?id=1239063037&bid=2518&key=1747635596&format=png&z=547451206