H
Homarr11mo ago
Killian

don't work after update.

[Symbol(realm)]: { settingsObject: {} }, [Symbol(state)]: { aborted: false, rangeRequested: false, timingAllowPassed: false, requestIncludesCredentials: false, type: 'default', status: 500, timingInfo: null, cacheState: '', statusText: 'Internal Server Error', headersList: HeadersList { cookies: null, [Symbol(headers map)]: Map(4) { 'connection' => { name: 'connection', value: 'close' }, 'date' => { name: 'date', value: 'Fri, 10 Nov 2023 23:21:19 GMT' }, 'keep-alive' => { name: 'keep-alive', value: 'timeout=5' }, 'transfer-encoding' => { name: 'transfer-encoding', value: 'chunked' } }, [Symbol(headers map sorted)]: null }, urlList: [],  { stream: <ref *1> ReadableStream { _state: 'closed', _reader: ReadableStreamDefaultReader { _ownerReadableStream: [Circular *1], _closedPromise_resolve: undefined, _closedPromise_reject: undefined, _closedPromise: Promise { }, _readRequests: S { _cursor: 0, _size: 0, _front: { _elements: [], _next: undefined }, _back: { _elements: [], _next: undefined } } }, _storedError: undefined, _disturbed: true, _readableStreamController: ReadableStreamDefaultController { _controlledReadableStream: [Circular *1], _queue: S { _cursor: 0, _size: 0, _front: { _elements: [], _next: undefined }, _back: { _elements: [], _next: undefined } }, _queueTotalSize: 0, _started: true, _closeRequested: true, _pullAgain: false, _pulling: true, _strategySizeAlgorithm: undefined, _strategyHWM: 0, _pullAlgorithm: undefined, _cancelAlgorithm: undefined } }, source: null, length: null } }, [Symbol(headers)]: Headers { [Symbol(headers list)]: HeadersList { cookies: null, [Symbol(headers map)]: Map(4) { 'connection' => { name: 'connection', value: 'close' }, 'date' => { name: 'date', value: 'Fri, 10 Nov 2023 23:21:19 GMT' }, 'keep-alive' => { name: 'keep-alive', value: 'timeout=5' }, 'transfer-encoding' => { name: 'transfer-encoding', value: 'chunked' } }, [Symbol(headers map sorted)]: null }, [Symbol(guard)]: 'response', [Symbol(realm)]: { settingsObject: {} } } } }, shape: undefined, data: undefined, name: 'TRPCClientError' }, elapsedMs: 18 } Error [TRPCClientError]: Unexpected token 'I', "Internal S"... is not valid JSON at TRPCClientError.from (file:///app/.next/server/src/middleware.js:1729:16) at <unknown> (file:///app/.next/server/src/middleware.js:2069:36) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [next-auth][error][CLIENT_FETCH_ERROR] https://next-auth.js.org/errors#client_fetch_error fetch failed { error: { message: 'fetch failed', stack: 'TypeError: fetch failed\n' + ' at Object.fetch (/app/node_modules/next/dist/compiled/undici/index.js:1:26669)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)', name: 'TypeError' }, url: 'http://localhost:3000/api/auth/session', message: 'fetch failed' }
Errors | NextAuth.js
This is a list of errors output from NextAuth.js.
Solution:
This issue should be fixed with release v0.14.1 ! If not, please open up a ticket in #💬・get-help
GitHub
Release v0.14.1 Stability improvement and bug fixes · ajnart/homarr
Your issues should be resolved! During the last release, we didn't spend enough time to test on different hardware configurations to ensure that v0.14.0 would work on the majority of people'...
Jump to solution
82 Replies
Manicraft1001
Manicraft100111mo ago
Is there more in the log?
Killian
Killian11mo ago
for info : i don't open port (nat) on portainer, only use subdomain conf : server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name admindffghfdh.com; include /config/nginx/ssl.conf; client_max_body_size 0; location / { # enable the next two lines for http auth auth_basic "Restricted"; auth_basic_user_file /config/nginx/.htpasswd; include /config/nginx/proxy.conf; include /config/nginx/resolver.conf; set $upstream_app homarr; set $upstream_port 7575; set $upstream_proto http; proxy_pass $upstream_proto://$upstream_app:$upstream_port; } } what's the path for log file in container ?
Manicraft1001
Manicraft100111mo ago
There is no log file in the container
Killian
Killian11mo ago
i have only that in portainer log :
Killian
Killian11mo ago
[Symbol(realm)]: { settingsObject: {} }, [Symbol(state)]: { aborted: false, rangeRequested: false, timingAllowPassed: false, requestIncludesCredentials: false, type: 'default', status: 500, timingInfo: null, cacheState: '', statusText: 'Internal Server Error', headersList: HeadersList { cookies: null, [Symbol(headers map)]: Map(4) { 'connection' => { name: 'connection', value: 'close' }, 'date' => { name: 'date', value: 'Fri, 10 Nov 2023 23:25:22 GMT' }, 'keep-alive' => { name: 'keep-alive', value: 'timeout=5' }, 'transfer-encoding' => { name: 'transfer-encoding', value: 'chunked' } }, [Symbol(headers map sorted)]: null }, urlList: [], 
{ stream: <ref *1> ReadableStream { _state: 'closed', _reader: ReadableStreamDefaultReader { _ownerReadableStream: [Circular *1], _closedPromise_resolve: undefined, _closedPromise_reject: undefined, _closedPromise: Promise { }, _readRequests: S { _cursor: 0, _size: 0, _front: { _elements: [], _next: undefined }, _back: { _elements: [], _next: undefined } } }, _storedError: undefined, _disturbed: true, _readableStreamController: ReadableStreamDefaultController { _controlledReadableStream: [Circular *1], _queue: S { _cursor: 0, _size: 0, _front: { _elements: [], _next: undefined }, _back: { _elements: [], _next: undefined } }, _queueTotalSize: 0, _started: true, _closeRequested: true, _pullAgain: false, _pulling: true, _strategySizeAlgorithm: undefined, _strategyHWM: 0, _pullAlgorithm: undefined, _cancelAlgorithm: undefined } }, source: null, length: null } }, [Symbol(headers)]: Headers { [Symbol(headers list)]: HeadersList { cookies: null, [Symbol(headers map)]: Map(4) { 'connection' => { name: 'connection', value: 'close' }, 'date' => { name: 'date', value: 'Fri, 10 Nov 2023 23:25:22 GMT' }, 'keep-alive' => { name: 'keep-alive', value: 'timeout=5' }, 'transfer-encoding' => { name: 'transfer-encoding', value: 'chunked' } }, [Symbol(headers map sorted)]: null }, [Symbol(guard)]: 'response', [Symbol(realm)]: { settingsObject: {} } } } }, shape: undefined, data: undefined, name: 'TRPCClientError' }, elapsedMs: 11 } Error [TRPCClientError]: Unexpected token 'I', "Internal S"... is not valid JSON at TRPCClientError.from (file:///app/.next/server/src/middleware.js:1729:16) at <unknown> (file:///app/.next/server/src/middleware.js:2069:36) at process.processTicksAndRejections (node:internal/process/task_queues:95:5) [next-auth][error][CLIENT_FETCH_ERROR] https://next-auth.js.org/errors#client_fetch_error fetch failed { error: { message: 'fetch failed', stack: 'TypeError: fetch failed\n' + ' at Object.fetch (/app/node_modules/next/dist/compiled/undici/index.js:1:26669)\n' + ' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)', name: 'TypeError' }, url: 'http://localhost:3000/api/auth/session', message: 'fetch failed' }
Errors | NextAuth.js
This is a list of errors output from NextAuth.js.
Killian
Killian11mo ago
not more
Manicraft1001
Manicraft100111mo ago
As an information for you: It's almost 01:00 (1AM) in my timezone. Therefore, any further support from the Homarr team will resume next day (in about 7-8 hours). Make sure that you followed the onboarding instructions and added the mount point
Killian
Killian11mo ago
yeah not prob! i've checked, and all was ok !
BlackSpirit
BlackSpirit11mo ago
Hi there, had some issue with my reverse proxy, ended up having to add a location block to my config for the api routes that excludes auth essentially
location ~ /api {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app homarr;
set $upstream_port 7575;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;

}
location ~ /api {
include /config/nginx/proxy.conf;
include /config/nginx/resolver.conf;
set $upstream_app homarr;
set $upstream_port 7575;
set $upstream_proto http;
proxy_pass $upstream_proto://$upstream_app:$upstream_port;

}
hope this helps ya
Killian
Killian11mo ago
i'll try but same error! but thanks
Tag
Tag11mo ago
url: 'http://localhost:3000/api/auth/session',
url: 'http://localhost:3000/api/auth/session',
That looks like this shouldn't be the right address. Normally you should be on port 7575 and I doubt that you changed that. I think it's trying to fetch on 3000 but you are indeed using 7575 so nothing is there. Try setting your port to 3000 temporarily
Thomas
Thomas11mo ago
@Killian what’s your docker compose setup looking like ?
sicario0
sicario011mo ago
Hi, i have the same error after updating through Portainer and i haven't changed anything in my docker-compose file or anywhere else^^
Tag
Tag11mo ago
If you haven't changed you docker-compose, then there lies the problem. https://homarr.dev/blog/2023/11/10/authentication#breaking-changes There's a new mounting point necessary for the database of users.
sicario0
sicario011mo ago
it's working it was my fault indeed i am sorry! thanks! 🙂
Want results from more Discord servers?
Add your server