Posts by TheCry

    Hi Laurent,
    before you kill me.. :)
    The Panel is on version 1.2.17 and the InstandSSH 3.3.1 (The customer don't want to update at the moment)


    If the User runs this command on the SSH Shell

    Code
    1. /opt/phpswitcher/php7.0/bin/php -r "echo file_get_contents('https://hermesapi.hlg.de/hermes-api-props-web/services/v15/ProPS?wsdl');"

    He got this error

    Code
    1. PHP Warning: file_get_contents(): SSL operation failed with code 1. OpenSSL Error messages:
    2. error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed in Command line code on line 1
    3. PHP Warning: file_get_contents(): Failed to enable crypto in Command line code on line 1
    4. PHP Warning: file_get_contents(https://hermesapi.hlg.de/hermes-api-props-web/services/v15/ProPS?wsdl): failed to open stream: operation failed in Command line code on line 1


    If i run the command as root everything works fine.
    Do i need to activate something in the InstandSSH or is this a bug in the version which is installed?


    Regards
    Sascha

    Im Verzeichnis

    Code
    1. /var/www/imscp/gui/plugins/

    findet Du jeweils ein Unterverzeichnis zu dem Plugin


    In diesen Verzeichnissen liegt eine

    Code
    1. config.php


    Dort die Änderungen durchführen und speichern.
    Jetzt im Panel unter

    Code
    1. Einstellungen => Plugin Verwaltung

    den Button "Plugins aktualisieren" drücken.


    Fertig.

    @adrian.rico


    You had extracted the imscp package on your server?


    You only need to replace the content of the file "gui/library/iMSCP/Update/UpdateDatabase.php" with this content https://github.com/i-MSCP/imsc…Update/UpdateDatabase.php
    After this run the setup


    EDIT BY NUXWIN: See below for the reason.


    Yes the same credentials will be used. Only some databse credentials which have special chars in the password must be changed.


    If you don't know how it works, it is possible to pay some money for exclussiv support and @Nuxwin will do the update for you ;)

    Ohhhh.. bad issue...But i'd the same error on one server, so i think i can help.
    Login on the ssh console...


    Now you have to login to mysql as root

    Code
    1. mysql -uroot -p

    After this switch to imscp database

    Code
    1. use imscp;

    Now check the tables

    Code
    1. show tables;

    The database update 267 (https://github.com/i-MSCP/imsc…/UpdateDatabase.php#L1515) will something do with the table "php_ini". But something went wrong.
    With "show tables" you will see a table "old_php_ini"... Don't delete it!
    But drop the table "php_ini"

    Code
    1. drop table php_ini;

    Now you have to create the new php_ini table

    Code
    1. CREATE TABLE IF NOT EXISTS `php_ini` (`id` int(11) NOT NULL AUTO_INCREMENT, `admin_id` int(10) NOT NULL, `domain_id` int(10) NOT NULL, `domain_type` varchar(15) NOT NULL DEFAULT 'dmn', `disable_functions` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'show_source, system, shell_exec, passthru, exec, phpinfo, shell, symlink, popen, proc_open', `allow_url_fopen` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'off', `display_errors` varchar(10) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'off', `error_reporting` varchar(255) COLLATE utf8_unicode_ci NOT NULL DEFAULT 'E_ALL & ~E_DEPRECATED & ~E_STRICT', `post_max_size` int(11) NOT NULL DEFAULT '10', `upload_max_filesize` int(11) NOT NULL DEFAULT '10', `max_execution_time` int(11) NOT NULL DEFAULT '30', `max_input_time` int(11) NOT NULL DEFAULT '60', `memory_limit` int(11) NOT NULL DEFAULT '128', PRIMARY KEY (`id`), UNIQUE `unique_php_ini` (`admin_id`,`domain_id`,`domain_type`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;


    Now run the setup again

    Code
    1. perl imscp-autoinstall -d