Skip to content

Nextcloud broken before Use, After Login page reloads infinity #535

Closed

Description

@Ne00n

Steps to reproduce

  1. Setup a NextCloud on a Debian 8 Jessie, with Nginx + php-fpm 7.0
  2. Create a Database with a User, Configure NextCloud
  3. Press Installation and its broken

Expected behaviour

It should Login after the first Installation

Actual behaviour

It reloads the page to the infinity

Server configuration

Operating system:
Debian 8

Web server:
Nginx latest from DotDeb Repo

Database:
MySQL Server latest from DotDeb Repo

PHP version:
PHP 7.0 latest

Nextcloud version: (see Nextcloud admin page)
9.0.53

Updated from an older Nextcloud/ownCloud or fresh install:
Niet

Where did you install Nextcloud from:
wget https://download.nextcloud.com/server/releases/nextcloud-9.0.53.zip

The content of config/config.php:

Config report


$CONFIG = array (
  'instanceid' => 'oc7p674........',
  'passwordsalt' => ''*********************',',
  'secret' => ''*********************',',
  'trusted_domains' => 
  array (
    0 => 'storage.ath.pw',
  ),
  'datadirectory' => '/var/www/html/********/data',
  'overwrite.cli.url' => ''*********************',',
  'dbtype' => 'mysql',
  'version' => '9.0.53.0',
  'dbname' => 'nextcloud',
  'dbhost' => '127.0.0.1',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => '*********************',
  'logtimezone' => 'UTC',
  'installed' => true,
);

### Client configuration

Browser:
Different Browser, Latest Chrome/Firefox

Operating system:
Linux/Windows

Logs

Web server error log

Web server error log

2016/07/23 16:24:07 [error] 19815#19815: *233 rewrite or internal redirection cycle while internally redirecting to "/index.html", client: 1111111111, server: datdomain.net, request: "GET /index.php/apps/files/index.php HTTP/1.1", host: "datdomain.net", referrer: "datdomain.net/index.php/apps/files/index.php"
#### Nextcloud log (data/nextcloud.log)

Nextcloud log

http://pastebin.com/sxgXXeC1

Activity

  1. Ne00n commented on Jul 23, 2016

    @Ne00n
    Author
  2. Ne00n commented on Jul 23, 2016

    @Ne00n
    Author

    It seems like that it want to select the oc_users but instead it does select the users table and If you gonna rename the oc_users to users it ends up into an Internal Server Error. Seems like in the error file its looking for oc_users after it selected from users.

  3. Ne00n commented on Jul 23, 2016

    @Ne00n
    Author

    Well, I should obviously use the Nginx config from OwnCloud/NextCloud to get it work, and it worked.

  4. added a commit that references this issue on Nov 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions