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/12 11:47] Sylvainit-maintenance-troubleshooting [2022/04/27 07:46] (current) – [Other resources] Sylvain
Line 34: Line 34:
 ==== #MustHaveDevTools ==== ==== #MustHaveDevTools ====
  
-    * WinSCP+    * [[https://winscp.net/eng/download.php|WinSCP]]
         * WinSCP is a free SFTP, SCP, Amazon S3, WebDAV, and FTP client for Windows.         * WinSCP is a free SFTP, SCP, Amazon S3, WebDAV, and FTP client for Windows.
         * This tool will help you to access all files on your server and for example to retrieve a json in the failures folder or a log file.         * This tool will help you to access all files on your server and for example to retrieve a json in the failures folder or a log file.
-    * Putty+    * [[https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html|Putty]]
         * PuTTY is a free and open-source terminal emulator, serial console and network file transfer application. It supports several network protocols, including SCP, SSH, Telnet, rlogin, and raw socket connection. It can also connect to a serial port.         * PuTTY is a free and open-source terminal emulator, serial console and network file transfer application. It supports several network protocols, including SCP, SSH, Telnet, rlogin, and raw socket connection. It can also connect to a serial port.
         * This will help you connect directly to your server.         * This will help you connect directly to your server.
-    * pgAdmin+    * [[https://www.pgadmin.org/download/|pgAdmin]]
         * pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.         * pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
         * This tool will help you to retrieve information from the medAL-data database for example         * This tool will help you to retrieve information from the medAL-data database for example
 +    * [[https://keepass.info/download.html|KeePass]], this tool is an utility to manage all your passwords
  
 ==== Useful resources ==== ==== Useful resources ====
Line 60: Line 61:
 Exemple to retrieve a zip file Exemple to retrieve a zip file
 <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 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.1649756827.txt.gz · Last modified: 2022/04/12 11:47 by Sylvain