Comments (3)
but doesn't accept admin login/password
Which does it say precisely? Is it Temporarily Error or is it Wrong username or password or something else?
What does log entry look like in your Nginx access log?
Is this all through http://localhost
or something else?
I assume you double-checked in a different browser too, correct?
Can you also check your browser console and browser console network tab for clues?
Also maybe bump your Nextcloud Server loglevel
down to 0
(DEBUG level) then restart FPM and reattempt logging in while watching your nextcloud.log
?
I know you mentioned you used the documented Nginx config, but just to confirm... You're using the one from the v28 manual and nothing pre-v27 (since the Nginx config was updated), correct?
from server.
Thank you for your prompt reply, I very appreciate such an attention.
In fact I've already found root of the issue (tnx to your advice to deep check browser logs) - just one little thing I missed in nginx site config editing:
fastcgi_param HTTPS on;
- changing it to off resolved problem immediately
My NC setup is strictly local, so no need in https/TLS stuff with users frightening self-signed certs.
Unfortunately there is no howto for such cases, despite the phrase "and it is accessed via http(s)://cloud.example.com/" in nginx config docs, no http-only settings. I close this issue as it's obviously not a bug, but leave my answers for those who may bump in similar situation. Thank you again!
Which does it say precisely? Is it Temporarily Error or is it Wrong username or password or something else?
Nothing, just reloads login page with empty password field
What does log entry look like in your Nginx access log?
Nothing special, just ordinary requests for img, css and other usual stuff
Is this all through
http://localhost
or something else?
It's machine in local network, so URL looks like http://ms/index.php/login?clear=1
I assume you double-checked in a different browser too, correct?
For sure: FF, Chrome. Chromium, Opera
Can you also check your browser console and browser console network tab for clues?
That's what worked finally: I noticed warnings like "can't save secure cookie from insecure source" or something like this
I know you mentioned you used the documented nginx config, but just to confirm... You're using the one from the v28 manual and nothing pre-v27 (since the Nginx config was updated), correct?
I'm not sure how to determine v28, it was only official one I found
here
from server.
fastcgi_param HTTPS on; - changing it to off resolved problem immediately
Glad you got it worked out!
Unfortunately there is no howto for such cases, despite the phrase "and it is accessed via http(s)://cloud.example.com/" in nginx config docs, no http-only settings.
The full config there includes an http -> https redirect (the first server
block). That's that it's referring to I believe.
I'm not sure how to determine v28, it was only official one I found here
FYI that link is for Nextcloud v21.
Make sure you're referencing the one from the Admin Manual that matches the version of Nextcloud Server you're using (visit https://docs.nextcloud.com and choose the appropriate version).
We do update the config at times and it's had several critical changes the past couple versions. You'll definitely have some problems using a v21 config with a v28 installation.
from server.
Related Issues (20)
- [Bug]: Nextcloud Hub 8, copying files to Object Storage configured as Primary Storage isn't reliable HOT 4
- [Bug]: Unable to update background task execution mode HOT 1
- Check/Uncheck button to install specific recommended app from "/apps/recommended" page HOT 2
- [Bug]: 'Data directory protected' check failing HOT 22
- [Bug]: Session blocked when a user changes their password to one that is too long
- [Bug]: ConnectionFactory::getConnection parameters messed up by switch to PrimaryReadReplicaConnection HOT 2
- [Bug]: Error: Undefined constant Symfony\Component\Console\Input\InputOption::VALUE_NEGATABLE HOT 1
- [Bug]: File URLs not backwards compatible after upgrade to Nextcloud Hub 7 (28.0.5) HOT 7
- 🔢 Implement server-side DAV pagination
- [Bug]: updater always proposes to update to new major release immediately, dispite stable channel HOT 4
- [Bug]: strictDynamicAllowedOnScripts cannot be set to false HOT 2
- Add detailed options for the default theme
- [feature] Allow to enforce case insensitive filenames HOT 6
- [Bug]: Auto logout with and without inactivity - 28.0.5 & 29.0.0 HOT 4
- [Bug]: 28.0.5 Integrity constraint violation: 1062 Duplicate entry
- [Bug]: dashboard app - class RegisterWidgetEvent not found after upgrade to 29 followed by downgrade to 28 HOT 7
- [Bug]: Black text on black background in Dark Mode HOT 2
- Allow arbitrary configID prefixes for user_ldap HOT 2
- [Bug]: share by mail: password not automatically set although always ask for password option enabled
- Redirect to the page that was previously open when logging in after being auto logout
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from server.