Leah
Leah
HHomarr
Created by Leah on 10/9/2023 in #💬・get-help
Homarr Header Elements cause "TypeError" soft error
The elements shown in the screen cap show a soft error, TypeError, when selected:
Constructing internal hostname address using 9feedeccc103 7575
ℹ Requested frontend content of configuration 'default'
TypeError: Cannot read properties of undefined (reading 'allowGuests')
at getServerSideProps (/app/.next/server/chunks/296.js:50:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Constructing internal hostname address using 9feedeccc103 7575
ℹ Requested frontend content of configuration 'default'
TypeError: Cannot read properties of undefined (reading 'allowGuests')
at getServerSideProps (/app/.next/server/chunks/296.js:50:33)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
1 replies
HHomarr
Created by Leah on 10/8/2023 in #💬・get-help
"ECONNRESET" all the bugs!
Trying to deploy Homarr on Portainer from 6.5.0-asahi-3-1-ARCH When following the installation directions, it deploys and launches the site, but only a few seconds later, the site crashes, leaving it to time out load until I restart the container:
Listening on port 7575 url: http://45a6db1c463b:7575
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at Socket.socketOnEnd (node:_http_client:519:23)
at Socket.emit (node:events:526:35)
at endReadableNT (node:internal/streams/readable:1376:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
Listening on port 7575 url: http://45a6db1c463b:7575
Error: socket hang up
at connResetException (node:internal/errors:720:14)
at Socket.socketOnEnd (node:_http_client:519:23)
at Socket.emit (node:events:526:35)
at endReadableNT (node:internal/streams/readable:1376:12)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
code: 'ECONNRESET'
}
Now, this is running on ARM, so I tried replacing the image with the marked arm64 version, and it's now even more different:
Error [TRPCClientError]:
Invalid `prisma.user.count()` invocation:
Prisma Client could not locate the Query Engine for runtime "linux-arm64-openssl-3.0.x".
This happened because Prisma Client was generated for "debian-openssl-1.1.x", but the actual deployment required "linux-arm64-openssl-3.0.x".
Add "linux-arm64-openssl-3.0.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:
generator client {
provider = "prisma-client-js"
binaryTargets = ["native", "linux-musl-openssl-3.0.x", "linux-musl-arm64-openssl-3.0.x", "debian-openssl-3.0.x", "linux-arm64-openssl-3.0.x"]
}
The following locations have been searched:
/app/node_modules/.prisma/client
/app/node_modules/@prisma/client
/home/runner/work/homarr/homarr/node_modules/@prisma/client
/tmp/prisma-engines
/app/prisma
at TRPCClientError.from (file:///app/.next/server/src/middleware.js:1647:20)
at <unknown> (file:///app/.next/server/src/middleware.js:2261:60)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
Error [TRPCClientError]:
Invalid `prisma.user.count()` invocation:
Prisma Client could not locate the Query Engine for runtime "linux-arm64-openssl-3.0.x".
This happened because Prisma Client was generated for "debian-openssl-1.1.x", but the actual deployment required "linux-arm64-openssl-3.0.x".
Add "linux-arm64-openssl-3.0.x" to `binaryTargets` in the "schema.prisma" file and run `prisma generate` after saving it:
generator client {
provider = "prisma-client-js"
binaryTargets = ["native", "linux-musl-openssl-3.0.x", "linux-musl-arm64-openssl-3.0.x", "debian-openssl-3.0.x", "linux-arm64-openssl-3.0.x"]
}
The following locations have been searched:
/app/node_modules/.prisma/client
/app/node_modules/@prisma/client
/home/runner/work/homarr/homarr/node_modules/@prisma/client
/tmp/prisma-engines
/app/prisma
at TRPCClientError.from (file:///app/.next/server/src/middleware.js:1647:20)
at <unknown> (file:///app/.next/server/src/middleware.js:2261:60)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
I'm kind of at a loss on what I'm able to do. The only issue I found was this: https://github.com/ajnart/homarr/issues/1283 I did comment on it, but I thought I'd shoot my shot here. Any help would be appreciated. Thank you!
35 replies