Owncloud

    Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

      Owncloud
      Hey Leute,

      ich habe ein Problem bei der Owncloud installation auf dem Raspberry Pi. Nicht direkt die Installation aber das Ergebnis sieht nicht wirklich richtig aus.

      Es wird die nginx mit php5-fpm und sqlite verwendet.

      Ich Poste mal alle Logs und Config-Datein und ein Screenshot von der Owncloud.


      nginx.conf

      Spoiler anzeigen
      user www-data;
      worker_processes 1;
      pid /var/run/nginx.pid;

      events {
      worker_connections 128;
      # multi_accept on;
      }

      http {

      ##
      # Basic Settings
      ##

      sendfile on;
      tcp_nopush on;
      tcp_nodelay on;
      keepalive_timeout 65;
      types_hash_max_size 2048;
      # server_tokens off;

      # server_names_hash_bucket_size 64;
      # server_name_in_redirect off;

      include /etc/nginx/mime.types;
      default_type application/octet-stream;

      ##
      # Logging Settings
      ##

      access_log /var/log/nginx/access.log;
      error_log /var/log/nginx/error.log;

      # Gzip Settings
      ##

      gzip on;
      gzip_disable "msie6";

      # gzip_vary on;
      # gzip_proxied any;
      # gzip_comp_level 6;
      # gzip_buffers 16 8k;
      # gzip_http_version 1.1;
      # gzip_types text/plain text/css application/json application/x-javascript text/xml application/xml application/xml+rss text/javasc$

      ##
      # nginx-naxsi config
      ##
      # Uncomment it if you installed nginx-naxsi
      ##

      #include /etc/nginx/naxsi_core.rules;

      ##
      # nginx-passenger config
      ##
      # Uncomment it if you installed nginx-passenger
      ##

      #passenger_root /usr;
      #passenger_ruby /usr/bin/ruby;

      ##
      # Virtual Host Configs
      ##

      include /etc/nginx/conf.d/*.conf;
      #include /etc/nginx/naxsi_core.rules;

      ##
      # nginx-passenger config
      ##
      # Uncomment it if you installed nginx-passenger
      ##

      #passenger_root /usr;
      #passenger_ruby /usr/bin/ruby;

      ##
      # Virtual Host Configs
      ##

      include /etc/nginx/conf.d/*.conf;
      include /etc/nginx/sites-enabled/*;
      }


      nginx sites-avaible/default

      Spoiler anzeigen
      server {
      listen 80; ## listen for ipv4; this line is default and implied
      #listen [::]:80 default_server ipv6only=on; ## listen for ipv6

      root /var/www;
      index index.php index.html index.htm;

      # Make site accessible from localhost/
      server_name localhost;

      location / {
      # First attempt to serve request as file, then
      # as directory, then fall back to displaying a 404.
      try_files $uri $uri/ /index.html;
      # Uncomment to enable naxsi on this location
      # include /etc/nginx/naxsi.rules
      }

      location /doc/ {
      alias /usr/share/doc/;
      autoindex on;
      allow 127.0.0.1;
      allow ::1;
      deny all;
      }

      # Only for nginx-naxsi used with nginx-naxsi-ui : process denied requests
      #location /RequestDenied {
      # proxy_pass 127.0.0.1:8080;
      #}

      #error_page 404 /404.html;

      # redirect server error pages to the static page /50x.html
      #location = /50x.html {
      # root /usr/share/nginx/www;
      #}

      # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
      #
      location ~ \.php$ {
      fastcgi_split_path_info ^(.+\.php)(/.+)$;
      # # NOTE: You should have "cgi.fix_pathinfo = 0;" in php.ini
      #
      # # With php5-cgi alone:
      # fastcgi_pass 127.0.0.1:9000;
      # # With php5-fpm:
      fastcgi_pass unix:/var/run/php5-fpm.sock;
      fastcgi_index index.php;
      include fastcgi_params;
      }

      # deny access to .htaccess files, if Apache's document root
      # concurs with nginx's one
      #
      #location ~ /\.ht {
      # deny all;
      #}
      }


      nginx error.log

      Spoiler anzeigen

      2013/03/17 12:34:50 [error] 10740#0: *45 rewrite or internal redirection cycle while internally redirecting to "/index.html"


      nginx access.log

      Spoiler anzeigen

      192.168.178.56 - - [17/Mar/2013:12:34:40 +0100] "GET / HTTP/1.1" 200 930 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/53$
      192.168.178.56 - - [17/Mar/2013:12:34:46 +0100] "GET /cron.php HTTP/1.1" 499 0 "http://192.XXX.XXX.31/" "Mozilla/5.0 (Macintosh; Intel Mac $
      192.168.178.56 - - [17/Mar/2013:12:34:50 +0100] "POST / HTTP/1.1" 302 5 "http://192.XXX.XXX.31/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10$
      192.168.178.56 - - [17/Mar/2013:12:34:50 +0100] "GET / HTTP/1.1" 200 2719 "http://192.XXX.XXX.31/" "Mozilla/5.0 (Macintosh; Intel Mac OS X $
      192.168.178.56 - - [17/Mar/2013:12:34:50 +0100] "GET /remote.php/core.css HTTP/1.1" 500 594 "http://192.XXX.XXX.31/" "Mozilla/5.0 (Macintos$
      192.168.178.56 - - [17/Mar/2013:12:34:50 +0100] "GET /remote.php/core.js HTTP/1.1" 500 594 "http://192.XXX.XXX.31/" "Mozilla/5.0 (Macintosh$
      192.168.178.56 - - [17/Mar/2013:12:34:50 +0100] "GET /?app=files&getfile=css%2Ffiles.css HTTP/1.1" 304 0 "http://192.XXX.XXX.31/" "Mozilla/$
      192.168.178.56 - - [17/Mar/2013:12:34:53 +0100] "-" 400 0 "-" "-"
      192.168.178.56 - - [17/Mar/2013:12:34:53 +0100] "-" 400 0 "-" "-"
      192.168.178.56 - - [17/Mar/2013:12:35:24 +0100] "GET / HTTP/1.1" 200 2719 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_8_2) AppleWebKit/5$
      192.168.178.56 - - [17/Mar/2013:12:35:34 +0100] "-" 400 0 "-" "-"
      192.168.178.56 - - [17/Mar/2013:12:35:44 +0100] "-" 400 0 "-" "-"
      192.168.178.56 - - [17/Mar/2013:12:35:44 +0100] "-" 400 0 "-" "-"
      192.168.178.56 - - [17/Mar/2013:12:35:44 +0100] "-" 400 0 "-" "-"
      192.168.178.56 - - [17/Mar/2013:12:35:44 +0100] "-" 400 0 "-" "-"



      Die einlogg Form sieht normal aus:



      Aber die Owncloud an sich, sieht sehr falsch aus:



      // Edit:

      Vorher war Apache installiert, falls das irgendwie wichtig ist.

      Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von jonasX ()

      Quellcode

      1. 192.168.178.56 - - [17/Mar/2013:12:34:50 +0100] "GET /remote.php/core.css HTTP/1.1" 500 594 "http://192.XXX.XXX.31/" "Mozilla/5.0 (Macintos$
      2. 192.168.178.56 - - [17/Mar/2013:12:34:50 +0100] "GET /remote.php/core.js HTTP/1.1" 500 594 "http://192.XXX.XXX.31/" "Mozilla/5.0 (Macintosh$

      Die zwei Zeilen sind dein Problem. Beim Request wirft der Server einen Error 500 (Internal Server Error).
      Da dies der Request für das Stylesheet und JavaScript ist, sieht deine Seite so aus.

      (Mehr kann ich daraus aber auch nicht deuten. Hab absolut keine Erfahrung was nginx betrifft)

      Gruß
      florian0