22/04/23 - 19h

master
cherif 2023-04-22 19:16:23 +02:00
parent 7a940c88d3
commit 2c597c005b
5 changed files with 1013 additions and 7 deletions

View File

@ -1,8 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="20/04/23 - 16h"> <list default="true" id="c6d0259a-16e1-410d-91a1-830590ee2a08" name="Changes" comment="20/04/23 - 20h">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/GlobalVariable.py" beforeDir="false" afterPath="$PROJECT_DIR$/GlobalVariable.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" afterDir="false" /> <change beforePath="$PROJECT_DIR$/Log/log_file.log" beforeDir="false" afterPath="$PROJECT_DIR$/Log/log_file.log" afterDir="false" />
<change beforePath="$PROJECT_DIR$/lms_chamilo/mysy_lms.py" beforeDir="false" afterPath="$PROJECT_DIR$/lms_chamilo/mysy_lms.py" afterDir="false" /> <change beforePath="$PROJECT_DIR$/lms_chamilo/mysy_lms.py" beforeDir="false" afterPath="$PROJECT_DIR$/lms_chamilo/mysy_lms.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" /> <change beforePath="$PROJECT_DIR$/main.py" beforeDir="false" afterPath="$PROJECT_DIR$/main.py" afterDir="false" />
@ -118,7 +119,14 @@
<option name="project" value="LOCAL" /> <option name="project" value="LOCAL" />
<updated>1681998167874</updated> <updated>1681998167874</updated>
</task> </task>
<option name="localTasksCounter" value="9" /> <task id="LOCAL-00009" summary="20/04/23 - 20h">
<created>1682013957129</created>
<option name="number" value="00009" />
<option name="presentableId" value="LOCAL-00009" />
<option name="project" value="LOCAL" />
<updated>1682013957129</updated>
</task>
<option name="localTasksCounter" value="10" />
<servers /> <servers />
</component> </component>
<component name="Vcs.Log.Tabs.Properties"> <component name="Vcs.Log.Tabs.Properties">
@ -140,6 +148,7 @@
<MESSAGE value="15/04/23 - 14h" /> <MESSAGE value="15/04/23 - 14h" />
<MESSAGE value="15/04/23 - 22h" /> <MESSAGE value="15/04/23 - 22h" />
<MESSAGE value="20/04/23 - 16h" /> <MESSAGE value="20/04/23 - 16h" />
<option name="LAST_COMMIT_MESSAGE" value="20/04/23 - 16h" /> <MESSAGE value="20/04/23 - 20h" />
<option name="LAST_COMMIT_MESSAGE" value="20/04/23 - 20h" />
</component> </component>
</project> </project>

View File

@ -343,3 +343,9 @@ Cette variable est le l'url de base pour le lms.
cette valeur est utilisée pour la creation des url du lms cette valeur est utilisée pour la creation des url du lms
""" """
LMS_BAS_URL = "mysy-training.fr/" LMS_BAS_URL = "mysy-training.fr/"
"""
Varibale definit la taille maximiale des repertoire à créer par mysy
"""
DIRECTORY_MAX_LENGTH = 50

View File

