Closed kai-wei-mo closed 2 years ago
@pjreed I don't have the capability to test S3 buckets. Any idea what's going on?
I'm pretty busy at the moment, but I'll try to test this when I have the chance. For what it's worth, you could use MinIO to start up a local S3 service and test using that, although of course, that doesn't guarantee it'd work with Amazon.
@kai-wei-mo Could you share the contents of the log file that is printed after you run docker-compose up
?
Sure thing, here's the log file @pjreed https://gist.github.com/kai-wei-mo/3a37dc75da9d73a725b5cf73e82a3f34
Hm... this exception makes me think it's having an error parsing your settings.yml file:
bagdb_1 | 2022-03-08 20:32:29.992 [main] ERROR c.g.s.config.ConfigService - Error parsing YAML:
bagdb_1 | com.esotericsoftware.yamlbeans.YamlReader$YamlReaderException: Line 19, column 22: Unable to find property 'storageConfigurations' on class: com.github.swrirobotics.support.web.Configuration
Could you also share your entire settings.yml
file?
Sure thing, I also updated the URL for the previous link I sent so here is both: https://gist.github.com/kai-wei-mo/3a37dc75da9d73a725b5cf73e82a3f34 (logs) https://gist.github.com/kai-wei-mo/86d25833c0a9b55599f66b8df32f2dba (settings.yml)
Aha, I think the problem is that the deployed swrirobotics/bag-database:latest
Docker image is an old version that doesn't support S3 storage. That's actually been deprecated for a while now in favor of using images deployed to the GitHub container repository, so @danthony06 might want to skim through the documentation and find any references to that and replace them. Try using ghcr.io/swri-robotics/bag-database/bag-database:latest
as the image in your docker-compose.yml
instead and see if it loads your config file.
Ah yes! That fixes everything for us. Thanks for your help @pjreed :D
The bag-database does not show any contents of an S3 bucket, as seen in the attached image.![image](https://user-images.githubusercontent.com/66972679/156906092-874edf39-19f7-4d46-87b1-da05ea6b1c1f.png)
To reproduce this error:
bagdb
'sbuild .
withimage: swrirobotics/bag-database:latest