Posts by UncleJ

    Hello,


    I have updated my i-MSCP recently from 1.3.16 to 1.4.0 and noticed in the logfiles a message regarding deprecated autcreate plugin usage (Ubuntu 16.04). As I digged into it I found out that the po-Server installer for Dovecot checks the version of dovecot installed and uses either the dovecot.conf.2.0 or docecot.conf.2.1 depending on the version of dovecot. I checked the setup.log and found the output Servers::po::dovecot::installer::_getVersion: 2.2.22 (fe789d2). It seems that the version parsing in this line (./engine/PerlLib/Servers/po/dovecot/installer.pm, Line 460) my $isDovecot21 = version->parse( $self->{'version'} ) >= version->parse( '2.1.0' ); does not work for my version output.
    I have a similar issue with one dovecot plugin checking the version -> see here). Has anyone an idea how to get this working?


    Best regards Jörg

    Hello,


    I tried to run the listener "60_dovecot_service_login.pl" but I always get an error during this line execute( "dovecot --version", \ my $stdout, \ my $stderr );. As I know I have a version higher than 2.1.0 I currently simply remove the line. Digging a bit into it, I fould out that the output of dovecot --version is 2.2.22 (fe789d2) on my machine which seems not to fit. Has anyone an idea how to permanently fix this?


    I am running Ubuntu 16.04 with i-MSCP 1.4.0.


    Best regards Jörg

    @Nuxwin thank you so much in advance. Really appetiate it


    Found a small typo error during digging. Currently it is:

    Code
    1. for ( [ $nginxTmpDir, $rootUName, $rootUName, 0755 ], [ $self->{'config'}->{'HTTPD_CONF_DIR'}, $rootUName, $rootGName, 0755 ], [ $self->{'config'}->{'HTTPD_LOG_DIR'}, $rootUName, $rootGName, 0755 ], .....


    but I guess it should be ($rootGName instead of second $rootUName):

    Code
    1. for (
    2. [ $nginxTmpDir, $rootUName, $rootGName, 0755 ],
    3. ....

    Also there seems a "," too much at the end of the for after [ $self->{'config'}->{'HTTPD_SITES_ENABLED_DIR'}, $rootUName, $rootGName, 0755 ],.

    Yes it is a virtual container.


    Here is the content of the var.conf

    Hello Nuxwin,


    this is the output from the server:


    Code
    1. root@panel2:/usr/local/src/imscp-1.4.0# systemd-tmpfiles --create[/usr/lib/tmpfiles.d/var.conf:14] Duplicate line for path "/var/log", ignoring.Adjusting owner and mode for /dev/ploop11881p1 failed: Operation not permittedAdjusting owner and mode for /dev/ploop43699p1 failed: Operation not permittedAdjusting owner and mode for /dev/simfs failed: Operation not permitted
    Code
    1. root@panel2:/usr/local/src/imscp-1.4.0# echo $?
    2. 130

    Hope this helps.


    Regards Jörg

    Hello,


    I am using Ubuntu 16.04 and tried to update i-MSCP from 1.3.16 to 1.4.0 (server implementation:_fcgid; all plugins disabled in advance) . During the update I receive an error during creation of service directory (code section of commit bb2392f).
    I did the normal steps for update - auto mode.
    The log files are attached. The directory "/run/imscp" is created with www-data:www-data. The root user and group according to config is root:root.
    If you need further information please let me know.


    Regards Jörg

    Files

    • logs.zip

      (9.81 kB, downloaded 2 times, last: )
    • error.JPG

      (49.81 kB, downloaded 33 times, last: )