Posts by kess

    Just for you to check further:
    apache log during request:

    Code
    1. 66.133.109.36 - - [17/May/2017:11:24:51 +0200] "GET /.well-known/acme-challenge/Rmfg8eE-nMh9eGcKA2HXNBssLUnDKaFeVfNrBICBUco HTTP/1.1" 403 - "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"66.133.109.36 - - [17/May/2017:11:24:51 +0200] "GET /.well-known/acme-challenge/WLbSRgaX5QDyecJ7C47NO5kf-d1OvhcpTV36j5JmJR4 HTTP/1.1" 403 - "-" "Mozilla/5.0 (compatible; Let's Encrypt validation server; +https://www.letsencrypt.org)"

    files in the directory during request:

    Code
    1. root@w01 /var/www/imscp/gui/plugins/LetsEncrypt/acme/.well-known/acme-challenge # ls -la
    2. total 16K
    3. drwxr-xr-x 2 vu2000 vu2000 4.0K May 17 11:24 .
    4. drwxr-xr-x 3 vu2000 vu2000 4.0K May 16 21:37 ..
    5. -rw-r--r-- 1 vu2000 vu2000 0 May 16 21:40 .gitkeep
    6. -rw-r--r-- 1 root root 87 May 17 11:24 Rmfg8eE-nMh9eGcKA2HXNBssLUnDKaFeVfNrBICBUco
    7. -rw-r--r-- 1 root root 87 May 17 11:24 WLbSRgaX5QDyecJ7C47NO5kf-d1OvhcpTV36j5JmJR4

    Can't understand why apache returns a 403 error on these files.

    Hello @Nuxwin,
    i confirm that the path is

    Code
    1. /var/www/imscp/gui/plugins/LetsEncrypt/acme/.well-known/acme-challenge


    and during the request:

    I've disabled the ServerDefaultPage Plugin and restarted apache, but no changes...


    Do you need any other informations in order to investigate ?

    Thank you for your reply.
    I already tested the access to the .well-known directory and it works without problems.


    At least, if I click here: http://www.erbolandia.biz/.wel…n/acme-challenge/.gitkeep it works correctly.
    During the certificate request procedure I can see the 2 files that are created it the directory, they rest there for something like 2 seconds and then these files disappear... I bet because of a cleanup at the end of the procedure.


    The problem should be elsewhere, but I can't understand...

    Hello guys, I searched the forums for similar problems but I couldn't find the right solution for my situation
    I've successfully generated certificates for a couple of domains with one of the previous versions, but the last one gives me some problems while trying to generate a new certificate for some other domain.


    This is what I get in the plugin's log:

    Code
    1. [Tue May 16 17:14:05 2017] [debug] Modules::Plugin::_call: Calling run() method on Plugin::LetsEncrypt[Tue May 16 17:14:05 2017] [debug] iMSCP::Service::__ANON__: Systemd init system has been detected[Tue May 16 17:14:05 2017] [debug] iMSCP::Execute::execute: /bin/systemctl --system is-active apache2.service[Tue May 16 17:14:05 2017] [debug] iMSCP::Provider::Service::Sysvinit::_exec: active[Tue May 16 17:14:05 2017] [debug] Plugin::LetsEncrypt::run: Executing `toadd' tasks for the `erbolandia.biz' SSL certificate[Tue May 16 17:14:05 2017] [debug] Plugin::LetsEncrypt::_issueCertificate: Required action: issue[Tue May 16 17:14:05 2017] [debug] Plugin::LetsEncrypt::_deleteLineages: Deleting any SSL certificate lineage matching the erbolandia.biz domain name[Tue May 16 17:14:05 2017] [debug] iMSCP::Execute::execute: /usr/local/sbin/certbot-auto certonly --quiet --agree-tos --email [email protected] --webroot --webroot-path /var/www/imscp/gui/plugins/LetsEncrypt/acme --preferred-challenges http --allow-subset-of-names --cert-name erbolandia.biz --domains erbolandia.biz,www.erbolandia.biz[Tue May 16 17:14:11 2017] [debug] iMSCP::Execute::getExitCode: Command exited with value: 1[Tue May 16 17:14:11 2017] [error] Plugin::LetsEncrypt::run: Challenge failed for domain erbolandia.bizChallenge failed for domain www.erbolandia.bizChallenges failed for all domains


    and this is the letsencrypt.log


    i-MSCP : 1.3.16
    System : Debian Jessie x64
    System : php-fpm, apache2, proftpd, SSL for services and panel
    Plugins : ClamAV, LetsEncrypt, Mailgraph, Monitorix, OpenDKIM, PhpSwitcher, Postscreen, RoundcubePlugins, ServerDefaultPage, SpamAssassin
    Plugins Versions : all are the latest versions


    Could you please help me in finding out if I'm doing something wrong ?


    Thank you very much, bye Kess.

    Hello guys,
    i have the following error while upgrading RoundCube Plugins on my box:

    Code
    1. An unexpected error occurred: Plugin::RoundcubePlugins::_installComposerPackages: ./composer.json has been updatedLoading composer repositories with package informationInitializing PEAR repository https://pear.php.netPEAR repository from https://pear.php.net could not be loaded. Undefined index: channelReading composer.json of roundcube/net_sieve (RELEASE_1_1_6) Reading composer.json of roundcube/net_sieve (RELEASE_1_1_5)Reading composer.json of roundcube/net_sieve (RELEASE_1_1_3)Reading composer.json of roundcube/net_sieve (RELEASE_1_1_2)Reading composer.json of roundcube/net_sieve (RELEASE_1_0_4)Reading composer.json of roundcube/net_sieve (RELEASE_0_8_1)Reading composer.json of roundcube/net_sieve (RELEASE_0_8) Reading composer.json of roundcube/net_sieve (Net_Sieve-1.5.0)Reading composer.json of roundcube/net_sieve (Net_Sieve-1.3.3)Reading composer.json of roundcube/net_sieve (Net_Sieve-1.3.2)Reading composer.json of roundcube/net_sieve (Net_Sieve-1.3.1)Reading composer.json of roundcube/net_sieve (Net_Sieve-1.3.0)Reading composer.json of roundcube/net_sieve (Net_Sieve-1.2.1)Reading composer.json of roundcube/net_sieve (Net_Sieve-1.2.0)Reading composer.json of roundcube/net_sieve (1.5.4) Reading composer.json of roundcube/net_sieve (1.5.3)Reading composer.json of roundcube/net_sieve (1.5.2)Reading composer.json of roundcube/net_sieve (1.5.1)Reading composer.json of roundcube/net_sieve (1.5.0) Reading composer.json of roundcube/net_sieve (master) Reading composer.json of kolab/net_ldap3 (pear-Net-LDAP3-1.0.0)Reading composer.json of kolab/net_ldap3 (pear-Net-LDAP3-1.0.1)Reading composer.json of kolab/net_ldap3 (pear-Net-LDAP3-1.0.2)Reading composer.json of kolab/net_ldap3 (pear-Net-LDAP3-1.0.3)Reading composer.json of kolab/net_ldap3 (pear-Net-LDAP3-1.0.4)Reading composer.json of kolab/net_ldap3 (pear-Net-LDAP3-1.0.5) Reading composer.json of kolab/net_ldap3 (master) Updating dependenciesYour requirements could not be resolved to an installable set of packages. Problem 1 - The requested package pear-pear.php.net/net_ldap2 could not be found in any version, there may be a typo in the package name.Potential causes: - A typo in the package name - The package is not available in a stable-enough version according to your minimum-stability setting see for more details.Read for further common problems.Installation failed, reverting ./composer.json to its original content.


    As stated here

    the version 2.0.1 should have fixed what i can read in the informations. Could you please help a bit in order to fix ?


    There's the log /var/log/imscp/Modules:Plugin_RoundcubePlugins.log:

    If you need any other informations in order to investigate, please let me know.


    Thank you very much,
    Kess


    System:
    Debian Jessie x64, all the latest updates
    i-MSCP 1.3.16
    Plugins: ClamAV, LetsEncrypt, Mailgraph, Monitorix, OpenDKIM, PhpSwitcher, Postscreen, RoundcubePlugins, ServerDefaultPage, SpamAssassin
    Installed with: php-fpm, apache2, Proftpd, SSL for panel and services

    Edit the file : /etc/spamassassin/00_imscp.cf


    There you'll find the password used by the user sa_user to connect to your MySQL.


    Set the MySQL password for sa_user in this file in order to reflect the password setup for the sa_user in your MySQL

    To resume:
    1. Your server should be able to connect everywhere with every protocol
    2. Traffic on the loopback interface should be allowed with every protocol


    3. Traffic to your server:
    Panel:
    - Panel HTTP Port TCP
    - Panel HTTPS Port TCP


    Mail:
    - Port 25 TCP (SMTP)
    - Port 110 TCP (POP3)
    - Port 143 TCP (IMAP)
    - Port 465 TCP (SMTPs)
    - Port 587 TCP (SMTP-Submission)
    - Port 993 TCP (IMAPs)
    - Port 995 TCP (POP3s)


    FTP:
    - Port 20 TCP
    - Port 21 TCP
    - Passive Port range you can find in FTP Server config file (ProFTPD or VSFTPD)


    DNS:
    - Port 53 (TCP and UDP)


    Web:
    - Port 80 TCP (HTTP)
    - Port 443 TCP (HTTPS)


    If you need to connect to MySQL externally:
    - Port 3306 TCP


    Than you should also open your ssh port in order to manage your box, or whatever other port/protocol used to perform this kind of tasts. Generally Port 22 TCP.
    I think it's all you need. Perhaps I missed something, but it should be OK.

    @Nuxwin Yes i know, you are right.
    In fact generally you change TTL at least 2 weeks before the beginning of the server move, to the lowest accepted value.


    But as I can understand @Dylan is a little bit late now, and he is going to have problems for sure.
    What I implemented, simply resolves the queries done against the old DNS, with the new IP addresses. This has nothing to do with "propagation speed up". It's just a really dirty workaround in order resolve some parts of the problem.


    The rest, is cached somewhere in multiple parts of the internet, where you have no control... So... Just wait...