Posts by BudSpencer

    Hello;


    Roundcube need access to the /etc/mime.types file :huh: If yes, it's a bug and a ticket should be opened. ;) The problem occurs only when some doc type are attached? Someone can try to translate that thread for me (a little summary should be sufficient).


    Thank you for using i-MSCP.


    first, after i found the solution, is think this issent an i-mscp error, its a roundcube error.


    I just try with some different *.doc and *.pdf Files.
    Both filetypes are destroyed (See the Attached Screenshot).
    If the debug is disable, the files are normal and readable again. (very strange)


    Ich habe es nur mit verschiedenen *doc und *pdf Dateien getestet.
    wenn das debug ausgeschaltet ist, werden die Dateien normal angezeigt.


    Yes it look like roundcube need accesses to /etc/mime.types
    /var/www/imscp/gui/public/tools/webmail/program/lib/Roundcube/rcube_mime.php


    Die Warnungen zu verstecken ist ned grad eine elegante Lösung :D
    Verwendest eaccelerator?


    Nein, kein eaccelerator o. xcache.
    Standard wheezy apache mit php-fpm.
    Ohne modifikations bis jetzt.



    Die Warnungen sind mir egal, so lange mich die Kunden nicht ständig anrufen und behaupten Ihre Dateien seinen kaputt. Und wieso Roundcube die Datei kaputt schreibst verstehe ich nicht. Forward ich die Datei an Googlemail oder an meine adresse wo ich sie mit Apple Mail downloade, sind die Anhänge okay.



    und ein mime.type problem sollte ich nicht haben, da sich mime.type in /etc/ befindet.
    Sehr merkwürdig das ganze.

    Gelöst, lösung steht unten.
    Solved, solution down under


    i-MSCP 1.1.0-rc2.1
    --> PHP-FPM
    OS: Debian Wheezy
    CPU: Intel Xeon
    RAM: 64GB RAM
    HDD: RAID 1 TB


    Fehler:
    Wenn über Roundcube eine DOC/PDF Datei gedownloadet wird.
    Erscheint folgende Fehler auf den ersten Word Seiten:


    Code
    1. Warning: is_readable(): open_basedir restriction in effect. File(/etc/mime.types) is not within the allowed path(s): (/var/www/imscp/gui/:/etc/imscp/:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php:/usr/share/pear/) in /var/www/imscp/gui/public/tools/webmail/program/lib/Roundcube/rcube_mime.php on line 798Warning: is_readable(): open_basedir restriction in effect. File(/etc/httpd/mime.types) is not within the allowed path(s): (/var/www/imscp/gui/:/etc/imscp/:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php:/usr/share/pear/) in /var/www/imscp/gui/public/tools/webmail/program/lib/Roundcube/rcube_mime.php on line 798Warning: is_readable(): open_basedir restriction in effect. File(/etc/httpd2/mime.types) is not within the allowed path(s): (/var/www/imscp/gui/:/etc/imscp/:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php:/usr/share/pear/) in /var/www/imscp/gui/public/tools/webmail/program/lib/Roundcube/rcube_mime.php on line 798Warning: is_readable(): open_basedir restriction in effect. File(/etc/apache/mime.types) is not within the allowed path(s): (/var/www/imscp/gui/:/etc/imscp/:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php:/usr/share/pear/) in /var/www/imscp/gui/public/tools/webmail/program/lib/Roundcube/rcube_mime.php on line 798Warning: is_readable(): open_basedir restriction in effect. File(/etc/apache2/mime.types) is not within the allowed path(s): (/var/www/imscp/gui/:/etc/imscp/:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php:/usr/share/pear/) in /var/www/imscp/gui/public/tools/webmail/program/lib/Roundcube/rcube_mime.php on line 798Warning: is_readable(): open_basedir restriction in effect. File(/usr/local/etc/httpd/conf/mime.types) is not within the allowed path(s): (/var/www/imscp/gui/:/etc/imscp/:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php:/usr/share/pear/) in /var/www/imscp/gui/public/tools/webmail/program/lib/Roundcube/rcube_mime.php on line 798Warning: is_readable(): open_basedir restriction in effect. File(/usr/local/etc/apache/conf/mime.types) is not within the allowed path(s): (/var/www/imscp/gui/:/etc/imscp/:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php:/usr/share/pear/) in /var/www/imscp/gui/public/tools/webmail/program/lib/Roundcube/rcube_mime.php on line 798–œ ‡°± · > ˛ˇ 1 3 ˛ˇˇˇ 0 ˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇÏ•¡ Ä  ø W




    When i download a doc (Word) File from Roundcube. The Doc and PDF File is destroyed.
    On the first Word Page came this hint/error

    Code
    1. Warning: is_readable(): open_basedir restriction in effect. File(/etc/mime.types) is not within the allowed path(s): (/var/www/imscp/gui/:/etc/imscp/:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php:/usr/share/pear/) in /var/www/imscp/gui/public/tools/webmail/program/lib/Roundcube/rcube_mime.php on line 798
    2. Warning: is_readable(): open_basedir restriction in effect. File(/etc/httpd/mime.types) is not within the allowed path(s): (/var/www/imscp/gui/:/etc/imscp/:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php:/usr/share/pear/) in /var/www/imscp/gui/public/tools/webmail/program/lib/Roundcube/rcube_mime.php on line 798
    3. Warning: is_readable(): open_basedir restriction in effect. File(/etc/httpd2/mime.types) is not within the allowed path(s): (/var/www/imscp/gui/:/etc/imscp/:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php:/usr/share/pear/) in /var/www/imscp/gui/public/tools/webmail/program/lib/Roundcube/rcube_mime.php on line 798
    4. Warning: is_readable(): open_basedir restriction in effect. File(/etc/apache/mime.types) is not within the allowed path(s): (/var/www/imscp/gui/:/etc/imscp/:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php:/usr/share/pear/) in /var/www/imscp/gui/public/tools/webmail/program/lib/Roundcube/rcube_mime.php on line 798
    5. Warning: is_readable(): open_basedir restriction in effect. File(/etc/apache2/mime.types) is not within the allowed path(s): (/var/www/imscp/gui/:/etc/imscp/:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php:/usr/share/pear/) in /var/www/imscp/gui/public/tools/webmail/program/lib/Roundcube/rcube_mime.php on line 798
    6. Warning: is_readable(): open_basedir restriction in effect. File(/usr/local/etc/httpd/conf/mime.types) is not within the allowed path(s): (/var/www/imscp/gui/:/etc/imscp/:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php:/usr/share/pear/) in /var/www/imscp/gui/public/tools/webmail/program/lib/Roundcube/rcube_mime.php on line 798
    7. Warning: is_readable(): open_basedir restriction in effect. File(/usr/local/etc/apache/conf/mime.types) is not within the allowed path(s): (/var/www/imscp/gui/:/etc/imscp/:/proc/:/bin/df:/bin/mount:/var/log/rkhunter.log:/var/log/chkrootkit.log:/usr/share/php:/usr/share/pear/) in /var/www/imscp/gui/public/tools/webmail/program/lib/Roundcube/rcube_mime.php on line 798
    8. –œ ‡°± · > ˛ˇ 1 3 ˛ˇˇˇ 0 ˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇˇÏ•¡ Ä  ø W








    [hr][hr][hr]
    Durch das ändern des debug level auf 1, hat sich der Fehler erledigt. doc und pdf werden wieder wie gewohnt angezeigt
    Dhange the debug level to 1, solve the error. doc and pdf is now show correctly


    // system error reporting, sum of: 1 = log; 4 = show, 8 = trace
    $rcmail_config['debug_level'] = 1;


    Ist es möglich direkt von der Version 1.1.0-rc1.4 auf die Master zu upgraden? Ich hab immer wieder gelesen das man von der 1.0.3.0 auf Master upgradet oder ist dies falsch?


    Ich würde dir empfehlen, warte noch ein wenig ab, wenn du es bereits Produktive einsetzte und keine Bugs festgestellt hast, gibt es atm auch keinen Grund für ein update. Ich würde mir die Arbeit mit dem Upgrade nicht machen und einige Wochen warten.

    Nuxwin thank you very much for the offer, i fixed myself.



    Just an info:
    dont know if this is an wheezy upgrade or imscp installation failure.
    but the httpd.conf file issent created automatical.


    Code
    1. Starting web server: apache2apache2: Syntax error on line 207 of /etc/apache2/apache2.conf: Could not open configuration file /etc/apache2/httpd.conf: No such file or directory

    Nuxwin


    ls /var/lib/mysql/debian-*

    Code
    1. /var/lib/mysql/debian-5.1.flag /var/lib/mysql/debian-5.5.flag


    apt-cache policy mysql-server-5.*

    Code
    1. mysql-server-5.0: Installed: (none) Candidate: (none) Version table:mysql-server-5.1: Installed: (none) Candidate: (none) Version table: 5.1.66-0+squeeze1 0 100 /var/lib/dpkg/statusmysql-server-5.5: Installed: (none) Candidate: 5.5.31+dfsg-0+wheezy1 Version table: 5.5.31+dfsg-0+wheezy1 0 500 http://security.debian.org/ wheezy/updates/main amd64 Packages 100 /var/lib/dpkg/status 5.5.30+dfsg-1.1 0 500 http://ftp.hosteurope.de/mirror/ftp.debian.org/debian/ wheezy/main amd64 Packagess



    Code
    1. # rm /var/lib/mysql/debian-*
    2. # perl imscp-autoinstall --debug


    Gives me the same Error 100.


    0 upgraded, 66 newly installed, 1 downgraded, 2 to remove and 0 not upgraded.
    Need to get 14.6 MB/14.6 MB of archives.
    After this operation, 46.9 MB of additional disk space will be used.
    E: There are problems and -y was used without --force-yes
    iMSCP::Debug::END: Exit code is 100!

    of course, have you a clue?


    source.list


    cat /etc/debian_version
    7.0