You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just set up a brand new server and installed owncloud via the webinstaller. It is running on a nginx server with php5-fpm.
I tried several things to solve the loop, but nothing worked. Then I installed completely fresh, but this time in a subdirectory and I noticed that it redirected to the root of the domain domain.com/index.php/apps/files/
This seems to be the issue why I had infinite redirects when I installed it in the root directory.
Steps to reproduce
Install in subdirectory (in my case even two: owncloud/owncloud)
Complete setup with user etc., it will then redirect.
{"app":"PHP","message":"touch(): Unable to create file \/var\/www\/madd.is\/cloud.madd.is\/owncloud\/owncloud\/data\/owncloud.log because No such file or directory at \/var\/www\/madd.is\/cloud.madd.is\/owncloud\/owncloud\/lib\/private\/log\/owncloud.php#49","level":3,"time":"2014-10-19T01:21:09+00:00"}
Browser network log
Request Header:
GET /owncloud/owncloud/index.php/apps/files/ HTTP/1.1
Host: cloud.madd.is
Connection: keep-alive
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/38.0.2125.101 Safari/537.36
Referer: http://cloud.madd.is/owncloud/owncloud/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: de-DE,de;q=0.8,en-US;q=0.6,en;q=0.4
Cookie: oce4e012fb13=tl9kosddvhacdvomeca96hnuk6; occ90f57636a=cg1fvbieook3tp66d16i0gt4k1
/* The automatic webroot detection of ownCloud can fail in certain reverse proxy and CLI/cron situations. This option allows to manually override the automatic detection. For example "/domain.tld/ownCloud". The value "/" can be used to remove the root. */"overwritewebroot" => "",
Hello,
there are several threads having problems with that
http://forum.owncloud.org/viewtopic.php?f=23&t=13501
http://forum.owncloud.org/viewtopic.php?f=26&t=20162
I just set up a brand new server and installed owncloud via the webinstaller. It is running on a nginx server with php5-fpm.
I tried several things to solve the loop, but nothing worked. Then I installed completely fresh, but this time in a subdirectory and I noticed that it redirected to the root of the domain domain.com/index.php/apps/files/
This seems to be the issue why I had infinite redirects when I installed it in the root directory.
Steps to reproduce
Expected behaviour
show the owncloud interface.
Actual behaviour
redirected to the root of the domain:
to http://cloud.madd.is/index.php/apps/files/ instead of the correct one:
http://cloud.madd.is/owncloud/owncloud/index.php/apps/files/
Server configuration
Operating system: Ubuntu 14.04 LTS
Web server: nginx (config without redirects)
Database: MySQL
PHP version: PHP Version 5.5.9-1ubuntu4.4 (http://cloud.madd.is/owncloud/owncloud/phpinfo.php)
ownCloud version: (see ownCloud admin page)
Updated from an older ownCloud or fresh install: fresh
List of activated apps: None (default installation)
The content of config/config.php:
Are you using external storage, if yes which one: no
Are you using encryption: tried both
Nginx config
I tried several version, including the config from the documentation, but this one is the stripped down version I used in this test:
Client configuration
Browser:
Google Chrome 38
Operating system:
Windows 8.1 64bit
Logs
ownCloud log (data/owncloud.log)
Browser network log
Request Header:
Response Header:
The text was updated successfully, but these errors were encountered: