ente

8 months ago

Description: The API server for ente photos & auth.

Category: Storage

URL: https://railway.app/template/O5gHP2

6 Replies

3 months ago

Hey thanks for the template, one issue tho, the ENTE_S3_B2-EU-CEN_SECRET variable isnt correctly set to ${{museum.S3_ACCESS_KEY_SECRET}} instead its set to ${{museum.S3_SECRET}}


iiroan

Hey thanks for the template, one issue tho, the ENTE_S3_B2-EU-CEN_SECRET variable isnt correctly set to ${{museum.S3_ACCESS_KEY_SECRET}} instead its set to ${{museum.S3_SECRET}}

3 months ago

Fixed it! Thanks for letting me know :)


a month ago

Hey question, recently i tried updating it to the latest museum server, after updating it broke. It worked completely fine before however now i get this error

ERRO[0133]handler.go:47 Error Request failed error= --- at /etc/ente/pkg/api/file.go:117 (FileHandler.GetUploadURLs) ---

ERRO[0135]handler.go:47 Error Request failed error= --- at /etc/ente/pkg/api/file.go:171 (FileHandler.GetThumbnail) ---

--- at /etc/ente/pkg/controller/file.go:310 (FileController.GetUploadURLs) ---

--- at /etc/ente/pkg/controller/file.go:345 (FileController.GetThumbnailURL) ---

--- at /etc/ente/pkg/controller/file.go:1001 (FileController.getObjectURL) ---

Caused by: MissingRegion: could not find region configuration req_id=ser_WF7ksQqjyZsEWqJPBQr66p user_id=1580559962386438

Caused by: MissingRegion: could not find region configuration req_id=d9c7b7f5-6cb1-481e-977d-9a06a8318d6a user_id=1580559962386438

Now i do have a S3 region set in the .env and it worked before?
Did you do anything special to set the configuration of the museum? or just the .env?


iiroan

Hey question, recently i tried updating it to the latest museum server, after updating it broke. It worked completely fine before however now i get this errorERRO[0133]handler.go:47 Error Request failed error= --- at /etc/ente/pkg/api/file.go:117 (FileHandler.GetUploadURLs) ---ERRO[0135]handler.go:47 Error Request failed error= --- at /etc/ente/pkg/api/file.go:171 (FileHandler.GetThumbnail) ------ at /etc/ente/pkg/controller/file.go:310 (FileController.GetUploadURLs) ------ at /etc/ente/pkg/controller/file.go:345 (FileController.GetThumbnailURL) ------ at /etc/ente/pkg/controller/file.go:1001 (FileController.getObjectURL) ---Caused by: MissingRegion: could not find region configuration req_id=ser_WF7ksQqjyZsEWqJPBQr66p user_id=1580559962386438Caused by: MissingRegion: could not find region configuration req_id=d9c7b7f5-6cb1-481e-977d-9a06a8318d6a user_id=1580559962386438Now i do have a S3 region set in the .env and it worked before?Did you do anything special to set the configuration of the museum? or just the .env?

a month ago

The template relies entirely on environment variables for configuration.

Turns out they changed the formatting of the environment variables. See this commit for details:

https://github.com/ente-io/ente/commit/174d9fb82eb04397728a40f67ecb320a0797ed38

They've replaced hyphens (-) with underscores (_) in the variable names. I’ll update the template asap. I think this should fix it...


a month ago

That was indeed the fix, thank you for your help!


iiroan

That was indeed the fix, thank you for your help!

a month ago

Great, no problem :)


ente - Railway Help Station