Steps to reproduce
- Install OCIS as per “Bare Metal Deployment with systemd” tutorial, using Nginx as reverse proxy.
- Try to login to the application for the first time.
Expected behaviour
Login and show the main screen.
Actual behaviour
After login in correctly (The password is checked) you receive the error:
Not logged in
This could be because of a routine safety log out, or because your account is either inactive or not yet authorized for use. Please try logging in after a while or seek help from your Administrator.
Server configuration
Operating system: Ubuntu Server 22.04
Web server:: Nginx 1.18
Database: N/A
PHP version: N/A
ownCloud version: OCIS 4.0.5
Updated from an older ownCloud or fresh install: Fresh install
Where did you install ownCloud from: OCIS Download from oficial page.
The content of config/config.php: N/A
ocis.env:
OCIS_URL=https://files.tuaiti.com.ar
PROXY_HTTP_ADDR=0.0.0.0:9200
PROXY_TLS=false
OCIS_INSECURE=true
OCIS_LOG_LEVEL=warn
OCIS_CONFIG_DIR=/etc/ocis
OCIS_BASE_DATA_PATH=/var/lib/ocis
ocis.yaml: Default created by ocis init.
List of activated apps:
ocis list
+--------------------+
| SERVICE |
+--------------------+
| app-provider |
| app-registry |
| auth-basic |
| auth-machine |
| eventhistory |
| frontend |
| gateway |
| graph |
| groups |
| idm |
| idp |
| invitations |
| nats |
| notifications |
| ocdav |
| ocs |
| postprocessing |
| proxy |
| search |
| settings |
| sharing |
| storage-publiclink |
| storage-shares |
| storage-system |
| storage-users |
| store |
| thumbnails |
| userlog |
| users |
| web |
| webdav |
| webfinger |
+--------------------+
Are you using external storage, if yes which one: No
Are you using encryption: No
Are you using an external user-backend, if yes which one: No
Client configuration
Browser: Chrome
Operating system: Windows
Logs
Web server error log
Feb 4 16:52:26 files systemd[1]: ocis.service: Deactivated successfully.
Feb 4 16:52:26 files systemd[1]: ocis.service: Consumed 1.151s CPU time.
Feb 4 16:52:26 files ocis[589]: {"level":"warn","service":"storage-system","pkg":"rhttp","time":"2024-02-04T16:52:26.772207282Z","message":"missing or incomplete nats configuration. Events will not be published."}
Feb 4 16:52:27 files ocis[589]: {"level":"warn","service":"idp","kid":"private-key","path":"/var/lib/ocis/idp/private-key.pem","time":"2024-02-04T16:52:27.762711319Z","message":"skipped as signer with same kid already loaded"}
Feb 4 16:52:43 files ocis[589]: {"level":"error","service":"proxy","error":"failed to verify access token: Get \"https://files.tuaiti.com.ar/.well-known/openid-configuration\": dial tcp 127.0.1.1:443: connect: connection refused","authenticator":"oidc","path":"/api/v0/settings/values-list","time":"2024-02-04T16:52:43.811427656Z","message":"failed to authenticate the request"}
Feb 4 16:52:43 files ocis[589]: {"level":"error","service":"proxy","error":"failed to verify access token: Get \"https://files.tuaiti.com.ar/.well-known/openid-configuration\": dial tcp 127.0.1.1:443: connect: connection refused","authenticator":"oidc","path":"/ocs/v1.php/cloud/user","time":"2024-02-04T16:52:43.878555449Z","message":"failed to authenticate the request"}
Feb 4 16:52:43 files ocis[589]: {"level":"warn","service":"frontend","pkg":"rhttp","traceid":"6aa06fe3d3ba522df399a2439ed580fc","time":"2024-02-04T16:52:43.882920988Z","message":"core access token not set"}
Feb 4 16:55:52 files ocis[589]: {"level":"error","service":"proxy","error":"failed to verify access token: Get \"https://files.tuaiti.com.ar/.well-known/openid-configuration\": dial tcp 127.0.1.1:443: connect: connection refused","authenticator":"oidc","path":"/api/v0/settings/values-list","time":"2024-02-04T16:55:52.955468838Z","message":"failed to authenticate the request"}
Browser log
vendor-666c33d8.mjs:25 Font Awesome Free 6.4.0 by @fontawesome - https://fontawesome.com
License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
Copyright 2023 Fonticons, Inc.
vendor-666c33d8.mjs:11 [UserManager] getUser: user loaded
vendor-666c33d8.mjs:11 [UserManager] getUser: user loaded
vendor-666c33d8.mjs:16
POST https://files.tuaiti.com.ar/api/v0/settings/values-list 401 (Unauthorized)
(anonymous) @ vendor-666c33d8.mjs:16
xhr @ vendor-666c33d8.mjs:16
AI @ vendor-666c33d8.mjs:16
request @ vendor-666c33d8.mjs:16
(anonymous) @ vendor-666c33d8.mjs:16
(anonymous) @ vendor-666c33d8.mjs:14
post @ index.html-bec1f396.mjs:1
fetchSettings @ extensionRegistry-df2b5a60.mjs:3
(anonymous) @ extensionRegistry-df2b5a60.mjs:3
updateContext @ extensionRegistry-df2b5a60.mjs:3
initializeContext @ extensionRegistry-df2b5a60.mjs:3
await in initializeContext (async)
(anonymous) @ extensionRegistry-df2b5a60.mjs:3
(anonymous) @ vendor-666c33d8.mjs:25
(anonymous) @ vendor-666c33d8.mjs:25
runWithContext @ vendor-666c33d8.mjs:1
x @ vendor-666c33d8.mjs:25
(anonymous) @ vendor-666c33d8.mjs:25
Promise.then (async)
(anonymous) @ vendor-666c33d8.mjs:25
me @ vendor-666c33d8.mjs:25
(anonymous) @ vendor-666c33d8.mjs:25
Promise.then (async)
R @ vendor-666c33d8.mjs:25
S @ vendor-666c33d8.mjs:25
S @ vendor-666c33d8.mjs:25
b @ vendor-666c33d8.mjs:25
install @ vendor-666c33d8.mjs:25
use @ vendor-666c33d8.mjs:1
ek @ index.html-bec1f396.mjs:9
await in ek (async)
window.runtimeLoaded @ (index):144
(anonymous) @ index.html-bec1f396.mjs:9
extensionRegistry-df2b5a60.mjs:3 St {message: 'Request failed with status code 401', name: 'AxiosError', code: 'ERR_BAD_REQUEST', config: {…}, request: XMLHttpRequest, …}
fetchSettings @ extensionRegistry-df2b5a60.mjs:3
await in fetchSettings (async)
(anonymous) @ extensionRegistry-df2b5a60.mjs:3
updateContext @ extensionRegistry-df2b5a60.mjs:3
initializeContext @ extensionRegistry-df2b5a60.mjs:3
await in initializeContext (async)
(anonymous) @ extensionRegistry-df2b5a60.mjs:3
(anonymous) @ vendor-666c33d8.mjs:25
(anonymous) @ vendor-666c33d8.mjs:25
runWithContext @ vendor-666c33d8.mjs:1
x @ vendor-666c33d8.mjs:25
(anonymous) @ vendor-666c33d8.mjs:25
Promise.then (async)
(anonymous) @ vendor-666c33d8.mjs:25
me @ vendor-666c33d8.mjs:25
(anonymous) @ vendor-666c33d8.mjs:25
Promise.then (async)
R @ vendor-666c33d8.mjs:25
S @ vendor-666c33d8.mjs:25
S @ vendor-666c33d8.mjs:25
b @ vendor-666c33d8.mjs:25
install @ vendor-666c33d8.mjs:25
use @ vendor-666c33d8.mjs:1
ek @ index.html-bec1f396.mjs:9
await in ek (async)
window.runtimeLoaded @ (index):144
(anonymous) @ index.html-bec1f396.mjs:9
vendor-666c33d8.mjs:47
GET https://files.tuaiti.com.ar/ocs/v1.php/cloud/user 401 (Unauthorized)
(anonymous) @ vendor-666c33d8.mjs:47
D @ vendor-666c33d8.mjs:47
(anonymous) @ vendor-666c33d8.mjs:108
o @ vendor-666c33d8.mjs:44
v @ vendor-666c33d8.mjs:44
a @ vendor-666c33d8.mjs:44
_makeOCSrequest @ vendor-666c33d8.mjs:108
_updateCurrentUser @ vendor-666c33d8.mjs:108
getCurrentUserAsync @ vendor-666c33d8.mjs:108
getCurrentUser @ vendor-666c33d8.mjs:108
fetchUserInfo @ extensionRegistry-df2b5a60.mjs:3
(anonymous) @ extensionRegistry-df2b5a60.mjs:3
await in (anonymous) (async)
updateContext @ extensionRegistry-df2b5a60.mjs:3
initializeContext @ extensionRegistry-df2b5a60.mjs:3
await in initializeContext (async)
(anonymous) @ extensionRegistry-df2b5a60.mjs:3
(anonymous) @ vendor-666c33d8.mjs:25
(anonymous) @ vendor-666c33d8.mjs:25
runWithContext @ vendor-666c33d8.mjs:1
x @ vendor-666c33d8.mjs:25
(anonymous) @ vendor-666c33d8.mjs:25
Promise.then (async)
(anonymous) @ vendor-666c33d8.mjs:25
me @ vendor-666c33d8.mjs:25
(anonymous) @ vendor-666c33d8.mjs:25
Promise.then (async)
R @ vendor-666c33d8.mjs:25
S @ vendor-666c33d8.mjs:25
S @ vendor-666c33d8.mjs:25
b @ vendor-666c33d8.mjs:25
install @ vendor-666c33d8.mjs:25
use @ vendor-666c33d8.mjs:1
ek @ index.html-bec1f396.mjs:9
await in ek (async)
window.runtimeLoaded @ (index):144
(anonymous) @ index.html-bec1f396.mjs:9
extensionRegistry-df2b5a60.mjs:3 Error
at vendor-666c33d8.mjs:108:8997
initializeContext @ extensionRegistry-df2b5a60.mjs:3
await in initializeContext (async)
(anonymous) @ extensionRegistry-df2b5a60.mjs:3
(anonymous) @ vendor-666c33d8.mjs:25
(anonymous) @ vendor-666c33d8.mjs:25
runWithContext @ vendor-666c33d8.mjs:1
x @ vendor-666c33d8.mjs:25
(anonymous) @ vendor-666c33d8.mjs:25
Promise.then (async)
(anonymous) @ vendor-666c33d8.mjs:25
me @ vendor-666c33d8.mjs:25
(anonymous) @ vendor-666c33d8.mjs:25
Promise.then (async)
R @ vendor-666c33d8.mjs:25
S @ vendor-666c33d8.mjs:25
S @ vendor-666c33d8.mjs:25
b @ vendor-666c33d8.mjs:25
install @ vendor-666c33d8.mjs:25
use @ vendor-666c33d8.mjs:1
ek @ index.html-bec1f396.mjs:9
await in ek (async)
window.runtimeLoaded @ (index):144
(anonymous) @ index.html-bec1f396.mjs:9
vendor-666c33d8.mjs:11 [UserManager] removeUser: user removed from storage
extensionRegistry-df2b5a60.mjs:3 user unloaded…