Skip to content

Troubleshooting: Downloads

Sergio Marrocoli edited this page Dec 20, 2022 · 3 revisions

If the downloads break or are downloading the wrong thing, you can try deleting the redis keys. This will clear the cache of downloads and force all subsequent downloads to be regenerated. This should be your first step for download issues.

Ssh into production and open up the console with bundle exec rails c production

Then locate all the download keys in redis and delete them...

keys = $redis.keys('downloads:*')
$redis.del(keys)

Lastly, restart the server to make sure the changes are picked up...

cap production deploy:restart

If the issue persists, you may want to look into the data of the latest import or other issues

Clone this wiki locally