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:Jump to solution
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'...
82 Replies
Is there more in the log?
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 ?
There is no log file in the container
i have only that in portainer log :
[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' }
{ 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.
not more
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
yeah not prob!
i've checked, and all was ok !
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
hope this helps ya
i'll try but same error! but thanks
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
@Killian what’s your docker compose setup looking like ?
Hi, i have the same error after updating through Portainer and i haven't changed anything in my docker-compose file or anywhere else^^
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.
it's working it was my fault indeed i am sorry!
thanks! 🙂