6 Replies
a year 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}}
a year ago
Fixed it! Thanks for letting me know :)
10 months 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?
10 months 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...
iiroan
That was indeed the fix, thank you for your help!
10 months ago
Great, no problem :)