Some hash mismatches don’t matter anymore after the change tracked in this issue:
In principle, snapshots could work without redis, but in practice it is not a configuration we test. Do you have a redis instance available? If so you can set REDIS_URL to whatever your provider says to use for that instance. The /N can be omitted. By default redis instances typically offer 16 or so distinct “databases” identified by a small number, but that isn’t important for your use-case. Omitting the /N uses a default redis “database”.
We still seem to have this problem of not being able to import files with S3 enabled. In the meantime we had our big document placed inside the directory where the .grist file should be and then we enabled S3 so that is working fine but we won’t be able to import documents straight from the website itself due to the metadata issue. We would have to basically do SSH or connect to the instance and manually put the .grist file every time an import is necessary for .grist files.
The database number can just be 0. Every redis instance has a collection of numbered databases available, with the first one (0) being the default.
The hostname should be whatever AWS says it is, I would guess it is in what you are seeing in the Endpoint section. Include any port number (you could omit it if it is 6379 I think, since that is the default for Redis). You may need to tweak security group settings to make it accessible to the Grist instance.
Overall it might look something along the lines of redis://xxxxxx.0001.use1.cache.amazonaws.com:6379/0
I configured the inbound security group to allow my grist instance to access the Redis endpoint but still getting the same issue unfortunately. Not sure where I am making the issue. Tried to follow the link you provided as well.
There’s a pull request to fix the original issue here:
Once that’s merged, the fix will be in the next release we do.
The issue was the code that managed the S3 upload was expecting to be able to query Redis. Without Redis, it was thinking the imported file was out of date and deleting it.
It’s worth noting though that running S3 / Minio without Redis isn’t something we (currently) test, so you might run into other issues later on running only S3. Getting Redis working would definitely be a more resilient and reliable solution!
Thank you, I have not been able to implement Redis as it did not connect to my instance but I will try to look more into it. It should be some type of configuration change within the security groups.