@ -1567813,3 +1567813,852 @@ INFO:root:2023-04-20 20:05:15.452159 : Security check : IP adresse '127.0.0.1'
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:05:15] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 - INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:05:15] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
INFO:root:2023-04-20 20:05:18.233278 : Security check : IP adresse '127.0.0.1' connected INFO:root:2023-04-20 20:05:18.233278 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:05:18] "POST /myclass/api/Lms_Config_Theme_and_Logo/ HTTP/1.1" 200 - INFO:werkzeug:127.0.0.1 - - [20/Apr/2023 20:05:18] "POST /myclass/api/Lms_Config_Theme_and_Logo/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:56:08.707383 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-21 10:56:08.707383 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-21 10:56:08.708839 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-21 10:56:08.708839 : ++ FLASK PORT 5001 ++
INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://localhost:5001
INFO:werkzeug:Press CTRL+C to quit
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-21 10:56:21.351803 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-21 10:56:21.351803 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-21 10:56:21.351803 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-21 10:56:21.351803 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:root:2023-04-21 10:56:48.216607 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 10:56:48.217622 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 10:56:48.219860 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:48] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:48] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:48] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:56:49.118303 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 10:56:49.118810 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:56:49.620375 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 10:56:49.624446 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 10:56:49.627570 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:56:49.631696 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:56:49.637449 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 10:56:49.640398 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:56:49.646968 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:56:49.652846 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 10:56:49.655184 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:56:49.659414 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:56:49.664685 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 10:56:49.670599 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:56:49.675141 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 10:56:49.679174 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:56:49.686439 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:56:49.696916 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 10:56:49.698125 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 10:56:49.702491 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:56:49.708035 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 10:56:49.710349 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:56:49] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:58:53.484159 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 10:58:54.185591 : partner_login Connexion partnair mysylaplumedepierrot@gmail.com : OK, Date : 2023-04-21 10:58:53.485161 , _id = 63e8f2745d4b4085b83f3aec
INFO:root:2023-04-21 10:58:54.190721 : partner_login Connexion partener_token : OK , _id = 63e8f2c17b7f1fbbc5ee9419
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:58:54] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:58:54.387026 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 10:58:54.389571 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 10:58:54.392692 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:58:54] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:58:54.397597 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 10:58:54.405745 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:58:54] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:58:54] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:58:54] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-04-21 10:58:54.757984 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 10:58:54] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
INFO:root:2023-04-21 11:00:20.703025 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 11:00:20.706449 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 11:00:20.711022 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 11:00:20] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:root:2023-04-21 11:00:20.719260 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 11:00:20.720851 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 11:00:20] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 11:00:20] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 11:00:20] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
INFO:root:2023-04-21 11:01:11.388367 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 11:01:11.392368 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 11:01:11.394366 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 11:01:11] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:root:2023-04-21 11:01:11.401788 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-21 11:01:11.410182 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 11:01:11] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 11:01:11] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 11:01:11] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
INFO:root:2023-04-21 11:01:12.144671 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 11:01:12] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
INFO:root:2023-04-21 11:01:16.443784 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 11:01:16] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
INFO:root:2023-04-21 11:01:20.105445 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [21/Apr/2023 11:01:20] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
INFO:root:2023-04-22 15:15:31.898565 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 15:15:31.898565 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 15:15:31.899559 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 15:15:31.899559 : ++ FLASK PORT 5001 ++
INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://localhost:5001
INFO:werkzeug:Press CTRL+C to quit
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 17:10:08.475108 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 17:10:08.476109 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 17:10:08.476109 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 17:10:08.476109 : ++ FLASK PORT 5001 ++
INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://localhost:5001
INFO:werkzeug:Press CTRL+C to quit
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 17:10:23.811085 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 17:10:23.811085 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 17:10:23.811085 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 17:10:23.811085 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:root:2023-04-22 17:11:30.877347 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-22 17:11:30.879353 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-22 17:11:30.880352 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:30] "POST /myclass/api/get_List_domaine_formation/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:30] "POST /myclass/api/Get_Suggested_Fr_Cities/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:31] "POST /myclass/api/Get_Suggested_Word/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:31.640000 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-22 17:11:31.641002 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:31] "POST /myclass/api/get_all_class/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:32.517900 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-22 17:11:32.520899 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-22 17:11:32.523905 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:32.529023 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-22 17:11:32.532024 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:32.541015 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-22 17:11:32.545019 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:32.553024 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:32.559015 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-22 17:11:32.561019 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:32.567015 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:32.571012 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:32.577018 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-22 17:11:32.582022 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:32.587014 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:32.592013 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:32.599018 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-22 17:11:32.603015 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:32.609015 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:32.612036 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/getRecodedClassImage_from_front/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:32] "POST /myclass/api/GetActiveSessionFormation_List/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:37.658888 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-22 17:11:38.665183 : partner_login Connexion partnair mysylaplumedepierrot@gmail.com : OK, Date : 2023-04-22 17:11:37.659873 , _id = 63e8f2745d4b4085b83f3aec
INFO:root:2023-04-22 17:11:38.670281 : partner_login Connexion partener_token : OK , _id = 63e8f2c17b7f1fbbc5ee9419
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:38] "POST /myclass/api/partner_login/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:38.938253 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-22 17:11:38.944254 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:38] "POST /myclass/api/getRecodedImage/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:38.948249 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-22 17:11:38.953258 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-22 17:11:38.962251 : Connexion du partner recid = 62f24843a09cde3b34017eb343c5955ac56df5ea04635be1ca OK. Mise à jour du firstconnexion et/ou lastconnexion : OK
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:38] "POST /myclass/api/get_partner_account/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:38] "POST /myclass/api/LMS_Get_Partner_Data/ HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:38] "POST /myclass/api/get_partner_class/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:11:39.394252 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:11:39] "POST /myclass/api/find_partner_class_like/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:20:22.282180 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:20:22] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:20:24.328501 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:20:24] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
INFO:root:2023-04-22 17:20:26.227886 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:20:26] "POST /myclass/api/Get_Lms_Themes/ HTTP/1.1" 200 -
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 17:51:51.119068 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 17:51:51.119068 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 17:51:51.119068 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 17:51:51.119068 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 17:54:20.847397 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 17:54:20.847397 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 17:54:20.847397 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 17:54:20.847397 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 17:54:45.266798 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 17:54:45.266798 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 17:54:45.267800 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 17:54:45.267800 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 17:55:19.615505 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 17:55:19.616505 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 17:55:19.616505 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 17:55:19.616505 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\main.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 17:57:31.484411 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 17:57:31.485514 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 17:57:31.485514 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 17:57:31.485514 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 17:57:50.586128 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 17:57:50.586128 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 17:57:50.586128 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 17:57:50.586128 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 17:58:27.255179 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 17:58:27.256160 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 17:58:27.256160 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 17:58:27.256160 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:root:2023-04-22 17:58:43.838806 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:58:43] "POST /myclass/api/Duplicate_LMS_Theme_Design HTTP/1.1" 308 -
INFO:root:2023-04-22 17:58:43.847817 : Security check : IP adresse '127.0.0.1' connected
DEBUG:paramiko.transport:starting thread (client mode): 0x7a0584f0
DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0
DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
DEBUG:paramiko.transport:=== Key exchange possibilities ===
DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
DEBUG:paramiko.transport:client lang: <none>
DEBUG:paramiko.transport:server lang: <none>
DEBUG:paramiko.transport:kex follows: False
DEBUG:paramiko.transport:=== Key exchange agreements ===
DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
DEBUG:paramiko.transport:HostKey: ssh-ed25519
DEBUG:paramiko.transport:Cipher: aes128-ctr
DEBUG:paramiko.transport:MAC: hmac-sha2-256
DEBUG:paramiko.transport:Compression: none
DEBUG:paramiko.transport:=== End of kex handshake ===
DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo <built-in function openssl_sha256>
DEBUG:paramiko.transport:Switch to new keys ...
DEBUG:paramiko.transport:Adding ssh-ed25519 host key for 88.170.110.220: b'e44b0a61fb86892f0b6973a38e33cec5'
DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
DEBUG:paramiko.transport:userauth is OK
INFO:paramiko.transport:Authentication (password) successful!
DEBUG:paramiko.transport:EOF in transport thread
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 17:58:44] "POST /myclass/api/Duplicate_LMS_Theme_Design/ HTTP/1.1" 200 -
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 18:00:05.644534 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 18:00:05.645532 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 18:00:05.645532 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 18:00:05.645532 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 18:00:32.144891 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 18:00:32.144891 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 18:00:32.144891 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 18:00:32.144891 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:root:2023-04-22 18:00:47.310263 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:00:47] "POST /myclass/api/Duplicate_LMS_Theme_Design HTTP/1.1" 308 -
INFO:root:2023-04-22 18:00:47.319262 : Security check : IP adresse '127.0.0.1' connected
DEBUG:paramiko.transport:starting thread (client mode): 0xa81d05e0
DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0
DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
DEBUG:paramiko.transport:=== Key exchange possibilities ===
DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
DEBUG:paramiko.transport:client lang: <none>
DEBUG:paramiko.transport:server lang: <none>
DEBUG:paramiko.transport:kex follows: False
DEBUG:paramiko.transport:=== Key exchange agreements ===
DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
DEBUG:paramiko.transport:HostKey: ssh-ed25519
DEBUG:paramiko.transport:Cipher: aes128-ctr
DEBUG:paramiko.transport:MAC: hmac-sha2-256
DEBUG:paramiko.transport:Compression: none
DEBUG:paramiko.transport:=== End of kex handshake ===
DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo <built-in function openssl_sha256>
DEBUG:paramiko.transport:Switch to new keys ...
DEBUG:paramiko.transport:Adding ssh-ed25519 host key for 88.170.110.220: b'e44b0a61fb86892f0b6973a38e33cec5'
DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
DEBUG:paramiko.transport:userauth is OK
INFO:paramiko.transport:Authentication (password) successful!
DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 0 opened.
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:paramiko.transport:[chan 0] EOF received (0)
DEBUG:paramiko.transport:[chan 0] EOF sent (0)
DEBUG:paramiko.transport:[chan 1] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 1] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 1 opened.
DEBUG:paramiko.transport:[chan 1] Sesch channel 1 request ok
DEBUG:paramiko.transport:[chan 1] EOF received (1)
DEBUG:paramiko.transport:[chan 2] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 1] EOF sent (1)
DEBUG:paramiko.transport:[chan 2] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 2 opened.
DEBUG:paramiko.transport:[chan 2] Sesch channel 2 request ok
DEBUG:paramiko.transport:[chan 2] EOF received (2)
DEBUG:paramiko.transport:[chan 2] EOF sent (2)
DEBUG:paramiko.transport:[chan 3] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 3] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 3 opened.
DEBUG:paramiko.transport:[chan 3] Sesch channel 3 request ok
DEBUG:paramiko.transport:[chan 3] EOF received (3)
DEBUG:paramiko.transport:EOF in transport thread
DEBUG:paramiko.transport:[chan 3] EOF sent (3)
DEBUG:paramiko.transport:Dropping user packet because connection is dead.
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:00:48] "POST /myclass/api/Duplicate_LMS_Theme_Design/ HTTP/1.1" 200 -
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 18:12:51.139063 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 18:12:51.140062 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 18:12:51.140062 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 18:12:51.140062 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 18:13:36.559807 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 18:13:36.559807 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 18:13:36.559807 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 18:13:36.559807 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:root:2023-04-22 18:13:36.599366 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:13:36] "POST /myclass/api/Duplicate_LMS_Theme_Design HTTP/1.1" 308 -
INFO:root:2023-04-22 18:13:36.606375 : Security check : IP adresse '127.0.0.1' connected
DEBUG:paramiko.transport:starting thread (client mode): 0xb0d948e0
DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0
DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
DEBUG:paramiko.transport:=== Key exchange possibilities ===
DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
DEBUG:paramiko.transport:client lang: <none>
DEBUG:paramiko.transport:server lang: <none>
DEBUG:paramiko.transport:kex follows: False
DEBUG:paramiko.transport:=== Key exchange agreements ===
DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
DEBUG:paramiko.transport:HostKey: ssh-ed25519
DEBUG:paramiko.transport:Cipher: aes128-ctr
DEBUG:paramiko.transport:MAC: hmac-sha2-256
DEBUG:paramiko.transport:Compression: none
DEBUG:paramiko.transport:=== End of kex handshake ===
DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo <built-in function openssl_sha256>
DEBUG:paramiko.transport:Switch to new keys ...
DEBUG:paramiko.transport:Adding ssh-ed25519 host key for 88.170.110.220: b'e44b0a61fb86892f0b6973a38e33cec5'
DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
DEBUG:paramiko.transport:userauth is OK
INFO:paramiko.transport:Authentication (password) successful!
DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 0 opened.
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:paramiko.transport:[chan 0] EOF received (0)
DEBUG:paramiko.transport:[chan 1] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 0] EOF sent (0)
DEBUG:paramiko.transport:[chan 1] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 1 opened.
DEBUG:paramiko.transport:[chan 1] Sesch channel 1 request ok
DEBUG:paramiko.transport:[chan 1] EOF received (1)
DEBUG:paramiko.transport:[chan 2] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 1] EOF sent (1)
DEBUG:paramiko.transport:[chan 2] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 2 opened.
DEBUG:paramiko.transport:[chan 2] Sesch channel 2 request ok
DEBUG:paramiko.transport:[chan 2] EOF received (2)
DEBUG:paramiko.transport:[chan 2] EOF sent (2)
DEBUG:paramiko.transport:[chan 3] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 3] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 3 opened.
DEBUG:paramiko.transport:[chan 3] Sesch channel 3 request ok
DEBUG:paramiko.transport:[chan 3] EOF received (3)
DEBUG:paramiko.transport:[chan 4] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 3] EOF sent (3)
DEBUG:paramiko.transport:[chan 4] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 4 opened.
DEBUG:paramiko.transport:[chan 4] Sesch channel 4 request ok
DEBUG:paramiko.transport:[chan 4] EOF received (4)
DEBUG:paramiko.transport:[chan 4] EOF sent (4)
DEBUG:paramiko.transport:Dropping user packet because connection is dead.
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:13:40] "POST /myclass/api/Duplicate_LMS_Theme_Design/ HTTP/1.1" 200 -
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 18:41:37.513395 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 18:41:37.513395 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 18:41:37.513395 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 18:41:37.513395 : ++ FLASK PORT 5001 ++
INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://localhost:5001
INFO:werkzeug:Press CTRL+C to quit
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 18:41:49.001217 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 18:41:49.001217 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 18:41:49.001217 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 18:41:49.001217 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:root:2023-04-22 18:42:31.789666 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:42:31] "POST /myclass/api/Duplicate_LMS_Theme_Design HTTP/1.1" 308 -
INFO:root:2023-04-22 18:42:31.801951 : Security check : IP adresse '127.0.0.1' connected
INFO:root:2023-04-22 18:42:32.688429 : Duplicate_LMS_Theme_Design - Les valeurs 'cosmic_campus' ou '37_cosmic_campus' sont incorrectes
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:42:32] "POST /myclass/api/Duplicate_LMS_Theme_Design/ HTTP/1.1" 200 -
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 18:46:58.490220 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 18:46:58.490220 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 18:46:58.490220 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 18:46:58.490220 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 18:50:00.641994 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 18:50:00.641994 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 18:50:00.641994 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 18:50:00.641994 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:root:2023-04-22 18:50:00.684590 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:50:00] "POST /myclass/api/Duplicate_LMS_Theme_Design HTTP/1.1" 308 -
INFO:root:2023-04-22 18:50:00.692593 : Security check : IP adresse '127.0.0.1' connected
DEBUG:paramiko.transport:starting thread (client mode): 0xf4f44790
DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0
DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
DEBUG:paramiko.transport:=== Key exchange possibilities ===
DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
DEBUG:paramiko.transport:client lang: <none>
DEBUG:paramiko.transport:server lang: <none>
DEBUG:paramiko.transport:kex follows: False
DEBUG:paramiko.transport:=== Key exchange agreements ===
DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
DEBUG:paramiko.transport:HostKey: ssh-ed25519
DEBUG:paramiko.transport:Cipher: aes128-ctr
DEBUG:paramiko.transport:MAC: hmac-sha2-256
DEBUG:paramiko.transport:Compression: none
DEBUG:paramiko.transport:=== End of kex handshake ===
DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo <built-in function openssl_sha256>
DEBUG:paramiko.transport:Switch to new keys ...
DEBUG:paramiko.transport:Adding ssh-ed25519 host key for 88.170.110.220: b'e44b0a61fb86892f0b6973a38e33cec5'
DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
DEBUG:paramiko.transport:userauth is OK
INFO:paramiko.transport:Authentication (password) successful!
DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 0 opened.
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:paramiko.transport:[chan 0] EOF received (0)
DEBUG:paramiko.transport:[chan 0] EOF sent (0)
DEBUG:paramiko.transport:[chan 1] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 1] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 1 opened.
DEBUG:paramiko.transport:[chan 1] Sesch channel 1 request ok
DEBUG:paramiko.transport:[chan 1] EOF received (1)
DEBUG:paramiko.transport:[chan 1] EOF sent (1)
DEBUG:paramiko.transport:Dropping user packet because connection is dead.
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:50:03] "POST /myclass/api/Duplicate_LMS_Theme_Design/ HTTP/1.1" 200 -
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 18:53:30.889996 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 18:53:30.889996 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 18:53:30.889996 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 18:53:30.889996 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:root:2023-04-22 18:53:30.930580 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:53:30] "POST /myclass/api/Duplicate_LMS_Theme_Design HTTP/1.1" 308 -
INFO:root:2023-04-22 18:53:30.939144 : Security check : IP adresse '127.0.0.1' connected
DEBUG:paramiko.transport:starting thread (client mode): 0xc3a95120
DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0
DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
DEBUG:paramiko.transport:=== Key exchange possibilities ===
DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
DEBUG:paramiko.transport:client lang: <none>
DEBUG:paramiko.transport:server lang: <none>
DEBUG:paramiko.transport:kex follows: False
DEBUG:paramiko.transport:=== Key exchange agreements ===
DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
DEBUG:paramiko.transport:HostKey: ssh-ed25519
DEBUG:paramiko.transport:Cipher: aes128-ctr
DEBUG:paramiko.transport:MAC: hmac-sha2-256
DEBUG:paramiko.transport:Compression: none
DEBUG:paramiko.transport:=== End of kex handshake ===
DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo <built-in function openssl_sha256>
DEBUG:paramiko.transport:Switch to new keys ...
DEBUG:paramiko.transport:Adding ssh-ed25519 host key for 88.170.110.220: b'e44b0a61fb86892f0b6973a38e33cec5'
DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
DEBUG:paramiko.transport:userauth is OK
INFO:paramiko.transport:Authentication (password) successful!
DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 0 opened.
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:paramiko.transport:[chan 0] EOF received (0)
DEBUG:paramiko.transport:[chan 0] EOF sent (0)
DEBUG:paramiko.transport:[chan 1] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 1] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 1 opened.
DEBUG:paramiko.transport:[chan 1] Sesch channel 1 request ok
DEBUG:paramiko.transport:[chan 1] EOF received (1)
DEBUG:paramiko.transport:[chan 1] EOF sent (1)
DEBUG:paramiko.transport:EOF in transport thread
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:53:33] "POST /myclass/api/Duplicate_LMS_Theme_Design/ HTTP/1.1" 200 -
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 18:55:31.067809 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 18:55:31.067809 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 18:55:31.067809 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 18:55:31.067809 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:root:2023-04-22 18:55:33.577801 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:55:33] "POST /myclass/api/Duplicate_LMS_Theme_Design HTTP/1.1" 308 -
INFO:root:2023-04-22 18:55:33.588360 : Security check : IP adresse '127.0.0.1' connected
DEBUG:paramiko.transport:starting thread (client mode): 0x7d8550c0
DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0
DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
DEBUG:paramiko.transport:=== Key exchange possibilities ===
DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
DEBUG:paramiko.transport:client lang: <none>
DEBUG:paramiko.transport:server lang: <none>
DEBUG:paramiko.transport:kex follows: False
DEBUG:paramiko.transport:=== Key exchange agreements ===
DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
DEBUG:paramiko.transport:HostKey: ssh-ed25519
DEBUG:paramiko.transport:Cipher: aes128-ctr
DEBUG:paramiko.transport:MAC: hmac-sha2-256
DEBUG:paramiko.transport:Compression: none
DEBUG:paramiko.transport:=== End of kex handshake ===
DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo <built-in function openssl_sha256>
DEBUG:paramiko.transport:Switch to new keys ...
DEBUG:paramiko.transport:Adding ssh-ed25519 host key for 88.170.110.220: b'e44b0a61fb86892f0b6973a38e33cec5'
DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
DEBUG:paramiko.transport:userauth is OK
INFO:paramiko.transport:Authentication (password) successful!
DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 0 opened.
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:paramiko.transport:[chan 0] EOF received (0)
DEBUG:paramiko.transport:[chan 0] EOF sent (0)
DEBUG:paramiko.transport:[chan 1] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 1] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 1 opened.
DEBUG:paramiko.transport:[chan 1] Sesch channel 1 request ok
DEBUG:paramiko.transport:[chan 1] EOF received (1)
DEBUG:paramiko.transport:[chan 1] EOF sent (1)
DEBUG:paramiko.transport:[chan 2] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 2] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 2 opened.
DEBUG:paramiko.transport:[chan 2] Sesch channel 2 request ok
DEBUG:paramiko.transport:[chan 2] EOF received (2)
DEBUG:paramiko.transport:[chan 2] EOF sent (2)
DEBUG:paramiko.transport:[chan 3] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 3] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 3 opened.
DEBUG:paramiko.transport:[chan 3] Sesch channel 3 request ok
DEBUG:paramiko.transport:[chan 3] EOF received (3)
DEBUG:paramiko.transport:[chan 3] EOF sent (3)
DEBUG:paramiko.transport:EOF in transport thread
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:55:36] "POST /myclass/api/Duplicate_LMS_Theme_Design/ HTTP/1.1" 200 -
INFO:root:2023-04-22 18:55:58.136380 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:55:58] "POST /myclass/api/Duplicate_LMS_Theme_Design HTTP/1.1" 308 -
INFO:root:2023-04-22 18:55:58.145365 : Security check : IP adresse '127.0.0.1' connected
DEBUG:paramiko.transport:starting thread (client mode): 0x7d857b50
DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0
DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
DEBUG:paramiko.transport:=== Key exchange possibilities ===
DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
DEBUG:paramiko.transport:client lang: <none>
DEBUG:paramiko.transport:server lang: <none>
DEBUG:paramiko.transport:kex follows: False
DEBUG:paramiko.transport:=== Key exchange agreements ===
DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
DEBUG:paramiko.transport:HostKey: ssh-ed25519
DEBUG:paramiko.transport:Cipher: aes128-ctr
DEBUG:paramiko.transport:MAC: hmac-sha2-256
DEBUG:paramiko.transport:Compression: none
DEBUG:paramiko.transport:=== End of kex handshake ===
DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo <built-in function openssl_sha256>
DEBUG:paramiko.transport:Switch to new keys ...
DEBUG:paramiko.transport:Adding ssh-ed25519 host key for 88.170.110.220: b'e44b0a61fb86892f0b6973a38e33cec5'
DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
DEBUG:paramiko.transport:userauth is OK
INFO:paramiko.transport:Authentication (password) successful!
DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 0 opened.
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:paramiko.transport:[chan 0] EOF received (0)
DEBUG:paramiko.transport:[chan 0] EOF sent (0)
DEBUG:paramiko.transport:[chan 1] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 1] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 1 opened.
DEBUG:paramiko.transport:[chan 1] Sesch channel 1 request ok
DEBUG:paramiko.transport:[chan 1] EOF received (1)
DEBUG:paramiko.transport:[chan 1] EOF sent (1)
DEBUG:paramiko.transport:[chan 2] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 2] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 2 opened.
DEBUG:paramiko.transport:[chan 2] Sesch channel 2 request ok
DEBUG:paramiko.transport:[chan 2] EOF received (2)
DEBUG:paramiko.transport:[chan 2] EOF sent (2)
DEBUG:paramiko.transport:[chan 3] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 3] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 3 opened.
DEBUG:paramiko.transport:[chan 3] Sesch channel 3 request ok
DEBUG:paramiko.transport:[chan 3] EOF received (3)
DEBUG:paramiko.transport:[chan 3] EOF sent (3)
DEBUG:paramiko.transport:EOF in transport thread
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:55:58] "POST /myclass/api/Duplicate_LMS_Theme_Design/ HTTP/1.1" 200 -
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 18:56:58.350116 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 18:56:58.351115 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 18:56:58.351115 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 18:56:58.351115 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:root:2023-04-22 18:56:58.390114 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:56:58] "POST /myclass/api/Duplicate_LMS_Theme_Design HTTP/1.1" 308 -
INFO:root:2023-04-22 18:56:58.397112 : Security check : IP adresse '127.0.0.1' connected
DEBUG:paramiko.transport:starting thread (client mode): 0xa1214880
DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0
DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
DEBUG:paramiko.transport:=== Key exchange possibilities ===
DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
DEBUG:paramiko.transport:client lang: <none>
DEBUG:paramiko.transport:server lang: <none>
DEBUG:paramiko.transport:kex follows: False
DEBUG:paramiko.transport:=== Key exchange agreements ===
DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
DEBUG:paramiko.transport:HostKey: ssh-ed25519
DEBUG:paramiko.transport:Cipher: aes128-ctr
DEBUG:paramiko.transport:MAC: hmac-sha2-256
DEBUG:paramiko.transport:Compression: none
DEBUG:paramiko.transport:=== End of kex handshake ===
DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo <built-in function openssl_sha256>
DEBUG:paramiko.transport:Switch to new keys ...
DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
DEBUG:paramiko.transport:Adding ssh-ed25519 host key for 88.170.110.220: b'e44b0a61fb86892f0b6973a38e33cec5'
DEBUG:paramiko.transport:userauth is OK
INFO:paramiko.transport:Authentication (password) successful!
DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 0 opened.
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:paramiko.transport:[chan 0] EOF received (0)
DEBUG:paramiko.transport:[chan 0] EOF sent (0)
DEBUG:paramiko.transport:[chan 1] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 1] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 1 opened.
DEBUG:paramiko.transport:[chan 1] Sesch channel 1 request ok
DEBUG:paramiko.transport:[chan 1] EOF received (1)
DEBUG:paramiko.transport:EOF in transport thread
DEBUG:paramiko.transport:[chan 1] EOF sent (1)
DEBUG:paramiko.transport:Dropping user packet because connection is dead.
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:57:00] "POST /myclass/api/Duplicate_LMS_Theme_Design/ HTTP/1.1" 200 -
INFO:root:2023-04-22 18:57:07.215657 : Security check : IP adresse '127.0.0.1' connected
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:57:07] "POST /myclass/api/Duplicate_LMS_Theme_Design HTTP/1.1" 308 -
INFO:root:2023-04-22 18:57:07.224688 : Security check : IP adresse '127.0.0.1' connected
DEBUG:paramiko.transport:starting thread (client mode): 0xa1217d30
DEBUG:paramiko.transport:Local version/idstring: SSH-2.0-paramiko_3.1.0
DEBUG:paramiko.transport:Remote version/idstring: SSH-2.0-OpenSSH_8.4p1 Debian-5+deb11u1
INFO:paramiko.transport:Connected (version 2.0, client OpenSSH_8.4p1)
DEBUG:paramiko.transport:=== Key exchange possibilities ===
DEBUG:paramiko.transport:kex algos: curve25519-sha256, curve25519-sha256@libssh.org, ecdh-sha2-nistp256, ecdh-sha2-nistp384, ecdh-sha2-nistp521, diffie-hellman-group-exchange-sha256, diffie-hellman-group16-sha512, diffie-hellman-group18-sha512, diffie-hellman-group14-sha256
DEBUG:paramiko.transport:server key: rsa-sha2-512, rsa-sha2-256, ssh-rsa, ecdsa-sha2-nistp256, ssh-ed25519
DEBUG:paramiko.transport:client encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:server encrypt: chacha20-poly1305@openssh.com, aes128-ctr, aes192-ctr, aes256-ctr, aes128-gcm@openssh.com, aes256-gcm@openssh.com
DEBUG:paramiko.transport:client mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:server mac: umac-64-etm@openssh.com, umac-128-etm@openssh.com, hmac-sha2-256-etm@openssh.com, hmac-sha2-512-etm@openssh.com, hmac-sha1-etm@openssh.com, umac-64@openssh.com, umac-128@openssh.com, hmac-sha2-256, hmac-sha2-512, hmac-sha1
DEBUG:paramiko.transport:client compress: none, zlib@openssh.com
DEBUG:paramiko.transport:server compress: none, zlib@openssh.com
DEBUG:paramiko.transport:client lang: <none>
DEBUG:paramiko.transport:server lang: <none>
DEBUG:paramiko.transport:kex follows: False
DEBUG:paramiko.transport:=== Key exchange agreements ===
DEBUG:paramiko.transport:Kex: curve25519-sha256@libssh.org
DEBUG:paramiko.transport:HostKey: ssh-ed25519
DEBUG:paramiko.transport:Cipher: aes128-ctr
DEBUG:paramiko.transport:MAC: hmac-sha2-256
DEBUG:paramiko.transport:Compression: none
DEBUG:paramiko.transport:=== End of kex handshake ===
DEBUG:paramiko.transport:kex engine KexCurve25519 specified hash_algo <built-in function openssl_sha256>
DEBUG:paramiko.transport:Switch to new keys ...
DEBUG:paramiko.transport:Got EXT_INFO: {'server-sig-algs': b'ssh-ed25519,sk-ssh-ed25519@openssh.com,ssh-rsa,rsa-sha2-256,rsa-sha2-512,ssh-dss,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,sk-ecdsa-sha2-nistp256@openssh.com,webauthn-sk-ecdsa-sha2-nistp256@openssh.com'}
DEBUG:paramiko.transport:Adding ssh-ed25519 host key for 88.170.110.220: b'e44b0a61fb86892f0b6973a38e33cec5'
DEBUG:paramiko.transport:userauth is OK
INFO:paramiko.transport:Authentication (password) successful!
DEBUG:paramiko.transport:[chan 0] Max packet in: 32768 bytes
DEBUG:paramiko.transport:Received global request "hostkeys-00@openssh.com"
DEBUG:paramiko.transport:Rejecting "hostkeys-00@openssh.com" global request from server.
DEBUG:paramiko.transport:[chan 0] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 0 opened.
DEBUG:paramiko.transport:[chan 0] Sesch channel 0 request ok
DEBUG:paramiko.transport:[chan 0] EOF received (0)
DEBUG:paramiko.transport:[chan 0] EOF sent (0)
DEBUG:paramiko.transport:[chan 1] Max packet in: 32768 bytes
DEBUG:paramiko.transport:[chan 1] Max packet out: 32768 bytes
DEBUG:paramiko.transport:Secsh channel 1 opened.
DEBUG:paramiko.transport:[chan 1] Sesch channel 1 request ok
DEBUG:paramiko.transport:[chan 1] EOF received (1)
DEBUG:paramiko.transport:[chan 1] EOF sent (1)
INFO:werkzeug:127.0.0.1 - - [22/Apr/2023 18:57:07] "POST /myclass/api/Duplicate_LMS_Theme_Design/ HTTP/1.1" 200 -
DEBUG:paramiko.transport:Dropping user packet because connection is dead.
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 18:57:33.323386 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 18:57:33.323386 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 18:57:33.324395 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 18:57:33.324395 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 18:58:22.156242 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 18:58:22.157241 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 18:58:22.157241 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 18:58:22.157241 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 19:00:08.719764 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 19:00:08.720869 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 19:00:08.720869 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 19:00:08.720869 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900
INFO:werkzeug: * Detected change in 'C:\\Users\\billa\\Documents\\myclass.com\\Siteweb\\Production\\Ela_back\\Back_Office\\lms_chamilo\\mysy_lms.py', reloading
INFO:werkzeug: * Restarting with stat
INFO:root:2023-04-22 19:00:36.683550 : ++++ ENVIRONNEMENT DEVELOPPEMENT ++++
INFO:root:2023-04-22 19:00:36.683550 : ++ DATABASE mongodb://localhost:27017/cherifdb_dev ++
INFO:root:2023-04-22 19:00:36.683550 : ++ DBNAME Database(MongoClient(host=['localhost:27017'], document_class=dict, tz_aware=False, connect=True), 'cherifdb_dev') ++
INFO:root:2023-04-22 19:00:36.684546 : ++ FLASK PORT 5001 ++
WARNING:werkzeug: * Debugger is active!
INFO:werkzeug: * Debugger PIN: 229-221-900

View File

@ -25,7 +25,7 @@ import mariadb
import hashlib import hashlib
import bcrypt import bcrypt
from pymongo import ReturnDocument from pymongo import ReturnDocument
import paramiko
""" """
Cette fonction créer un utilisateur (editeur de formation) lms mysy, donc dans chamilo Cette fonction créer un utilisateur (editeur de formation) lms mysy, donc dans chamilo
@ -2330,6 +2330,32 @@ def Lms_Config_Theme_and_Logo(diction):
return False, str(inspect.stack()[0][ return False, str(inspect.stack()[0][
3]) + " - Le user "+str(my_partner['nom'])+" ne dispose pas de d'un lms_virtualhost_id. Pas de configuration à faire" 3]) + " - Le user "+str(my_partner['nom'])+" ne dispose pas de d'un lms_virtualhost_id. Pas de configuration à faire"
lms_virtualhost_url = ""
if ("lms_virtualhost_url" in my_partner.keys()):
lms_virtualhost_url = my_partner['lms_virtualhost_url']
if( lms_virtualhost_url == ""):
mycommon.myprint(str(inspect.stack()[0][3]) + " - Le user "+str(my_partner['nom'])+" ne dispose pas de d'un lms_virtualhost_url."
" Pas de configuration à faire")
return False, str(inspect.stack()[0][
3]) + " - Le user "+str(my_partner['nom'])+" ne dispose pas de d'un lms_virtualhost_url. Pas de configuration à faire"
tmp_val = lms_virtualhost_url.replace("http://", '').replace("https://", '')
tmp_split = str(tmp_val).split(".")
new_theme_name = str(lms_virtualhost_id)+"-"+str(tmp_split[0])+"-theme"
new_diction_local = {}
new_diction_local['token'] = my_token
new_diction_local['original_theme_name'] = theme_name
new_diction_local['new_theme_name'] = new_theme_name
local_status, local_message = Duplicate_LMS_Theme_Design(new_diction_local)
if (local_status is False):
mycommon.myprint(str(inspect.stack()[0][3]) + " - impossible de dupliquer le thème/design")
return False, str(inspect.stack()[0][
3]) + " - impossible de dupliquer le thème/design",
conn = mariadb.connect( conn = mariadb.connect(
user=MYSY_GV.MYSY_MARIADB_USER, user=MYSY_GV.MYSY_MARIADB_USER,
@ -2358,14 +2384,14 @@ def Lms_Config_Theme_and_Logo(diction):
print(" ### le partenaire "+str(my_partner['nom'])+" n'as pas de config dans la 'settings_current' il faut en créer ") print(" ### le partenaire "+str(my_partner['nom'])+" n'as pas de config dans la 'settings_current' il faut en créer ")
qry_add_update_setting = " INSERT INTO settings_current " \ qry_add_update_setting = " INSERT INTO settings_current " \
"SET variable = 'stylesheets', subkey = 'textfield', " \ "SET variable = 'stylesheets', subkey = 'textfield', " \
"category = 'stylesheets', selected_value = '"+str(theme_name)+"'," \ "category = 'stylesheets', selected_value = '"+str(new_theme_name)+"'," \
" access_url = '"+str(lms_virtualhost_id)+"', access_url_changeable = '1', " \ " access_url = '"+str(lms_virtualhost_id)+"', access_url_changeable = '1', " \
"access_url_locked = 'access_url_locked'; " "access_url_locked = 'access_url_locked'; "
print(" ### qry_add_setting = ", qry_add_update_setting) print(" ### qry_add_setting = ", qry_add_update_setting)
else: else:
print(" ### le partenaire " + str( print(" ### le partenaire " + str(
my_partner['nom']) + " A DEJA de config dans la 'settings_current' il faut faire un UPDATE ") my_partner['nom']) + " A DEJA de config dans la 'settings_current' il faut faire un UPDATE ")
qry_add_update_setting = " UPDATE settings_current SET selected_value = '"+str(theme_name)+"' WHERE access_url = '"+str(lms_virtualhost_id)+"'" \ qry_add_update_setting = " UPDATE settings_current SET selected_value = '"+str(new_theme_name)+"' WHERE access_url = '"+str(lms_virtualhost_id)+"'" \
" AND variable='stylesheets' " \ " AND variable='stylesheets' " \
" AND category='stylesheets' ;" " AND category='stylesheets' ;"
print(" ### qry_add_setting = ", qry_add_update_setting) print(" ### qry_add_setting = ", qry_add_update_setting)
@ -2388,3 +2414,105 @@ def Lms_Config_Theme_and_Logo(diction):
mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno)) mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
return False, " Impossible de configurer le theme / logo du LMS " return False, " Impossible de configurer le theme / logo du LMS "
"""
Fonction qui permet de dupliquer les repertoires pour le themes
process :
1 - supprimer le repertoire concerné s'il existe
2 - dupliquer le repertoire
"""
def Duplicate_LMS_Theme_Design(diction):
try:
'''
# Verification que les champs reçus dans l'API sont bien dans la liste des champs autorisés
# Cela evite le cas ou une entité tierce ajouter les valeurs inconnu dans l'API
# Ici on doit mettre tous les champs possible (obligatoire ou non) de la BDD dans la liste
# field_list.
'''
field_list = ['token', 'original_theme_name', 'new_theme_name']
incom_keys = diction.keys()
for val in incom_keys:
if val not in field_list:
mycommon.myprint(str(
inspect.stack()[0][3]) + " Le champ '" + val + "' n'existe pas, Creation virtualhost annulée")
return False, " Les informations fournies sont incorrecte",
'''
Une fois qu'on a controlé que toutes les clés mise dans l'API sont correcte. etape precedente,
On controle que les champs obligatoires sont presents dans la liste
'''
field_list_obligatoire = ['token', 'original_theme_name', 'new_theme_name']
for val in field_list_obligatoire:
if val not in diction:
mycommon.myprint(
str(inspect.stack()[0][3]) + " - La valeur '" + val + "' n'est pas presente dans liste ")
return False, " Les informations fournies sont incorrecte",
my_token = ""
if ("token" in diction.keys()):
if diction['token']:
my_token = diction['token']
original_theme_name = ""
if ("original_theme_name" in diction.keys()):
if diction['original_theme_name']:
original_theme_name = diction['original_theme_name']
new_theme_name = ""
if ("new_theme_name" in diction.keys()):
if diction['new_theme_name']:
new_theme_name = diction['new_theme_name']
if (len(original_theme_name) > MYSY_GV.DIRECTORY_MAX_LENGTH or len(new_theme_name) > MYSY_GV.DIRECTORY_MAX_LENGTH):
mycommon.myprint(
str(inspect.stack()[0][
3]) + " - Les valeurs '" + original_theme_name + "' ou '" + new_theme_name + "' ont une taille > au max : "+str(MYSY_GV.DIRECTORY_MAX_LENGTH))
return False, " Les valeurs '" + original_theme_name + "' ou '" + new_theme_name + "' ont une taille > au max : "+str(MYSY_GV.DIRECTORY_MAX_LENGTH)
partner_recid = mycommon.get_parnter_recid_from_token(my_token)
if (partner_recid is False):
mycommon.myprint(
str(inspect.stack()[0][3]) + " - partner_recid KO : Impossible d'importer la liste des participants ")
return False, " Les information de connexion sont incorrectes.",
# initialize the SSH client
client = paramiko.SSHClient()
# add to known hosts
client.set_missing_host_key_policy(paramiko.AutoAddPolicy())
try:
client.connect(hostname=MYSY_GV.MYSY_FTP_HOST, username=MYSY_GV.MYSY_FTP_LOGIN, password=MYSY_GV.MYSY_FTP_PWD)
except:
print(" ### [!] Cannot connect to the SSH Server")
return False, " Impossible de dupliquer le theme "
commands = [
"rm -rf /var/www/html/chamilo_mysy/web/css/themes/"+str(new_theme_name),
"rm -rf /var/www/html/chamilo_mysy/app/Resources/public/css/themes/"+str(new_theme_name),
"cp -rf /var/www/html/chamilo_mysy/web/css/themes/"+str(original_theme_name)+" /var/www/html/chamilo_mysy/web/css/themes/"+str(new_theme_name),
"cp -rf /var/www/html/chamilo_mysy/app/Resources/public/css/themes/"+str(original_theme_name)+" /var/www/html/chamilo_mysy/app/Resources/public/css/themes/"+str(new_theme_name),
]
print(" ### Les commandes à executé pr dupliquer ", commands)
# execute the commands
for command in commands:
print("=" * 25, command, "=" * 25)
stdin, stdout, stderr = client.exec_command(command)
print(stdout.read().decode())
err = stderr.read().decode()
if err:
print(err)
print(" ### OKK Connection to the SSH Server")
client.close()
return True, " Le theme a été correctement dupliqué"
except Exception as e:
exc_type, exc_obj, exc_tb = sys.exc_info()
mycommon.myprint(str(inspect.stack()[0][3]) + " -" + str(e) + " - Line : " + str(exc_tb.tb_lineno))
return False, " Impossible de dupliquer le theme "

14
main.py
View File

@ -2864,6 +2864,20 @@ def Lms_Config_Theme_and_Logo():
"""
API Test de publicat des theme / Design LMS
"""
@app.route('/myclass/api/Duplicate_LMS_Theme_Design/', methods=['POST','GET'])
@crossdomain(origin='*')
def Duplicate_LMS_Theme_Design():
# On recupere le corps (payload) de la requete
payload = request.form.to_dict()
print(" ### Duplicate_LMS_Theme_Design : payload = ",payload)
localStatus, message = mysy_lms.Duplicate_LMS_Theme_Design(payload)
return jsonify(status=localStatus, message=message)
if __name__ == '__main__': if __name__ == '__main__':
print(" debut api") print(" debut api")
context = SSL.Context(SSL.SSLv23_METHOD) context = SSL.Context(SSL.SSLv23_METHOD)