Posts by lestatminiyo

    Hi,


    We have a recurrent error with Opendkim plugin. I think t was related to i-MSCP session.


    Hi,


    Recently I updated PHPSwitcher to 5.0.5 when I run

    Code
    1. perl /var/www/imscp/gui/plugins/PhpCompiler/php_compiler.pl --verbose --register 5.6 7.0 7.1 7.2 7.3 7.4

    I receive some errors like:

    Run php_compiler.pl one by one, I could reinstall 7.0, 7.1 & 7.2, but 7.3 & 7.4 shows on imscp UI:

    Code
    1. Couldn't get PHP version through the '/opt/phpswitcher/static/php7.3/bin/php-cgi' executable: /opt/phpswitcher/static/php7.3/bin/php-cgi: error while loading shared libraries: libpcre2-8.so.0: cannot open shared object file: No such file or directory


    On Debian stretch, I-MSCP

    i-MSCP 1.5.3

    Build: 20180516

    Codename: Ennio Morricone


    All this was runned after:

    Code
    1. apt-get update && apt-get dist-upgrade

    Hi,


    We have a moodle installation on a site. We are trying to access /usr/bin/gs an /usr/bin/unoconv to allow teachers to grade students.


    Obviously moodle cann't access /usr/bin by permissions. Can how I try to bypass that? Modify moodlesite.tld.conf?


    Regards

    Recently I discover that letsencrypt didnt renew on my server:


    Code
    1. Traceback (most recent call last):
    2. File "/usr/local/sbin/certbot", line 6, in <module>
    3. from certbot.main import main
    4. File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 5, in <module>
    5. import logging.handlers
    6. File "/usr/lib/python2.7/logging/__init__.py", line 26, in <module>
    7. import sys, os, time, cStringIO, traceback, warnings, weakref, collections
    8. File "/usr/lib/python2.7/weakref.py", line 14, in <module>
    9. from _weakref import (
    10. ImportError: cannot import name _remove_dead_weakref at /var/www/imscp/gui/plugins/LetsEncrypt/backend/LetsEncrypt.pm line 834.


    I tried to deactivate plugin and receive this error on reactivate:

    Code
    1. An unexpected error occurred:
    2. Plugin::LetsEncrypt::enable: Error: couldn't get currently installed version for /opt/eff.org/certbot/venv/bin/letsencrypt: Traceback (most recent call last): File "/opt/eff.org/certbot/venv/bin/letsencrypt", line 6, in from certbot.main import main File "/opt/eff.org/certbot/venv/local/lib/python2.7/site-packages/certbot/main.py", line 5, in import logging.handlers File "/usr/lib/python2.7/logging/__init__.py", line 26, in import sys, os, time, cStringIO, traceback, warnings, weakref, collections File "/usr/lib/python2.7/weakref.py", line 14, in from _weakref import (
    3. ImportError: cannot import name _remove_dead_weakref at /var/www/imscp/gui/plugins/LetsEncrypt/backend/LetsEncrypt.pm line 266


    My server:

    • Debian 10

    • i-MSCP 1.5.3 Build: 2018120800 Codename: Ennio Morricone

    • Lets Encrypt


    Hi,


    Recently I update to Debian 10.


    Phpswitcher on imspc panel shows:

    Couldn't get PHP version through the '/opt/phpswitcher/20180712/php7.0/bin/php-cgi' executable: /opt/phpswitcher/20180712/php7.0/bin/php-cgi: error while loading shared libraries: libonig.so.4: cannot open shared object file: No such file or directory


    When I run:

    [email protected]:~# dpkg -L libonig4

    dpkg-query: package 'libonig4' is not installed

    Use dpkg --contents (= dpkg-deb --contents) to list archive files contents.


    [email protected]:~# ls /usr/lib/x86_64-linux-gnu/libonig*

    /usr/lib/x86_64-linux-gnu/libonig.so /usr/lib/x86_64-linux-gnu/libonig.so.5.0.0

    /usr/lib/x86_64-linux-gnu/libonig.so.5


    But when i tried to run, I received:

    [email protected]:~# perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl

    [INFO] Scanning PHP site for the PHP 5.3 sources...

    [INFO] Found PHP 5.3 sources at http://php.net/distributions/php-5.3.29.tar.gz

    [INFO] The PHP 5.3.29 sources are already present in the /usr/local/src/phpswitcher directory. Skipping download.

    [INFO] Extracting the PHP 5.3.29 archive into /usr/local/src/phpswitcher/php-5.3.29 ...

    [INFO] Setup PHP build environment...

    I: Invoking pbuilder

    I: forking: pbuilder create --configfile /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/pbuilder/Debian/.pbuilderrc --hookdir /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/pbuilder/Debian/hook.d --buildplace /var/cache/pbuilder/psw-debian-stretch.cow --mirror http://deb.debian.org/debian --architecture amd64 --distribution stretch --no-targz --extrapackages 'apt-transport-https apt-utils ca-certificates devscripts eatmydata equivs gnupg2 quilt wget cowdancer'

    I: Running in no-targz mode

    I: Distribution is stretch.

    I: Current time: Sat May 30 23:53:30 CEST 2020

    I: pbuilder-time-stamp: 1590875610

    I: Building the build environment

    I: running debootstrap

    /usr/sbin/debootstrap

    E: /var/cache/pbuilder/psw-aptcache-debian-stretch: No such directory

    I: forking: rm -rf /var/cache/pbuilder/psw-debian-stretch.cow

    [ERROR] main: An error occurred while setup of PHP build environment: W: cgroups are not available on the host, not using them.

    E: debootstrap failed

    E: debootstrap.log not present

    W: Aborting with an error

    E: pbuilder create failed


    Could yo help me?

    /etc/apt/sources.list


    Sury diabled because:


    Code
    1. Err:2 https://packages.sury.org/php stretch InRelease
    2. The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743
    3. Hit:4 http://mirrors.edge.kernel.org/debian stretch-updates InRelease
    4. Hit:5 http://mirrors.edge.kernel.org/debian stretch-proposed-updates InRelease
    5. Hit:6 http://mirrors.edge.kernel.org/debian stretch Release
    6. Reading package lists... Done
    7. W: GPG error: https://packages.sury.org/php stretch InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY B188E2B695BD4743
    8. E: The repository 'https://packages.sury.org/php stretch InRelease' is not signed.
    9. N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    10. N: See apt-secure(8) manpage for repository creation and user configuration details.


    /etc/apt/sources.list.d


    Empty



    /etc/apt/preferences.d/imscp


    I just updated PHPSwitcher to the last version. 5.0.4

    I tried to install 2 new versions, but I got:



    I tried reinstalling any other version, and it is the same.

    I tried deleting the /var/cache/pbuilder/psw-debian-stretch/ directory.


    No LSB modules are available.

    Distributor ID: Debian

    Description: Debian GNU/Linux 9.11 (stretch)

    Release: 9.11

    Codename: stretch



    Debian updated

    iMSCP updated to the last version 1.5.3 20180516 FPM