User Tools

Site Tools


it-maintenance-troubleshooting

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
it-maintenance-troubleshooting [2022/04/19 09:54] – [#MustHaveDevTools] Sylvainit-maintenance-troubleshooting [2022/04/27 07:46] (current) – [Other resources] Sylvain
Line 62: Line 62:
 <code bash> <code bash>
 scp zip1.zip username@<server_ip>:/var/lib/dokku/data/storage/<app_name>/app/cases_zip/2XlcgspHJlCuqDPQFJhzLZaR5s0SGPDAOdwxlMWw.zip scp zip1.zip username@<server_ip>:/var/lib/dokku/data/storage/<app_name>/app/cases_zip/2XlcgspHJlCuqDPQFJhzLZaR5s0SGPDAOdwxlMWw.zip
-</code> 
- 
-Exemple to count the number of medical cases which are not yet syncronize with REDCap inside the PostgreSQL database 
-<code bash> 
-dokku postgres:enter <postgres_container_name> psql -U postgres <postgres_database_name> -c "SELECT count(*) FROM public.medical_cases where redcap=false" 
-</code> 
- 
-Exemple to retrieve every environnement variables 
-[[https://doc.medal-suite.org/doku.php?id=medal-data:variables|More informations about medAL-data environnement variables]] 
-<code bash> 
-sudo dokku <app_name> config:show 
-# Exemple to retrieve CREATOR_ALGORITHM_URL environnement variable 
-sudo dokku <app_name> config:get CREATOR_ALGORITHM_URL 
-</code> 
- 
-Exemple to set a environnement variable 
-<code bash> 
-sudo dokku <app_name> config:set MAIL_USERNAME="exemple@mail.com" 
-# You can also add the --no-restart flag to set STUDY_ID environnement variable without restarting the app 
-sudo dokku <app_name> config:set STUDY_ID="Dynamic Tanzania" --no-restart 
 </code> </code>
  
 ==== Other resources ==== ==== Other resources ====
  
-* [[https://doc.medal-suite.org/doku.php?id=medal-creator:troubleshooting-guide|medAL-//creator// troubleshooting guide]] +  * [[https://doc.medal-suite.org/doku.php?id=medal-creator:troubleshooting-guide|medAL-//creator// troubleshooting guide]] 
-* [[https://doc.medal-suite.org/doku.php?id=medal-reader:troubleshooting-guide|medAL-//reader// troubleshooting guide]] +  * [[https://doc.medal-suite.org/doku.php?id=medal-reader:troubleshooting-guide|medAL-//reader// troubleshooting guide]] 
-* [[https://doc.medal-suite.org/doku.php?id=medal-hub:troubleshooting-guide|medAL-//hub// troubleshooting guide]] +  * [[https://doc.medal-suite.org/doku.php?id=medal-hub:troubleshooting-guide|medAL-//hub// troubleshooting guide]] 
-* [[https://doc.medal-suite.org/doku.php?id=medal-data:troubleshooting-guide|medAL-//data// troubleshooting guide]]+  * [[https://doc.medal-suite.org/doku.php?id=medal-data:troubleshooting-guide|medAL-//data// troubleshooting guide]]
  
it-maintenance-troubleshooting.1650354846.txt.gz · Last modified: 2022/04/19 09:54 by Sylvain