Can't upload via web on selfhosted ente
Hi, I'm having some issues when using my own custom domain with a self-hosted ente instance.
I've set up custom domains for each component (minio, api and web) and updated the corresponding files.
Login and account creation works fine, I can see the minio instance is working ok, it creates the buckets and there's even some activity on those buckets.
Requests to the minio instance seems be fine too, all return status 200.
The error seems to occur when posting to the /files endpoint of the API. I get a 502 bad gateway.
I can see the following error in docker logs:
museum-1 | panic: runtime error: invalid memory address or nil pointer dereference
museum-1 | [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xf4445c]
museum-1 |
museum-1 | goroutine 64 [running]:
museum-1 | github.com/ente-io/museum/pkg/controller.(FileController).sizeOf(0x4001845c20, {0x400155a080, 0x35})
museum-1 | /etc/ente/pkg/controller/file.go:835 +0x1bc
museum-1 | github.com/ente-io/museum/pkg/controller.(FileController).Create.func1()
museum-1 | /etc/ente/pkg/controller/file.go:122 +0x34
museum-1 | created by github.com/ente-io/museum/pkg/controller.(*FileController).Create in goroutine 76
museum-1 | /etc/ente/pkg/controller/file.go:121 +0x12c
museum-1 exited with code 2
If I run on localhost there are no issue whatsoever.
Any ideas?
1 Reply
Remember to use /solved to mark your thread as solved once your question is answered.
Thread marked as solved. It will be closed in <t:1752022669:R>.
This thread is now closed.