spreadshirt/backstage-plugin-s3

buckets, 404 Not Found

Closed this issue · 3 comments

Hi,

Should I do any further changes after the install based on your doc?
Becase I got this message:

log:
"/api/s3/buckets/grouped? HTTP/1.1" 404 "

GUI:
Request failed for buckets/grouped, 404 Not Found

And I do not really understand the cause, the config is working fine and the permission have already been added, I am currently use openshift.

Do you have any suggestions?

heyLu commented

Please check if you have all the required config for the backend: https://github.com/spreadshirt/backstage-plugin-s3/tree/main/plugins/s3-viewer-backend, the 404 looks a bit like the routes could be missing from the backend.

Apart from that, are there any other error logs that could be related? Do any requests to /api/s3 work?

@heyLu Thank for your quick response : ) how do u mean "Do any requests to /api/s3 work?" ? which kind of request? I saw only 404 in the log.

heyLu commented

I suspect the router is missing in your setup as described above, if it is there then http://localhost:3000/api/s3/health should return {"status":"ok"}. Please check if that's the case for your setup and if not follow the instructions at https://github.com/spreadshirt/backstage-plugin-s3/tree/main/plugins/s3-viewer-backend