Posts by viper_iii

    Code
    1. No LSB modules are available.
    2. Distributor ID: Debian
    3. Description: Debian GNU/Linux 9.11 (stretch)
    4. Release: 9.11
    5. Codename: stretch

    humm....

    apparently I'm on V9 and didn't even notice...

    I'm wondering if there is some serious issues in there now!!!!


    don't remember that upgrade ever working - my documentation (poor as it is) shows I reverted to a snapshot to get back online...

    ...



    Code
    1. mysql --version
    2. mysql Ver 14.14 Distrib 5.7.27, for Linux (x86_64) using EditLine wrapper
    Code
    1. Version = 1.5.3
    2. Build = 2018120800

    5.0.1 installed fine


    had errors as shown about pbuilder

    played a bit with the other items and still no resolution


    went to update to 5.0.2 and got the upgrade error


    doing as you mentioned now....


    apt purge pbuilder

    apt autoremove

    rm -f /pbuilder (was in /var/cache/)


    re-attempt update plugins no change still maintains error on phpswitcher


    Code
    1. Plugin update has failed: SQLSTATE[42000]: Syntax error or access violation: 1061 Duplicate key name 'version_version'



    package-5.0.2.JPG

    Debian 8

    Current I-mscp 1.5.3

    mysql Ver 14.14 Distrib 5.7.27



    5.0.2 Upgrade of php-switcher Error on upgrade


    Code
    1. Plugin update has failed: SQLSTATE[42000]: Syntax error or access violation: 1061 Duplicate key name 'version_version'



    ----
    5.0.1 Errors on compile


    Code
    1. I: forking: rm -rf /var/cache/pbuilder/build/cow.5749
    2. [ERROR] main: An error occurred while setup of PHP build environment: cp: cannot create regular file '/var/cache/pbuiow.5749/etc/hosts': No such file or directory
    3. E: pbuilder update failed


    found some errors online with other pbuilder, related to cowbuilder --create needing to be executed

    on execution found this error:


    Code
    1. I: Validating zlib1g 1:1.2.11.dfsg-1+b1
    2. I: Chosen extractor for .deb packages: dpkg-deb
    3. I: Extracting libacl1...
    4. E: debootstrap failed
    5. W: Aborting with an error
    6. E: pbuilder create failed


    (probably something specific to this system


    tested 5.0.1 on a Deb 9 System (that was updated from Deb8 a few months ago) - and everything worked smoothly

    compile and updates all, no issue - think the Deb 8 above, has other issues Unrelated to i-MSCP

    But wanted to update on errors just in case others have them as well.


    :thumbsup:

    what would a good error or log be for your to see?

    I'll attempt to add your key to my ssh and pm you an IP for it


    is a slow box but works - should just abandon it and move the data - have just been lazy only a few things left on it.

    testing patch with 7.1 myself

    placed patch - updated series file

    running

    perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl 7.1


    think patch was good - my issue appears to be more related to ICU Headers now.

    also another sury related change

    thx Nux for documenting that one as well!


    Error Compiling PHP Versions for PHP Switcher

    fixes that (which pinning the libxml2 and libxml2-dev would have probably worked as well!

    but didn't have good cut and paste for that one!



    --- un-related
    kess / Nuxwin you have an idea why I might be getting issues with DB not being recognized when I run installer to change to different PHP base version?

    attempted PHP change to 7.1 after Deb 9 working and operational


    perl imscp-autoinstall --debug --reconfigure php


    asks which version - choose 7.1

    next asks for which SQL alternative - Choose 5.7 as that is what is running and operating on the system currently and not having any obvious issues.


    continues and processes - but then errors on DB setup.

    Error was:

    can't connect to MySQL on '127....' (111 connection refused)

    imscp-1.5.3-2018120800/engine/PerlLib/iMSCP/Database/mysql.pm line 101. propagated at ..../mysql.pm line 106


    not sure if that helps but figured I'd post just so it can be documented somewhere.


    restore to snap before running reconfigure... know I'm missing something related to the mysql install / setup somewhere.

    Upgrade from Deb 8 > 9 went smoothly after mysql was updated to 5.7 before upgrade.


    didn't re-run i-mscp - but plan to change default php version to 7.1 that way php 7.1 will be current.


    Know Devs are busy with next release and possible switcher updates, which are probably heavily tied to next release.

    resolved / upgraded mysql using mysql repo to get to 5.7 version.


    haven't re-attempted upgrade to deb 9 but will give that a shot tomorrow.


    cd /usr/local/src

    wget https://dev.mysql.com/get/mysql-apt-config_0.8.13-1_all.deb

    dpkg -i mysql-apt-config_0.8.13-1_all.deb

    Set to 5.6 > later 5.7 > 8.0

    apt-get update

    apt list --upgradable

    apt-get autoclean

    apt-get install mysql-server
    used install because upgrade / dist-upgrade both kept it back even after cleaning.

    5.6 > 5.7 errors on dist-upgrade

    apt-get install mysql-server - Fixed and running as expected

    rebooting to verify still running after a reboot...

    and still going - so currently a little better and should survive an upgrade.