Closed adolski closed 1 year ago
Thanks for streamlining this process, it's much easier now. I was able to import approx. 780k books before getting the token expired
error, so I'm happy with that. Is there anything else that needs to be done for this issue or can we close it?
I've made some changes to the Book Tracker's configuration in order to make this more straightforward. After pulling the latest code on
develop
, remove the following keys from yourconfig/development.yml
andtest.yml
files:aws_endpoint
aws_access_key_id
aws_secret_access_key
s3_endpoint
book_bucket
book_key_prefix
temp_bucket
Add the following section to
development.yml
:Add the following section to
test.yml
:Then you should be able to do:
When I just tried this, my import went on for a while and then failed with "Import failed: The provided token has expired." That's an issue with the UofI
aws login
command not rotating its credentials properly (that's why we have to keep doingaws login
periodically when we use it) but you should still end up with at least some books in your database. It's not important to have all of them. Maybe it would work to do anaws login
every 45 minutes or whatever while the import is running if you want to import all 800,000+ books.