diff options
author | Lan Hui <lanhui@zjnu.edu.cn> | 2025-09-29 17:42:58 +0800 |
---|---|---|
committer | Lan Hui <lanhui@zjnu.edu.cn> | 2025-09-29 17:42:58 +0800 |
commit | 8aeb7af852d251d459248f25f92eab48f5042f62 (patch) | |
tree | c8cd62cdafacf762c193d464c76888ba2caea360 | |
parent | 358d0c1b764abea15aa732c6c982219be2bc8370 (diff) |
Redis troubleshooting
-rw-r--r-- | brain.documentation/QUICKSTART.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/brain.documentation/QUICKSTART.rst b/brain.documentation/QUICKSTART.rst index dbeddd7..33a4a36 100644 --- a/brain.documentation/QUICKSTART.rst +++ b/brain.documentation/QUICKSTART.rst @@ -1167,7 +1167,9 @@ Python3 is required too. - Salmon 0.7.2 for mapping RNA-seq data. - - Redis for download_and_map.py and get_mapped_data.py. + - Redis + + Redis is used in publish_mapped_data.py (server side) and get_mapped_data.py (client side) for sending mapped RNA-seq data. How to install Python's redis module? sudo pip3.8 install redis (or you can just omit 3.8). @@ -1181,6 +1183,11 @@ Python3 is required too. export REDIS_PASSWORD="the-really-strong-password" export REDIS_HOST="redis-server-ip-address" # do not need this line for the redis server side Then type the command "source ~/.bashrc" to let the changes take effect. + The Python script needs REDIS_PASSWORD and is scheduled by crontab, then specify REDIS_PASSWORD on the top line in crontab. + + Troubleshooting + get_mapped_data.py always shows "Timeout connecting to server". This is probably due to the change happened to the client's IP address. Check the client's IP address, and make sure that IP address is allowed in the Redis server's firewall (Use command ``sudo ufw status`` to check). + Important files and directories ------------------------------- |