-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Infinite loop on /index.php/apps/files/ -- 302 #11203
Comments
|
Mmmmh I looked for the hundred times and this time, I had wrong permission on file, now the htaccess has been updated correctly. I still have problem with infinite redirect |
GitMate.io thinks possibly related issues are #6728 (Updating from 11.0.0.10 to 12.0.3 leads to infinite loop in /index.php/app/files), #6986 (Infinite loop when there is more than one LDAP entry for a user in file sharing), #7823 (Rewrite fails on Debian, index.php exposed in URL), #5554 (Apps files from theme are being ignored), and #6615 (user_ldap: infinite loop or apache segfault with eDirectory). |
I made an installation from zip file on official website and it's working like a charm. So something wrong with the install with pacman on archlinux. I used same apache config. So it's not a problem from apache. |
Hi, In my lab we had an old docker installation of OwnCloud 9 using a non official image, and I decided to switch to a docker-compose setup of Nextcloud after succesfully trying NC14 to have an updated and more manageable environment. I did not try (yet) a sequence of steps to reproduce the bug, as it seems difficult in my scenario. Here is my compose and config.php files, and the filled issue template: Compose filedocker-compose.yml
config.phpconfig.php
Steps to reproduce
Expected behaviourThe user is expected to login and see the files page Actual behaviourThe user is caught in an infinite 302 redirect loop to the login page (http://192.168.0.30:10026/login?redirect_url=/apps/files/) Server configurationOperating system:
Web server: Database: PHP version: Nextcloud version: (see Nextcloud admin page) Updated from an older Nextcloud/ownCloud or fresh install: Where did you install Nextcloud from: Signing status: Signing status
Unable to login as admin user, as the same 302 loop occurrs. List of activated apps: App list
Nextcloud configuration: Config report
Are you using external storage, if yes which one: Are you using encryption: Are you using an external user-backend, if yes which one: Client configurationBrowser: Operating system: LogsWeb server error logWeb server error log
Nextcloud log (data/nextcloud.log)Nextcloud log
Browser logBrowser log (.har file from edge)
|
I think, that it is a problem with the session handling! I have the same behavior after upgrading an old Owncloud installation, but different setup (FreeBSD, jailed, PostgreSQL, extra frontend Apache as reverse Proxy, …). There is a message in the log file (with full log):
No other message, no reason for the redirect. I recommend to log much more information when in debug log mode! It looks like a problem with the session: in /tmp there are now more then 3000 of session files (sess_XXXXX…), so it seems that the session is written, but after this there is a problem reading it again.
So, there are >3000 session files in about half an hour! It seems, that for each request (via web or client!) there is a session file created (the server has about a dozen users, maybe five active in that time, syncing about 750000 files). It looks like, that the session files are written, but Nextcloud can not read them and therefore the result is „Current user is not logged in“ and a new session is created. I have another small nextcloud installation on the same machine in a different jail and recently upgraded it from 12 to 14, everything is fine. |
@alvar-freude seems like the same issue on NC 15 is there with a few things more. Infinite loop on /index.php/apps/files/ happens too. |
Also you could try to clean your cookies and then login. |
I have the same issue, completely fresh db and docker install. Also the passed directories where cleaned. After clicking "installing" or further down "Login", it tries to redirect me. Different browsers, different devices. Checked folder permissions twice. Any suggestions? |
If some of you are still running into this problem please create a new issue. Thank you 👍 |
Hello,
in block. I am using traefik as a reverse proxy and added the following label
Also I had to add/change
|
Hi,
I made a new install of nextcloud but when I created the first user, when the user is logged I have loop redirect on /index.php/apps/files/
I tried with and without https, nothing worked.
I tried this patch but nothing change
#10885
I tried too delete the "index.php" part in the URL but I have this error
The .htaccess file have the correct owner & permissions
Steps to reproduce
Expected behaviour
Access to my nextclound account
Actual behaviour
Infinite redirect "GET /index.php/apps/files/ HTTP/1.1" 302"
Server configuration
Operating system: ArchLinux
Web server:
Server version: Apache/2.4.34 (Unix)
Server built: Jul 16 2018 17:47:47
Database:
mysql Ver 15.1 Distrib 10.1.35-MariaDB, for Linux (x86_64) using readline 5.1
PHP version:
PHP-fpm 7.2.9
Nextcloud version: (see Nextcloud admin page)
14.0.0
Updated from an older Nextcloud/ownCloud or fresh install:
Fresh install
Where did you install Nextcloud from:
With Pacman, the installation go to /usr/share/webapps/nextcloud
Signing status:
Signing status
List of activated apps:
App list
Nextcloud configuration:
Config report
Are you using external storage, if yes which one: local/smb/sftp/...
No
Are you using encryption: yes/no
No (I think)
Are you using an external user-backend, if yes which one:
No
Client configuration
Browser:
Any browser
Operating system:
Any operating system
Logs
Web server error log
Web server error log
Nextcloud log (data/nextcloud.log)
Nextcloud log
Browser log
Browser log
The text was updated successfully, but these errors were encountered: