Jump to content
Froxlor Forum
  • 0

[solved] Roundcube Installationsprobleme


pbpromotion

Question

Hey,

 

 

ich hab mal wieder ein Problem und zwar will ich Roundcube als Webmail Client installieren aber ich bekomme immer nen Fehler.

 

 

Also ich komme soweit dass ich bis zum Installer Seite 3 komme. Dann kommt folgender Fehler.

	Check if directories are writable
Roundcube may need to write/save files into these directories
temp/:  NOT OK(not writeable for the webserver)
logs/:  NOT OK(not writeable for the webserver)

Das hab ich bereits versucht

chown -R www-data:www-data /var/www/roundcube/logs
chown -R www-data:www-data /temp
 
chmod 0755 /var/www/roundcube/temp/
chmod 0755 /var/www/roundcube/logs/
 

Irgendwas stimmt da nicht :/ alles andere passt bisher soweit.

 

Wo ist mein Fehler?

Link to comment
Share on other sites

22 answers to this question

Recommended Posts

Installierst du roundcube in ein Kundenverzeichnis? nutzt du mod_php oder FCGID/php-fpm? Aufgrund des Pfades denk ich mir, dass du Roundcube au?erhalb von froxlor installieren willst. Falls du also nicht mod_php nutzt, musst du eine entsprechende vhost-config manuell erstellen und einbinden

Link to comment
Share on other sites

Installierst du roundcube in ein Kundenverzeichnis? nutzt du mod_php oder FCGID/php-fpm? Aufgrund des Pfades denk ich mir, dass du Roundcube au?erhalb von froxlor installieren willst. Falls du also nicht mod_php nutzt, musst du eine entsprechende vhost-config manuell erstellen und einbinden

Was ist denn einfacher :P oder sinnvoller?

 

Ich nutze nginx mit php-fpm

 

Dachte die einfachste Variante w?re es einfach in www zu installieren.

 

 

Das w?re mal so ne vhosts Datei aber ich hab kein plan was ich da eintragen muss :D

 

 

 

