Posts by PrinceOfFail

    First: This is only a test to check how much the recovery can be automated to make it as fast as possible in case a server goes down. Backups are made regularly and stored offsite on a different server and are archived offline.
    Restoring sites manualy with the Backups is no problem but i want to restore them fast.



    What i want to do is restore a i-MSCP install after a server crash with the latest Backups (imscp & Domain Backups made by i-MSCP backup function)


    Whats working so far ist:
    - Setup i-MSCP
    - restore i-MSCP Settings and Database
    - Reconfigure with new Server informations
    - Setup Databases and Users (with random password thanks to the script provided by you and TheCry)


    Currently the restore is in progress and the Database imports just fine.

    Es geht um einen Disaster-Recovery-Test bei dem die Backups vorliegen die i-MSCP von der eigenen Config & DB sowie den Domains anfertigt.


    Das Problem ist das die Wiederherstellung im Account nicht funktioniert wenn die DB nicht existiert.
    Wäre schön gewesen wenn i-MSCP das im Setup prüfen und korrigieren könnte wie es das mit den Ordnern und Berechtigungen in /var/www/virtual macht.


    Vielen Dank auf jeden Fall für das Script dann werde ich das wohl so ins Recovery Script integrieren.


    [EDIT]
    Scheinbar speichert 1.4.7 die Datenbank Kennwörter nicht mehr in der Tabelle was die Wiederherstellung der Kennwörter, die ich nicht alle kenne, schwer machen dürfte.

    Hallo,


    Vorabinfo:
    OS: Ubuntu 16.04
    i-MSCP: 1.4.7


    ich teste gerade die Wiederherstellung aus den von i-MSCP angelegten Backups.
    Server Einstellungen, Benutzer, Domains und entsprechende Ordner werden auch wieder hergestellt jedoch legt das Setup die Datenbanken und Benutzer nicht wieder an.


    Weiß jemand ob man i-MSCP dazu bringen kann das noch zu tun? autoinstall -r all hat nichts gebracht.


    Falls nicht baue ich mir noch ein Script das diese Aufgabe übernimmt.


    Grüße
    Tobias

    Hallo,


    ich sitze gerade vor einem Problem und komme nicht weiter.
    Vorab:
    Auf dem Server (Ubuntu 14.04.5 LTS) läuft i-MSCP 1.3.16 mit php 7.1 durch das PHP Switcher Plugin also FastCGI.


    Ich möchte über ein Script die komplette Anfrage mit curl weiterleiten und wollte dafür php://input einfach in die Postfields durchschleifen.
    Lokal klappt das auch ohne Probleme durch die Direktive in der htaccess, auf dem Server geht das aber wegen FastCGI nicht. Dort habe ich über eine .user.ini enable_post_data_reading abgeschaltet.


    Das Problem:
    Im script reported phpinfo()

    enable_post_data_reading Off



    Aber trotzdem gibt mir:


    Code
    1. echo "<br/>input<br/>";$rawBody = file_get_contents("php://input",false,null,0);var_dump($rawBody);echo "<br/>post<br/>";var_dump($_POST);phpinfo();die();

    Folgendes Ergebnis:


    Code
    1. input
    2. string(0) ""
    3. post
    4. array(1) { ["fieldName"]=> string(10) "fieldValue" }

    Sprich, der Stream ist geleert und in die $_POST Variable geparsed was eigentlich nicht sein sollte.


    Ich bin über jede Idee und jeden Vorschlag wie ich das Problem lösen kann dankbar.


    Grüße Tobias

    Hi,
    i got this error while upgrading the Plugin from 1.3.0 to 2.0.1.

    Code
    1. Plugin::LetsEncrypt::_checkRequirements: The `libarray-diff-perl' package is not installed on your systemPlugin::LetsEncrypt::_checkRequirements: The `libconvert-asn1-perl' package is not installed on your systemPlugin::LetsEncrypt::_checkRequirements: The `libdatetime-format-strptime-perl' package is not installed on your system

    Installing it solved the problem.

    Code
    1. apt-get install libarray-diff-perl libconvert-asn1-perl libdatetime-format-strptime-perl

    OS: Debian 7.11 wheezy


    The update from 1.3.1 to 1.3.6 was performed with the following commands.


    Shell-Script
    1. apt update && apt dist-upgradecd /usr/local/srcwget https://github.com/i-MSCP/imscp/archive/1.3.6.tar.gztar -xzf 1.3.6.tar.gzcd imscp-1.3.6perl imscp-autoinstall -d

    dist-upgrade shows that everything is up to date.


    In step "Restarting/Starting ProFTPD service..." the following error message is shown:

    Code
    1. [ERROR] Servers::ftpd::proftpd::start: Could not start the `proftpd' service: iMSCP::Provider::Service::Sysvinit::_exec: root808 proftpd[12168]: mod_tls/2.4.3: compiled using OpenSSL version 'OpenSSL 1.0.1e 11 Feb 2013' headers, but linked to OpenSSL version 'OpenSSL 1.0.1t 3 May 2016' library
    2. root808 proftpd[12168]: mod_sftp/0.9.8: compiled using OpenSSL version 'OpenSSL 1.0.1e 11 Feb 2013' headers, but linked to OpenSSL version 'OpenSSL 1.0.1t 3 May 2016' library
    3. root808 proftpd[12168]: Fatal: TLSProtocol: directive not allowed in <Global> context on line 121 of '/etc/proftpd/proftpd.conf' at /usr/local/src/imscp-1.3.6/engine/PerlLib/iMSCP/Service.pm line 185.


    I'm not sure what log-files are relevant but i can provide them if needed.