Posts by viper_iii

    Got it going but not well...


    phpswitcher - deactivated - reactivated... seemed to help -

    was getting 503 errors some still present but unable to get php switcher to show per_site mode even though the panel is setup in per_site... think its a db issue now...


    ?!? maybe not... maybe just me!..;p

    Noticed recently don't have per_site php control any more..

    not sure when I messed this up.


    have several domain alias' as well as sub-domains - none of them show up in the switcher..

    only the Top Level Domain... all others end up using server default of 7.1 it appears...


    but I do have a few guesses and its been awhile..


    betting specifically when I updated the mysql to a higher version....

    MariaDB 10.3+ Update

    patched 1.5.3 version... guessing this is part of the issue...


    php currently adding via sury and have up to 8.1 showing in switcher working fine..


    however...

    wanted to verify per_site setting was correct...


    so ran..

    cd /var/www/imscp/engine/setup

    perl /var/www/imscp/engine/setup/imscp-reconfigure -dar php

    ---

    since all doku info sites are offline.. hoping that was right..

    site is setup as per_site..

    but get errors on front end update:


    Package::FrontEnd::_setupMasterAdmin: DBD::MariaDB::db do failed: Duplicate entry '10' for key 'user_id' at /var/www/imscp/engine/setup/../PerlLib/Package/FrontEnd.pm line 1641.


    ---------

    Sites Offline \ Panel offline -

    Rebooted - Panel back online again -

    PHP Switcher still no go for other domains

    Sites not happy... (php sites all have 500 errors)

    Whoops

    ---------

    Ideas?


    Where would that patched version be?


    yes Still needed...

    I can start the upgrade to Buster - that should be possible - have just held back due to other updates being a bit risky in the past... but I'm game.

    excellent point..

    -----------

    reviewing this:

    LetsEncrypt plugin - Cannot revoke SSL certificate - Command died at line 896, propagated at line 899...

    ------------


    So....

    if that is an option I'd love to do that!


    LE-Error.JPG

    the only choice is force retry...


    so domain overview > Manage SSL Cert > goes directly back to letsencrypt


    LE-Error-02.JPG


    I expect I'll need to somehow remove something via ssh to reset back to no ssl and start over...

    Php Switcher - working fine


    Except
    What would the process be for php8 and registering that correctly - it is supported?


    perl /var/www/imscp/gui/plugins/PhpSwitcher/PhpCompiler/php_compiler.pl --register --packaged

    this is the command used in the past to register installed versions - would that still work and just add the path?


    Using of course the sury method and just registering the installed PHP version that is maintained via apt vs manually building updates.


    -----
    Next Lets Encrypt

    installed the update but have a few that are in an error state


    An unexpected error occurred:

    The client lacks sufficient authorization :: Certificate is expired

    Please see the logfiles in /var/log/letsencrypt for more details. at /var/www/imscp/gui/plugins/LetsEncrypt/backend/LetsEncrypt.pm line 896.

    ...propagated at /var/www/imscp/gui/plugins/LetsEncrypt/backend/LetsEncrypt.pm line 899.


    --------------

    Admittedly I did not research the error more closely - not a major issue just yet - and expect its because I didn't update to the latest LE plugin in time for V2 to take effect.

    ---------


    Deb 9CP

    i-MSCP 1.5.3

    Build: 2018120800