server {
       listen 80;
       server_name www.example.com example.com;
       root /var/www/roundcube;

       if ($http_host != "www.example.com") {
                 rewrite ^ http://www.example.com$request_uri permanent;
       }

       index index.php index.html;

       location ~ ^/favicon.ico$ {
                root /var/www/www.example.com/web/skins/default/images;
                log_not_found off;
                access_log off;
                expires max;
       }

       location = /robots.txt {
                allow all;
                log_not_found off;
                access_log off;
       }

       location ~ ^/(README|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ {
                deny all;
       }
       location ~ ^/(bin|SQL)/ {
                deny all;
       }

       # Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac).
       location ~ /\. {
                deny all;
                access_log off;
                log_not_found off;
       }

       location ~ \.php$ {
                try_files $uri =404;
                include /etc/nginx/fastcgi_params;
                fastcgi_pass 127.0.0.1:9000;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_index index.php;
       }
}

 

Was muss ich bei Server name eintragen?

 

 

mfg

Link to comment
Share on other sites

Darf ich dir einen Tipp geben? Lass deinen Server bitte von einem richtigen admin verwalten...

Und wie lern ich dann was dabei?

 

Ich mache das ja auch um was zu lernen....

 

Und das Forum sollte ja daf?r da sein, dass man fragen und probleme stellen kann.

 

 

mfg

Link to comment
Share on other sites

Also ein gewisses ma? an Kenntniss setze ich schon voraus. Sonst Google bitte erstmal wie nginx und fpm aufgebaut sind und funktionieren. Du stellst hier wirklich sehr viele fragen und viele davon haben mit Froxlor gar nichts zu tun. Das sind Grundlagen....

Link to comment
Share on other sites

Also ein gewisses ma? an Kenntniss setze ich schon voraus. Sonst Google bitte erstmal wie nginx und fpm aufgebaut sind und funktionieren. Du stellst hier wirklich sehr viele fragen und viele davon haben mit Froxlor gar nichts zu tun. Das sind Grundlagen....

Das ist die erste Frage die nicht direkt was mit froxlor zu tun hat.

 

 

Bei allen anderen Problemen war froxlor immer ausl?ser oder zumindest direkt betroffen. Deshalb frage ich auch...

 

Das einzigste problem was bisher gel?st werden konnte, war ja auch das mit php-fpm, das mit dem ftp hab ich gel?st indem ich alles von vorne installiert habe und das postfix/dovecot besteht immer noch.

 

 

Ihc versuche mir ja auch mit google weiterzuhelfen, aber wenn ich nichts mehr finde oder nicht mehr weiter weiss dann frage ich hier nach.

 

 

mfg

Link to comment
Share on other sites

So ich hab jetzt mal ne vhost datei angelegt.

 

 

server {
       listen 80;
       server_name webmail.pricelook24.de pricelook24.de;
       root /var/www/roundcube/;

       if ($http_host != "webmail.pricelook24.de") {
                 rewrite ^ http://webmail.pricelook24.de$request_uri permanent;
       }

       index index.php index.html;

       location ~ ^/favicon.ico$ {
                root /var/www/roundcube/web/skins/default/images;
                log_not_found off;
                access_log off;
                expires max;
       }

       location = /robots.txt {
                allow all;
                log_not_found off;
                access_log off;
       }

       location ~ ^/(README|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ {
                deny all;
       }
       location ~ ^/(bin|SQL)/ {
                deny all;
       }

       # Deny all attempts to access hidden files such as .htaccess, .htpasswd, .DS_Store (Mac).
       location ~ /\. {
                deny all;
                access_log off;
                log_not_found off;
       }

       location ~ \.php$ {
                try_files $uri =404;
                include /etc/nginx/fastcgi_params;
                fastcgi_pass 127.0.0.1:9000;
                fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
                fastcgi_index index.php;
       }
}

 

Sieht jetzt so aus, wenn ich aber webmail.pricelook24.de aufrufen m?chte bekomm ich immer nen fehler und es geht nicht

 

hier mal nen auszug aus der nginx error.log

 

 


 

Das heisst soviel wie die vhost datei hat nicht geklappt ;)

 

 

Ich verzweifel noch an dieser kack datei :D

 

 

mfg

Link to comment
Share on other sites

F?ge dich doch einfach selbst als Kunden hinzu (du willst doch sicher deine domain "pricelook24.de" auch als website und e-mail adressen verwenden) und installiere dort im Customer-docroot das webmail. Das erspart dir die ganze manuelle konfiguration. Mach es dir doch nicht so schwer...

Link to comment
Share on other sites

F?ge dich doch einfach selbst als Kunden hinzu (du willst doch sicher deine domain "pricelook24.de" auch als website und e-mail adressen verwenden) und installiere dort im Customer-docroot das webmail. Das erspart dir die ganze manuelle konfiguration. Mach es dir doch nicht so schwer...

So ich hab jetzt mal das roundcube verzeichnis zu meinem kunden unter webs geschoben, hab eine Subdomain angelegt aber irgendwie will die Subdomain nicht so ganz funktionieren.

 

Ich bekomm immer problem loading page.

 

hier mal meine webmail.pbpromotion.de.conf

 

 

# 21_froxlor_normal_vhost_webmail.pricelook24.de.conf
# Created 22.01.2014 11:00
# Do NOT manually edit this file, all changes will be deleted after the next domain change at the panel.

server {
    listen 78.46.99.42:80;
    server_name webmail.pricelook24.de;
    access_log /var/customers/logs/pbpromotion-access.log combined;
    error_log /var/customers/logs/pbpromotion-error.log error;
    root /var/customers/webs/pbpromotion/webmail/;
    location / {
        index index.php index.html index.htm;
        try_files $uri $uri/ @rewrites;
    }
    location @rewrites {
        rewrite ^ /index.php last;
    }
    location /awstats {
        alias /var/customers/webs/pbpromotion/awstats/webmail.pricelook24.de/;
        auth_basic "Restricted Area";
        auth_basic_user_file /etc/nginx/froxlor-htpasswd/1-ff56afdac338be36d68f08b36a64aef0.htpasswd;
    }
    location ~ ^/awstats-icon/(.*)$ {
        alias /usr/share/awstats/icon/$1;
    }
    location ~ \.php$ {
        try_files $uri =404;
        fastcgi_split_path_info ^(.+\.php)(/.+)$;
        fastcgi_pass unix:/var/run/nginx/pbpromotion-webmail.pricelook24.de-php-fpm.socket;
        fastcgi_index index.php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
        include /etc/nginx/fastcgi_params;
    }
}

 

Das kann doch nicht sein, dass er die Domain nicht aufrufen kann. Oder hab ich in den Einstellungen unter Froxlor nen Fehler?

 

 

 

mfg

Link to comment
Share on other sites

Was genau geht denn nicht bei dem Aufruf? Ein PHP Fehler oder leitet dir domain nicht dahin wo sie soll, etc.etc.

HIer die Fehlermeldung beim Aufruf.

Server not found
      
      
      
      
      
        
        
          Firefox can't find the server at webmail.pricelook24.de.
        

        
        

  Check the address for typing errors such as
    ww.example.com instead of
    www.example.com
  If you are unable to load any pages, check your computer's network
    connection.
  If your computer or network is protected by a firewall or proxy, make sure
    that Firefox is permitted to access the Web.

Ich finde keine errors in den logs.

 

 

siehe auch http://webmail.pricelook24.de/installer/

 

Ahso bevor jemand auf die Idee kommt, der Cronjob sei nicht gelaufen, doch dieser ist gelaufen und die Domain steht auch im Adminpanel.

Link to comment
Share on other sites

Pr?fe bitte die Nameserver/DNS Einstellungen deiner domain. Die subdomain l?sst sich nicht pingen, es gibt also ggfls. keinen Wildcard Eintrag auf die IP

Hab jetzt Wildcard auf Wildcard ge?ndert, aber immer noch keine ?nderung.

 

 

IP Adresse ist auch auf die Subdomain definiert, bzw. die Subdomain auf die IP.

 

 

Domain pricelook24.de funktioniert ja auch einwandfrei.

 

 

mfg

Link to comment
Share on other sites

Wie muss ich denn genau vorgehen?

 

Ich hab unter Froxlor Nameserver wie folgt

 

(s. Bild)

 

http://www.directupload.net/file/d/3510/yb9j5h64_jpg.htm

 

 

Und Domain Einstellungen wie folgt

 

(auch Bilder)

 

http://www.directupload.net/file/d/3510/4zhrxwv4_jpg.htm

http://www.directupload.net/file/d/3510/nmckg63c_jpg.htm

 

 

Und hier mal noch meine Zone Files unter /etc/bind/domains/

 

pricelook24.de.zone

$TTL 604800
@ IN SOA ns1.first-ns.de. admin.pricelook24.de. (
    2014012207 ; serial
    8H ; refresh
    2H ; retry
    1W ; expiry
    11h) ; minimum
@    IN    NS    ns1.first-ns.de.
@    IN    NS    robotns2-second-ns.de.
@    IN    NS    robotns3-second-ns.com.
@    IN    MX    10 mail
webmail    IN    NS    ns1.first-ns.de.
webmail    IN    NS    robotns2-second-ns.de.
webmail    IN    NS    robotns3-second-ns.com.
mail    IN    A        78.46.99.42
@    IN    A        78.46.99.42
www    IN    A        78.46.99.42
*    IN    A        78.46.99.42
 

webmail.pricelook24.de.zone

 

$TTL 604800
@ IN SOA ns1.first-ns.de. admin.pricelook24.de. (
    2014012200 ; serial
    8H ; refresh
    2H ; retry
    1W ; expiry
    11h) ; minimum
@    IN    NS    ns1.first-ns.de.
@    IN    NS    robotns2-second-ns.de.
@    IN    NS    robotns3-second-ns.com.
@    IN    MX    10 mail
mail    IN    A        78.46.99.42
imap    IN    A        78.46.99.42
smtp    IN    A        78.46.99.42
pop3    IN    A        78.46.99.42
@    IN    A        78.46.99.42
www    IN    A        78.46.99.42
 
Link to comment
Share on other sites

Die DNS Einstellungen bei dem Anbieter wo du deine Domain registriert/bestellt hast, damit hat froxlor doch gar nichts zu tun.

Ich muss diese selber verwalten bei hetzner....

 

 

Aber ich muss doch nicht extra f?r ne subdomain st?ndig in den domain robot bei hetzner... das musste ich bei meinem alten anbieter auch nicht, einfach per confixx subdomain anlegen und gut war

 

 

mfg

Link to comment
Share on other sites

...du musst aber hetzner sagen, dass nich nur "pricelook24.de" auf den server zeigt, sondern auch *.pricelook24.de - wenn dir nicht klar ist wieso, konsultiere bitte google, hetzner oder am besten literatur ?ber DNS und wie das ganze funktioniert. Webserver haben damit REIN GAR NICHTS zu tun. Du kannst Subdomains anlegen so viele  du willst - es hilft nur nicht, wenn der Hostname nicht auf die IP aufl?st.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.



×
×
  • Create New...