View Issue Details

IDProjectCategoryView StatusLast Update
0000176e-comBoxInstallation sur Linuxpublic2023-11-23 21:03
Reporterpatrick.reynaud Assigned Toaporaf  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Summary0000176: vps debian 12
Description

Bonjour, j'essaye d'installer un vps pour mon établissement et je bloque !
J'ai besoin d'un peu d'aide :-)

Impossible d'installer le certificat ssl

manage_certificats.sh: 11: source: not found
manage_certificats.sh: 12: source: not found
manage_certificats.sh: 13: source: not found
manage_certificats.sh: 47: [[: not found
manage_certificats.sh: 47: ==: not found
-e
-e Gestion des certificats le sam. 18 nov. 2023 11:39:36 CET
-e
manage_certificats.sh: 89: cannot create : Directory nonexistent
manage_certificats.sh: 108: Syntax error: "(" unexpected (expecting "then")

Steps To Reproduce

j'ai configuré un nom de domaine pour pointer sur le vps
J'ai installé apache 2 pour valider une connexion http
j'installe correctement ecombox v4.2

la connexion en https est fonctionnelle avec l'avertissement de sécurité
je lance la commande sh manage_certificats.sh -c
echec
je modifie les liens pour les certificats dans param.conf
et a nouveau erreur

TagsNo tags attached.
Quantité de mémoire vive (en Go)4
Machine virtuelleOui
Passage par un proxyNon
Qualité de la connexion InternetBonne
Navigateur(s) éventuellement utilisé(s)Chrome
Avez-vous tenté de réinitialiser l'environnement ?Oui
Moment où l'incident est survenuInstallation de l'application

Activities

aporaf

2023-11-18 17:29

administrator   ~0000997

Bonjour,

Pouvez-nous nous envoyer vos logs (/var/log/ecombox.log) ? Ça va nous aider à dépanner.

Cordialement,

aporaf

2023-11-18 17:33

administrator   ~0000998

Re :),

Dans tous les cas, il faut absolument désinstaller apache2. Let's encrypt embarque son propre serveur Web et le script s'occupe de tout. Il y a, du coup, forcément un "conflit" sur le port 80.
Mais j'aimerais avoir quand même les logs !

Cordialement,

patrick.reynaud

2023-11-19 12:26

reporter   ~0000999

j'ai réinitialisé l'installation ce matin en configuration simple avec uniquement l'ip du serveur

Même résultats au lancement de la commande sh manage_certificats.sh -c

ecombox.log (1,172 bytes)   
Configuration d'e-comBox le dim. 19 nov. 2023 08:28:06 CET
 avec la version du script 4.2.0.
Docker version 24.0.7, build afdd53b
docker-compose version 1.29.2, build 5becea4c
Initialisation des paramètres du fichier param.conf

Vérification des paramètres du fichier param.conf

VALIDATION_LICENCE=true
ADRESSE_IP_PRIVEE=127.0.0.1
l'IP à tester est 127.0.0.1
L'adresse IP est valide.

Attention, la valeur correspond à une interface de loopback.

DOMAINE=45.154.99.79
l'IP à tester est 45.154.99.79
L'adresse IP est valide.

La valeur saisie au niveau du nom de domaine est valide.
RP_EXT=N
CHEMIN=
PORT_PORTAINER=8880
PORT_RP=8800
PORT_REGISTRY=5443
ADRESSE_PROXY=
NO_PROXY=
NET_ECB=192.168.97.0/24
DEL_IMAGES=false
CHEMIN_CERT=
CHEMIN_KEY=
MAIL=patrick.reynaud1@ac-grenoble.fr
La valeur saisie au niveau de l'adresse mail n'est pas valide.
CODE_PAYS=FR
NOM_PAYS=France
NOM_REGION=Corse
NOM_ORGANISATION=ReseauCerta
OAUTH_ENABLE=false
SSO_ENABLE=
CLIENT_ID=
CLIENT_SECRET=
AUTHORIZATION_URL=
ACCESS_TOKEN_URL=
RESOURCE_URL=
LOGOUT_URL=
USER_IDENTIFIER=
SCOPES=
CERT_OAUTH=
La valeur des variables MAIL du fichier /opt/e-combox/param.conf est fausse.
ecombox.log (1,172 bytes)   

aporaf

2023-11-19 13:57

administrator   ~0001000

Bonjour,

Le fichier de log est tronqué (j'ai l'impression que la réinitialisation ne s'est pas bien passée).
Je vois qu'il y a un problème aussi au niveau du mail car il y a un message comme quoi l'adresse mail n'est pas valide (alors qu'elle l'est bien).
Par ailleurs, je n'ai pas vérifié mais je pense que Let's encrypt ne travaille que sur les noms de domaine et pas sur l'adresse IP. Il faut donc réinitialiser avec un nom de domaine.

Pouvez-vous :

  • dans param.conf supprimer cette valeur (je n'ai pas le temps de vérifier le pourquoi de ce message) même si je ne pense pas que ce soit ça qui bloque ;
  • supprimer apache2 (vous ne me dites pas si vous l'avez fait) ;
  • refaire les manipulations avec le nom de domaine et vous assurer que l'e-comBox fonctionne ;
  • relancer le script sans ajouter de mail ;
  • renvoyer les log.

Merci d'avance.

Cordialement

Cordialement,

aporaf

2023-11-19 18:24

administrator   ~0001001

Bonsoir,

Vous pouvez laisser l'adresse mail car je viens de résoudre ce problème.

Cordialement,

patrick.reynaud

2023-11-22 16:01

reporter   ~0001002

Bonjour

Voila j'ai tout repris de zéro avec la démarche la plus simple possible

démarche :
Vps debian 11 ... domaine ecombox.pedagogeek.eu
connexion root ssh : ecombox.pedagogeek.eu .. ok

curl -fsSL https://forge.aeif.fr/e-combox/e-combox_scriptslinux/raw/4.2/configure_application.sh -o configure_application.sh

sh configure_application.sh -i "127.0.0.1" -d "ecombox.pedagogeek.eu" -r "N" -c "" -p "***"

ouverture impossible via https://ecombox.pedagogeek.eu:8800/portainer/
"Le site ecombox.pedagogeek.eu est actuellement inaccessible, car il utilise la technologie HSTS"

ouverture possible via https:/45.155.169.150:8800/portainer/
"Continuer vers le site 45.155.169.150 (dangereux)"

cd /opt/e-combox
sh manage_certificats.sh -c

manage_certificats.sh: 11: source: not found
manage_certificats.sh: 12: source: not found
manage_certificats.sh: 13: source: not found
manage_certificats.sh: 47: [[: not found
manage_certificats.sh: 47: ==: not found
-e
-e Gestion des certificats le Wed Nov 22 14:56:58 UTC 2023
-e
manage_certificats.sh: 89: cannot create : Directory nonexistent
manage_certificats.sh: 108: Syntax error: "(" unexpected (expecting "then")

merci beaucoup !

ecombox-2.log (51,773 bytes)   
Configuration d'e-comBox le Wed Nov 22 14:26:31 UTC 2023
 avec la version du script 4.2.0.
Docker version 24.0.7, build afdd53b
docker-compose version 1.29.2, build 5becea4c
Initialisation des paramètres du fichier param.conf

Vérification des paramètres du fichier param.conf

VALIDATION_LICENCE=true

La clé de chiffrement a été créée et protégée.
Chiffrement du mot de passe de Portainer.

ADRESSE_IP_PRIVEE=127.0.0.1
l'IP à tester est 127.0.0.1
L'adresse IP est valide.

Attention, la valeur correspond à une interface de loopback.

DOMAINE=ecombox.pedagogeek.eu
C'est un nom de domaine valide.

Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
Hit:2 http://deb.debian.org/debian bullseye InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://deb.debian.org/debian bullseye-backports InRelease
Hit:5 https://download.docker.com/linux/debian bullseye InRelease
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  bind9-libs
The following NEW packages will be installed:
  bind9-dnsutils
The following packages will be upgraded:
  bind9-libs
1 upgraded, 1 newly installed, 0 to remove and 72 not upgraded.
Need to get 1835 kB of archives.
After this operation, 796 kB of additional disk space will be used.
Get:1 http://deb.debian.org/debian bullseye/main amd64 bind9-libs amd64 1:9.16.44-1~deb11u1 [1429 kB]
Get:2 http://deb.debian.org/debian bullseye/main amd64 bind9-dnsutils amd64 1:9.16.44-1~deb11u1 [407 kB]
apt-listchanges: Reading changelogs...
Fetched 1835 kB in 0s (11.5 MB/s)
(Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 35840 files and directories currently installed.)
Preparing to unpack .../bind9-libs_1%3a9.16.44-1~deb11u1_amd64.deb ...
Unpacking bind9-libs:amd64 (1:9.16.44-1~deb11u1) over (1:9.16.27-1~deb11u1) ...
Selecting previously unselected package bind9-dnsutils.
Preparing to unpack .../bind9-dnsutils_1%3a9.16.44-1~deb11u1_amd64.deb ...
Unpacking bind9-dnsutils (1:9.16.44-1~deb11u1) ...
Setting up bind9-libs:amd64 (1:9.16.44-1~deb11u1) ...
Setting up bind9-dnsutils (1:9.16.44-1~deb11u1) ...
Processing triggers for man-db (2.9.4-2) ...
Processing triggers for libc-bin (2.31-13+deb11u3) ...
Le nom de domaine a été résolu en 45.155.169.150
L'adresse IP est valide.

La valeur saisie au niveau du nom de domaine est valide.
RP_EXT=N
CHEMIN=
PORT_PORTAINER=8880
PORT_RP=8800
PORT_REGISTRY=5443
ADRESSE_PROXY=
NO_PROXY=
NET_ECB=192.168.97.0/24
DEL_IMAGES=false
CHEMIN_CERT=
CHEMIN_KEY=
MAIL=
Pas d'adresse mail saisi.

CODE_PAYS=FR
NOM_PAYS=France
NOM_REGION=Corse
NOM_ORGANISATION=ReseauCerta
OAUTH_ENABLE=false
SSO_ENABLE=
CLIENT_ID=
CLIENT_SECRET=
AUTHORIZATION_URL=
ACCESS_TOKEN_URL=
RESOURCE_URL=
LOGOUT_URL=
USER_IDENTIFIER=
SCOPES=
CERT_OAUTH=
Fichier de paramètres sans erreurs apparentes.
Aucun proxy configuré sur le système. Les paramètres du proxy, s'ils existent, sont supprimés.

Suppression éventuelle des paramètres du proxy du fichier config.json.
99d8e3d80e9be63c50a4138ddf799fa815a5362502a0045349e45a150cf21cd4
Le réseau 192.168.97.0/24 est utilisé pour l'application.

Cloning into 'e-combox_reverseproxy'...
Mise à jour de /opt/e-combox/e-combox_reverseproxy/.env... Fait.

4.2: Pulling from reseaucerta/nginx
3f9582a2cbe7: Pulling fs layer
9a8c6f286718: Pulling fs layer
e81b85700bc2: Pulling fs layer
73ae4d451120: Pulling fs layer
6058e3569a68: Pulling fs layer
3a1b8f201356: Pulling fs layer
4751bb7393ec: Pulling fs layer
6058e3569a68: Waiting
3a1b8f201356: Waiting
4751bb7393ec: Waiting
73ae4d451120: Waiting
e81b85700bc2: Download complete
73ae4d451120: Download complete
6058e3569a68: Verifying Checksum
6058e3569a68: Download complete
3a1b8f201356: Download complete
4751bb7393ec: Verifying Checksum
4751bb7393ec: Download complete
9a8c6f286718: Verifying Checksum
9a8c6f286718: Download complete
3f9582a2cbe7: Download complete
3f9582a2cbe7: Pull complete
9a8c6f286718: Pull complete
e81b85700bc2: Pull complete
73ae4d451120: Pull complete
6058e3569a68: Pull complete
3a1b8f201356: Pull complete
4751bb7393ec: Pull complete
Digest: sha256:5b559a4be6dc37070af08b30dfcb65d3d270968a622e402137bed660a6901347
Status: Downloaded newer image for reseaucerta/nginx:4.2
docker.io/reseaucerta/nginx:4.2
4.2: Pulling from reseaucerta/docker-gen
63b65145d645: Pulling fs layer
99ac59911cc1: Pulling fs layer
a7a713a804f0: Pulling fs layer
aa67bccd1779: Pulling fs layer
5af9ac5a925d: Pulling fs layer
aa67bccd1779: Waiting
5af9ac5a925d: Waiting
99ac59911cc1: Verifying Checksum
99ac59911cc1: Download complete
63b65145d645: Download complete
63b65145d645: Pull complete
a7a713a804f0: Verifying Checksum
a7a713a804f0: Download complete
99ac59911cc1: Pull complete
aa67bccd1779: Verifying Checksum
aa67bccd1779: Download complete
5af9ac5a925d: Verifying Checksum
5af9ac5a925d: Download complete
a7a713a804f0: Pull complete
aa67bccd1779: Pull complete
5af9ac5a925d: Pull complete
Digest: sha256:4b48c0dc225b96eb3bd14ed9bad941391f9eb2b715c4a33cb467a393a2b83335
Status: Downloaded newer image for reseaucerta/docker-gen:4.2
docker.io/reseaucerta/docker-gen:4.2
Le reverse proxy a été lancé.

Il faut créer un certificat auto-signé.
Generating a RSA private key
.............................................................................................................................................................................................................................................................................................++++
................++++
writing new private key to '/var/lib/docker/volumes/e-combox_reverseproxy_nginx-ssl/_data/ecombox.key'
-----
2023/11/22 14:27:07 [notice] 33#33: signal process started
Le certificat créé a été installé.
Il n'y a pas de registry lancé avec le bon certificat et/ou le bon port.

Generating a RSA private key
..........................................................................++++
......................................................................................++++
writing new private key to '/opt/e-combox/certs/registry/localhost.key'
-----
Le certificat pour le push du Registry a été créé.
Generating a RSA private key
.....++++
..........................................++++
writing new private key to '/opt/e-combox/certs/registry/ecombox.pedagogeek.eu.key'
-----
Le certificat pour la récupération des images a été créé.
Les certificats pour le Registry ont été installés.
Unable to find image 'reseaucerta/registry:4.2' locally
4.2: Pulling from reseaucerta/registry
ef5531b6e74e: Pulling fs layer
a52704366974: Pulling fs layer
dda5a8ba6f46: Pulling fs layer
eb9a2e8a8f76: Pulling fs layer
25bb6825962e: Pulling fs layer
eb9a2e8a8f76: Waiting
25bb6825962e: Waiting
a52704366974: Download complete
ef5531b6e74e: Verifying Checksum
eb9a2e8a8f76: Verifying Checksum
eb9a2e8a8f76: Download complete
ef5531b6e74e: Pull complete
dda5a8ba6f46: Download complete
25bb6825962e: Verifying Checksum
25bb6825962e: Download complete
a52704366974: Pull complete
dda5a8ba6f46: Pull complete
eb9a2e8a8f76: Pull complete
25bb6825962e: Pull complete
Digest: sha256:a001a2f72038b13c1cbee7cdd2033ac565636b325dfee98d8b9cc4ba749ef337
Status: Downloaded newer image for reseaucerta/registry:4.2
58b9bc58b50a91fe0c067e0cdf4d901a383eb9402f61fd4eb250c7989538537a
Le registry a été lancé.

Le réseau de l'e-combox est correctement rattaché au conteneur e-combox_registry.
4.2: Pulling from reseaucerta/git-http-server
5a3ea8efae5d: Pulling fs layer
0a4542fa56f8: Pulling fs layer
896461ee00b6: Pulling fs layer
476e25245dc3: Pulling fs layer
be7f929ef819: Pulling fs layer
4f4fb700ef54: Pulling fs layer
bfaeb5ba9a8e: Pulling fs layer
5b7a00fd6447: Pulling fs layer
ab0633b4edf8: Pulling fs layer
6e828070604f: Pulling fs layer
2aa07a3b7982: Pulling fs layer
29c2ecc3941b: Pulling fs layer
476e25245dc3: Waiting
be7f929ef819: Waiting
4f4fb700ef54: Waiting
bfaeb5ba9a8e: Waiting
5b7a00fd6447: Waiting
ab0633b4edf8: Waiting
6e828070604f: Waiting
2aa07a3b7982: Waiting
29c2ecc3941b: Waiting
896461ee00b6: Verifying Checksum
896461ee00b6: Download complete
5a3ea8efae5d: Verifying Checksum
5a3ea8efae5d: Pull complete
be7f929ef819: Verifying Checksum
be7f929ef819: Download complete
476e25245dc3: Verifying Checksum
476e25245dc3: Download complete
4f4fb700ef54: Download complete
bfaeb5ba9a8e: Verifying Checksum
bfaeb5ba9a8e: Download complete
5b7a00fd6447: Verifying Checksum
5b7a00fd6447: Download complete
0a4542fa56f8: Download complete
ab0633b4edf8: Verifying Checksum
ab0633b4edf8: Download complete
6e828070604f: Verifying Checksum
6e828070604f: Download complete
2aa07a3b7982: Verifying Checksum
2aa07a3b7982: Download complete
29c2ecc3941b: Verifying Checksum
29c2ecc3941b: Download complete
0a4542fa56f8: Pull complete
896461ee00b6: Pull complete
476e25245dc3: Pull complete
be7f929ef819: Pull complete
4f4fb700ef54: Pull complete
bfaeb5ba9a8e: Pull complete
5b7a00fd6447: Pull complete
ab0633b4edf8: Pull complete
6e828070604f: Pull complete
2aa07a3b7982: Pull complete
29c2ecc3941b: Pull complete
Digest: sha256:cc45fa5698383966590fbba3a84cc18680649bc32e973a11bff528c1f7965750
Status: Downloaded newer image for reseaucerta/git-http-server:4.2
docker.io/reseaucerta/git-http-server:4.2
635a5d341c8ace67a07d0e1c2b73211d8b42a9f6dfbbcb8da656efd9619d8ff4
Le serveur Git a été lancé.

2.18.4: Pulling from portainer/portainer-ce
772227786281: Pulling fs layer
96fd13befc87: Pulling fs layer
5171176db7f2: Pulling fs layer
a143fdc4fa02: Pulling fs layer
b622730c7bdc: Pulling fs layer
c1cad9f5200f: Pulling fs layer
d8a77b01f2cb: Pulling fs layer
0d4d8543f764: Pulling fs layer
c6fd0bcf10c9: Pulling fs layer
889200668c1c: Pulling fs layer
4f4fb700ef54: Pulling fs layer
d8a77b01f2cb: Waiting
0d4d8543f764: Waiting
c6fd0bcf10c9: Waiting
889200668c1c: Waiting
4f4fb700ef54: Waiting
a143fdc4fa02: Waiting
b622730c7bdc: Waiting
c1cad9f5200f: Waiting
96fd13befc87: Download complete
772227786281: Verifying Checksum
772227786281: Download complete
772227786281: Pull complete
96fd13befc87: Pull complete
b622730c7bdc: Verifying Checksum
b622730c7bdc: Download complete
a143fdc4fa02: Verifying Checksum
a143fdc4fa02: Download complete
5171176db7f2: Verifying Checksum
5171176db7f2: Download complete
d8a77b01f2cb: Verifying Checksum
d8a77b01f2cb: Download complete
5171176db7f2: Pull complete
c6fd0bcf10c9: Verifying Checksum
c6fd0bcf10c9: Download complete
a143fdc4fa02: Pull complete
0d4d8543f764: Verifying Checksum
0d4d8543f764: Download complete
889200668c1c: Verifying Checksum
889200668c1c: Download complete
c1cad9f5200f: Verifying Checksum
c1cad9f5200f: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
b622730c7bdc: Pull complete
c1cad9f5200f: Pull complete
d8a77b01f2cb: Pull complete
0d4d8543f764: Pull complete
c6fd0bcf10c9: Pull complete
889200668c1c: Pull complete
4f4fb700ef54: Pull complete
Digest: sha256:94c3056dbe879f3a3df06b427713392a0962924914f5c2fc557de3797f59f926
Status: Downloaded newer image for portainer/portainer-ce:2.18.4
docker.io/portainer/portainer-ce:2.18.4
7f05d9ca6a100a923f666902508dcfbd38620ee1e4f02e10538b6b5a23a9f280
Portainer a été lancé.

Récupération des certificats intermédiaires de Let's encrypt pour les intégrer à Portainer
--2023-11-22 14:27:40--  https://letsencrypt.org/certs/lets-encrypt-r3.pem
Resolving letsencrypt.org (letsencrypt.org)... 2a05:d014:58f:6200::64, 2a05:d014:58f:6201::64, 3.70.101.28, ...
Connecting to letsencrypt.org (letsencrypt.org)|2a05:d014:58f:6200::64|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1826 (1.8K) [application/x-pem-file]
Saving to: ‘/opt/e-combox/lets-encrypt-r3.pem’

     0K .                                                     100% 41.1M=0s

2023-11-22 14:27:40 (41.1 MB/s) - ‘/opt/e-combox/lets-encrypt-r3.pem’ saved [1826/1826]

--2023-11-22 14:27:40--  https://letsencrypt.org/certs/isrgrootx1.pem
Resolving letsencrypt.org (letsencrypt.org)... 2a05:d014:58f:6200::64, 2a05:d014:58f:6201::64, 18.192.94.96, ...
Connecting to letsencrypt.org (letsencrypt.org)|2a05:d014:58f:6200::64|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1939 (1.9K) [application/x-pem-file]
Saving to: ‘/opt/e-combox/isrgrootx1.pem’

     0K .                                                     100% 14.1M=0s

2023-11-22 14:27:40 (14.1 MB/s) - ‘/opt/e-combox/isrgrootx1.pem’ saved [1939/1939]

--2023-11-22 14:27:40--  https://letsencrypt.org/certs/isrg-root-x2.pem
Resolving letsencrypt.org (letsencrypt.org)... 2a05:d014:58f:6200::64, 2a05:d014:58f:6201::64, 18.192.94.96, ...
Connecting to letsencrypt.org (letsencrypt.org)|2a05:d014:58f:6200::64|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 790 [application/x-pem-file]
Saving to: ‘/opt/e-combox/isrg-root-x2.pem’

     0K                                                       100% 15.2M=0s

2023-11-22 14:27:41 (15.2 MB/s) - ‘/opt/e-combox/isrg-root-x2.pem’ saved [790/790]

Redémarrage de Portainer
Test mdp par défaut de portainer : {"jwt":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJhZG1pbiIsInJvbGUiOjEsInNjb3BlIjoiZGVmYXVsdCIsImZvcmNlQ2hhbmdlUGFzc3dvcmQiOmZhbHNlLCJleHAiOjE3MDA2OTIwNjcsImlhdCI6MTcwMDY2MzI2N30.NzDbRQ1E97WiTLBKm60Nfm6ZI8goMVnunUdHTn4Mpoo"}

Retour MAJ_MDP_PORTAINER : 

Tentative de connexion à l'API...
Connexion à l'API de Portainer... Succès

Configuration d'e-comBox
4.2: Pulling from reseaucerta/e-combox
648e0aadf75a: Pulling fs layer
262696647b70: Pulling fs layer
e66d0270d23f: Pulling fs layer
55ac49bd649c: Pulling fs layer
cbf42f5a00d2: Pulling fs layer
8015f365966b: Pulling fs layer
4cadff8bc2aa: Pulling fs layer
0712cab2121b: Pulling fs layer
7a4969a6906c: Pulling fs layer
bf3cca223488: Pulling fs layer
6bf33c0752dc: Pulling fs layer
7c2cd0d2299d: Pulling fs layer
55ac49bd649c: Waiting
cbf42f5a00d2: Waiting
8015f365966b: Waiting
4cadff8bc2aa: Waiting
0712cab2121b: Waiting
7a4969a6906c: Waiting
bf3cca223488: Waiting
6bf33c0752dc: Waiting
7c2cd0d2299d: Waiting
e66d0270d23f: Verifying Checksum
e66d0270d23f: Download complete
55ac49bd649c: Verifying Checksum
55ac49bd649c: Download complete
cbf42f5a00d2: Verifying Checksum
cbf42f5a00d2: Download complete
8015f365966b: Verifying Checksum
8015f365966b: Download complete
4cadff8bc2aa: Verifying Checksum
4cadff8bc2aa: Download complete
648e0aadf75a: Verifying Checksum
648e0aadf75a: Download complete
0712cab2121b: Verifying Checksum
0712cab2121b: Download complete
7a4969a6906c: Verifying Checksum
7a4969a6906c: Download complete
6bf33c0752dc: Verifying Checksum
6bf33c0752dc: Download complete
7c2cd0d2299d: Verifying Checksum
7c2cd0d2299d: Download complete
bf3cca223488: Verifying Checksum
bf3cca223488: Download complete
648e0aadf75a: Pull complete
262696647b70: Verifying Checksum
262696647b70: Download complete
262696647b70: Pull complete
e66d0270d23f: Pull complete
55ac49bd649c: Pull complete
cbf42f5a00d2: Pull complete
8015f365966b: Pull complete
4cadff8bc2aa: Pull complete
0712cab2121b: Pull complete
7a4969a6906c: Pull complete
bf3cca223488: Pull complete
6bf33c0752dc: Pull complete
7c2cd0d2299d: Pull complete
Digest: sha256:af88448212dd8cdfa0f2239c2d7de10c273b712acee613c93d672d8993203252
Status: Downloaded newer image for reseaucerta/e-combox:4.2
docker.io/reseaucerta/e-combox:4.2
L'e-comBox a été téléchargé.

4cdd975eba6fa5e32e87997a81e091a52c5c159fd710001d2cdab05fc536f99a
L'e-comBox' a été lancé.

L'URL https://localhost:4300/portainer/api est remplacée par https://ecombox.pedagogeek.eu:8800/portainer/api.
Test mdp par défaut de portainer : {"message":"Invalid credentials","details":"Unauthorized"}

Tentative de connexion à l'API...
Connexion à l'API de Portainer... Succès

Récupération des stacks...
Test mdp par défaut de portainer : {"message":"Invalid credentials","details":"Unauthorized"}

Tentative de connexion à l'API...
Connexion à l'API de Portainer... Succès

Ajout des noms de stacks dans un fichier...

Gestion de l'équipe "Profs"
Test mdp par défaut de portainer : {"message":"Invalid credentials","details":"Unauthorized"}

Tentative de connexion à l'API...
Connexion à l'API de Portainer... Succès
L'équipe "Profs" a été créée

Retour AJOUT_PERMISSIONS : {"Id":1,"Name":"primary","Type":1,"URL":"unix:///var/run/docker.sock","GroupId":1,"PublicURL":"","Gpus":null,"TLSConfig":{"TLS":false,"TLSSkipVerify":false},"AzureCredentials":{"ApplicationID":"","TenantID":"","AuthenticationKey":""},"TagIds":[],"Status":1,"Snapshots":[{"Time":1700663262,"DockerVersion":"24.0.7","Swarm":false,"TotalCPU":2,"TotalMemory":2180694016,"RunningContainerCount":5,"StoppedContainerCount":0,"HealthyContainerCount":0,"UnhealthyContainerCount":0,"VolumeCount":7,"ImageCount":5,"ServiceCount":0,"StackCount":1,"DockerSnapshotRaw":{"Containers":[{"Id":"7f05d9ca6a100a923f666902508dcfbd38620ee1e4f02e10538b6b5a23a9f280","Names":["/portainer-app"],"Image":"portainer/portainer-ce:2.18.4","ImageID":"sha256:9ecc2a9e02ca015f0bddf16e222161a2c336a835b8621e74ab582b85e8e7de5a","Command":"/portainer --admin-password $2y$05$BZDHtzwzM1DEgL5pjAePAuoAbX6DknRE3XW3aU6HgBbwYdqwRcj3q -H unix:///var/run/docker.sock --log-level=DEBUG","Created":1700663254,"Ports":[{"PrivatePort":8000,"Type":"tcp"},{"PrivatePort":9000,"Type":"tcp"},{"IP":"0.0.0.0","PrivatePort":9443,"PublicPort":8880,"Type":"tcp"},{"IP":"::","PrivatePort":9443,"PublicPort":8880,"Type":"tcp"}],"Labels":{"com.docker.desktop.extension.api.version":">= 0.2.2","com.docker.desktop.extension.icon":"https://portainer-io-assets.sfo2.cdn.digitaloceanspaces.com/logos/portainer.png","com.docker.extension.additional-urls":"[{\"title\":\"Website\",\"url\":\"https://www.portainer.io?utm_campaign=DockerCon&utm_source=DockerDesktop\"},{\"title\":\"Documentation\",\"url\":\"https://docs.portainer.io\"},{\"title\":\"Support\",\"url\":\"https://join.slack.com/t/portainer/shared_invite/zt-txh3ljab-52QHTyjCqbe5RibC2lcjKA\"}]","com.docker.extension.detailed-description":"<p data-renderer-start-pos=\"226\">Portainer&rsquo;s Docker Desktop extension gives you access to all of Portainer&rsquo;s rich management functionality within your docker desktop experience.</p><h2 data-renderer-start-pos=\"374\">With Portainer you can:</h2><ul><li>See all your running containers</li><li>Easily view all of your container logs</li><li>Console into containers</li><li>Easily deploy your code into containers using a simple form</li><li>Turn your YAML into custom templates for easy reuse</li></ul><h2 data-renderer-start-pos=\"660\">About Portainer&nbsp;</h2><p data-renderer-start-pos=\"680\">Portainer is the worlds&rsquo; most popular universal container management platform with more than 650,000 active monthly users. Portainer can be used to manage Docker Standalone, Kubernetes, Docker Swarm and Nomad environments through a single common interface. It includes a simple GitOps automation engine and a Kube API.&nbsp;</p><p data-renderer-start-pos=\"1006\">Portainer Business Edition is our fully supported commercial grade product for business-wide use. It includes all the functionality that businesses need to manage containers at scale. Visit <a class=\"sc-jKJlTe dPfAtb\" href=\"http://portainer.io/\" title=\"http://Portainer.io\" data-renderer-mark=\"true\">Portainer.io</a> to learn more about Portainer Business and <a class=\"sc-jKJlTe dPfAtb\" href=\"http://portainer.io/take5?utm_campaign=DockerCon&amp;utm_source=Docker%20Desktop\" title=\"http://portainer.io/take5?utm_campaign=DockerCon&amp;utm_source=Docker%20Desktop\" data-renderer-mark=\"true\">get 5 free nodes.</a></p>","com.docker.extension.publisher-url":"https://www.portainer.io","com.docker.extension.screenshots":"[{\"alt\": \"screenshot one\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-1.png\"},{\"alt\": \"screenshot two\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-2.png\"},{\"alt\": \"screenshot three\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-3.png\"},{\"alt\": \"screenshot four\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-4.png\"},{\"alt\": \"screenshot five\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-5.png\"},{\"alt\": \"screenshot six\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-6.png\"},{\"alt\": \"screenshot seven\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-7.png\"},{\"alt\": \"screenshot eight\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-8.png\"},{\"alt\": \"screenshot nine\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-9.png\"}]","io.portainer.server":"true","org.opencontainers.image.description":"Docker container management made simple, with the world’s most popular GUI-based container management platform.","org.opencontainers.image.title":"Portainer","org.opencontainers.image.vendor":"Portainer.io"},"State":"running","Status":"Up Less than a second","HostConfig":{"NetworkMode":"bridge_e-combox"},"NetworkSettings":{"Networks":{"bridge_e-combox":{"IPAMConfig":null,"Links":null,"Aliases":null,"NetworkID":"99d8e3d80e9be63c50a4138ddf799fa815a5362502a0045349e45a150cf21cd4","EndpointID":"94a0f3e151ba46ac3668af6569a5e296d7175e10a8ef061c0bfc12e8b7f6b6f5","Gateway":"192.168.97.1","IPAddress":"192.168.97.6","IPPrefixLen":24,"IPv6Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"MacAddress":"02:42:c0:a8:61:06","DriverOpts":null}}},"Mounts":[{"Type":"volume","Name":"e-combox_portainer_portainer-data","Source":"/var/lib/docker/volumes/e-combox_portainer_portainer-data/_data","Destination":"/data","Driver":"local","Mode":"z","RW":true,"Propagation":""},{"Type":"bind","Source":"/etc/localtime","Destination":"/usr/share/zoneinfo/Europe/Paris","Mode":"ro","RW":false,"Propagation":"rprivate"},{"Type":"bind","Source":"/var/run/docker.sock","Destination":"/var/run/docker.sock","Mode":"","RW":true,"Propagation":"rprivate"}]},{"Id":"635a5d341c8ace67a07d0e1c2b73211d8b42a9f6dfbbcb8da656efd9619d8ff4","Names":["/e-combox_gitserver"],"Image":"reseaucerta/git-http-server:4.2","ImageID":"sha256:598092a7e739e0eed0b20f715b621bd8702b26e2edbee31019748e8eefaced6d","Command":"/entrypoint.sh","Created":1700663241,"Ports":[{"PrivatePort":443,"Type":"tcp"}],"Labels":{},"State":"running","Status":"Up 20 seconds","HostConfig":{"NetworkMode":"bridge_e-combox"},"NetworkSettings":{"Networks":{"bridge_e-combox":{"IPAMConfig":null,"Links":null,"Aliases":null,"NetworkID":"99d8e3d80e9be63c50a4138ddf799fa815a5362502a0045349e45a150cf21cd4","EndpointID":"49e9333fd327857a0eda0d1acbb8ad05b6712cd7226d16d2e0d1a370f605d6f1","Gateway":"192.168.97.1","IPAddress":"192.168.97.5","IPPrefixLen":24,"IPv6Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"MacAddress":"02:42:c0:a8:61:05","DriverOpts":null}}},"Mounts":[{"Type":"volume","Name":"e-combox_git-data","Source":"/var/lib/docker/volumes/e-combox_git-data/_data","Destination":"/git","Driver":"local","Mode":"z","RW":true,"Propagation":""}]},{"Id":"58b9bc58b50a91fe0c067e0cdf4d901a383eb9402f61fd4eb250c7989538537a","Names":["/e-combox_registry"],"Image":"reseaucerta/registry:4.2","ImageID":"sha256:0d153fadf70b612a5215e3a788a0b58ba6fa25e5df4b59698e0feb2174e8a98c","Command":"/entrypoint.sh /etc/docker/registry/config.yml","Created":1700663231,"Ports":[{"IP":"0.0.0.0","PrivatePort":443,"PublicPort":5443,"Type":"tcp"},{"IP":"::","PrivatePort":443,"PublicPort":5443,"Type":"tcp"},{"PrivatePort":5000,"Type":"tcp"}],"Labels":{},"State":"running","Status":"Up 29 seconds","HostConfig":{"NetworkMode":"default"},"NetworkSettings":{"Networks":{"bridge_e-combox":{"IPAMConfig":{},"Links":null,"Aliases":null,"NetworkID":"99d8e3d80e9be63c50a4138ddf799fa815a5362502a0045349e45a150cf21cd4","EndpointID":"aef105815b14eb7732c26bfae937fb14fabc5b386dfa21a24f31f61e2d255b42","Gateway":"192.168.97.1","IPAddress":"192.168.97.4","IPPrefixLen":24,"IPv6Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"MacAddress":"02:42:c0:a8:61:04","DriverOpts":null}}},"Mounts":[{"Type":"volume","Name":"registry_data","Source":"/var/lib/docker/volumes/registry_data/_data","Destination":"/var/lib/registry","Driver":"local","Mode":"z","RW":true,"Propagation":""},{"Type":"bind","Source":"/opt/e-combox/certs/registry","Destination":"/certs","Mode":"","RW":true,"Propagation":"rprivate"}]},{"Id":"3a65169dbd78cf5f345744a34ebf2d0ab08c54651deb9683ba185fb2a200b63b","Names":["/docker-gen"],"Image":"reseaucerta/docker-gen:4.2","ImageID":"sha256:4403bf336a8aaaa55ab4a113f3b7d7d6279769801ec03c7eb1b44f52e109afa3","Command":"/usr/local/bin/docker-gen -notify-sighup nginx -watch -only-exposed -wait 5s:30s /etc/docker-gen/templates/nginx.tmpl /etc/nginx/conf.d/default.conf","Created":1700663224,"Ports":[],"Labels":{"com.docker.compose.config-hash":"cde80dbb4c67fe1f81cdd15382290e6ac7afb7df5d8f7cea397d60aabdce4e09","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"e-combox_reverseproxy","com.docker.compose.project.config_files":"docker-compose.yml","com.docker.compose.project.working_dir":"/opt/e-combox/e-combox_reverseproxy","com.docker.compose.service":"nginx-docker_gen","com.docker.compose.version":"1.29.2","org.opencontainers.image.authors":"Nicolas Duchon <nicolas.duchon@gmail.com> (@buchdag), Jason Wilder","org.opencontainers.image.created":"2023-02-28T07:08:48.147Z","org.opencontainers.image.description":"Generate files from docker container meta-data","org.opencontainers.image.licenses":"MIT","org.opencontainers.image.revision":"8f6e9ad02d56391df5384cd160cf920362c321a7","org.opencontainers.image.source":"https://github.com/nginx-proxy/docker-gen","org.opencontainers.image.title":"docker-gen","org.opencontainers.image.url":"https://github.com/nginx-proxy/docker-gen","org.opencontainers.image.version":"0.10.0-13-g8f6e9ad"},"State":"running","Status":"Up 37 seconds","HostConfig":{"NetworkMode":"bridge_e-combox"},"NetworkSettings":{"Networks":{"bridge_e-combox":{"IPAMConfig":null,"Links":null,"Aliases":null,"NetworkID":"99d8e3d80e9be63c50a4138ddf799fa815a5362502a0045349e45a150cf21cd4","EndpointID":"18c28aa95081bb8d89004d19591e44b76ebeed7de74f3a366e88ef3d8b16dcff","Gateway":"192.168.97.1","IPAddress":"192.168.97.3","IPPrefixLen":24,"IPv6Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"MacAddress":"02:42:c0:a8:61:03","DriverOpts":null}}},"Mounts":[{"Type":"volume","Name":"e-combox_reverseproxy_nginx-docker-gen-templates","Source":"/var/lib/docker/volumes/e-combox_reverseproxy_nginx-docker-gen-templates/_data","Destination":"/etc/docker-gen/templates","Driver":"local","Mode":"ro","RW":false,"Propagation":""},{"Type":"volume","Name":"e-combox_reverseproxy_nginx-conf","Source":"/var/lib/docker/volumes/e-combox_reverseproxy_nginx-conf/_data","Destination":"/etc/nginx/conf.d","Driver":"local","Mode":"","RW":true,"Propagation":""},{"Type":"volume","Name":"e-combox_reverseproxy_nginx-ssl","Source":"/var/lib/docker/volumes/e-combox_reverseproxy_nginx-ssl/_data","Destination":"/etc/ssl/ecombox","Driver":"local","Mode":"","RW":true,"Propagation":""},{"Type":"bind","Source":"/var/run/docker.sock","Destination":"/tmp/docker.sock","Mode":"ro","RW":false,"Propagation":"rprivate"},{"Type":"volume","Name":"e-combox_reverseproxy_nginx-html","Source":"/var/lib/docker/volumes/e-combox_reverseproxy_nginx-html/_data","Destination":"/usr/share/nginx/html","Driver":"local","Mode":"","RW":true,"Propagation":""}]},{"Id":"69f950ff46dfdfc5e9f0a8be01ca12d715c26317d6fb176e8236a134bc21927e","Names":["/nginx"],"Image":"reseaucerta/nginx:4.2","ImageID":"sha256:5f30fa374b95b0696ecf1084bd2c743e02ed8ebfeb97d37ea936385e542ea577","Command":"/docker-entrypoint.sh nginx -g 'daemon off;'","Created":1700663223,"Ports":[{"IP":"0.0.0.0","PrivatePort":443,"PublicPort":8800,"Type":"tcp"},{"IP":"::","PrivatePort":443,"PublicPort":8800,"Type":"tcp"},{"PrivatePort":80,"Type":"tcp"}],"Labels":{"com.docker.compose.config-hash":"99d064824ed26ccc44527ba7bdeff3d869886aa5096e348bb8090daba07e38f3","com.docker.compose.container-number":"1","com.docker.compose.oneoff":"False","com.docker.compose.project":"e-combox_reverseproxy","com.docker.compose.project.config_files":"docker-compose.yml","com.docker.compose.project.working_dir":"/opt/e-combox/e-combox_reverseproxy","com.docker.compose.service":"nginx","com.docker.compose.version":"1.29.2","io.portainer.accesscontrol.teams":"profs","maintainer":"NGINX Docker Maintainers <docker-maint@nginx.com>"},"State":"running","Status":"Up 37 seconds","HostConfig":{"NetworkMode":"bridge_e-combox"},"NetworkSettings":{"Networks":{"bridge_e-combox":{"IPAMConfig":null,"Links":null,"Aliases":null,"NetworkID":"99d8e3d80e9be63c50a4138ddf799fa815a5362502a0045349e45a150cf21cd4","EndpointID":"dd44987dcacb50cd81d01ab9ac9c34e57863b33709976b1a9ae91e3c4906c8fd","Gateway":"192.168.97.1","IPAddress":"192.168.97.2","IPPrefixLen":24,"IPv6Gateway":"","GlobalIPv6Address":"","GlobalIPv6PrefixLen":0,"MacAddress":"02:42:c0:a8:61:02","DriverOpts":null}}},"Mounts":[{"Type":"volume","Name":"e-combox_reverseproxy_nginx-docker-gen-templates","Source":"/var/lib/docker/volumes/e-combox_reverseproxy_nginx-docker-gen-templates/_data","Destination":"/etc/docker-gen/templates","Driver":"local","Mode":"rw","RW":true,"Propagation":""},{"Type":"volume","Name":"e-combox_reverseproxy_nginx-conf","Source":"/var/lib/docker/volumes/e-combox_reverseproxy_nginx-conf/_data","Destination":"/etc/nginx/conf.d","Driver":"local","Mode":"rw","RW":true,"Propagation":""},{"Type":"volume","Name":"e-combox_reverseproxy_nginx-ssl","Source":"/var/lib/docker/volumes/e-combox_reverseproxy_nginx-ssl/_data","Destination":"/etc/ssl/ecombox","Driver":"local","Mode":"rw","RW":true,"Propagation":""},{"Type":"volume","Name":"e-combox_reverseproxy_nginx-html","Source":"/var/lib/docker/volumes/e-combox_reverseproxy_nginx-html/_data","Destination":"/usr/share/nginx/html","Driver":"local","Mode":"rw","RW":true,"Propagation":""}]}],"Volumes":{"Volumes":[{"CreatedAt":"2023-11-22T14:27:11Z","Driver":"local","Labels":null,"Mountpoint":"/var/lib/docker/volumes/registry_data/_data","Name":"registry_data","Options":null,"Scope":"local"},{"CreatedAt":"2023-11-22T14:27:21Z","Driver":"local","Labels":null,"Mountpoint":"/var/lib/docker/volumes/e-combox_git-data/_data","Name":"e-combox_git-data","Options":null,"Scope":"local"},{"CreatedAt":"2023-11-22T14:27:34Z","Driver":"local","Labels":null,"Mountpoint":"/var/lib/docker/volumes/e-combox_portainer_portainer-data/_data","Name":"e-combox_portainer_portainer-data","Options":null,"Scope":"local"},{"CreatedAt":"2023-11-22T14:27:03Z","Driver":"local","Labels":{"com.docker.compose.project":"e-combox_reverseproxy","com.docker.compose.version":"1.29.2","com.docker.compose.volume":"nginx-conf"},"Mountpoint":"/var/lib/docker/volumes/e-combox_reverseproxy_nginx-conf/_data","Name":"e-combox_reverseproxy_nginx-conf","Options":null,"Scope":"local"},{"CreatedAt":"2023-11-22T14:27:03Z","Driver":"local","Labels":{"com.docker.compose.project":"e-combox_reverseproxy","com.docker.compose.version":"1.29.2","com.docker.compose.volume":"nginx-html"},"Mountpoint":"/var/lib/docker/volumes/e-combox_reverseproxy_nginx-html/_data","Name":"e-combox_reverseproxy_nginx-html","Options":null,"Scope":"local"},{"CreatedAt":"2023-11-22T14:27:03Z","Driver":"local","Labels":{"com.docker.compose.project":"e-combox_reverseproxy","com.docker.compose.version":"1.29.2","com.docker.compose.volume":"nginx-ssl"},"Mountpoint":"/var/lib/docker/volumes/e-combox_reverseproxy_nginx-ssl/_data","Name":"e-combox_reverseproxy_nginx-ssl","Options":null,"Scope":"local"},{"CreatedAt":"2023-11-22T14:27:03Z","Driver":"local","Labels":{"com.docker.compose.project":"e-combox_reverseproxy","com.docker.compose.version":"1.29.2","com.docker.compose.volume":"nginx-docker-gen-templates"},"Mountpoint":"/var/lib/docker/volumes/e-combox_reverseproxy_nginx-docker-gen-templates/_data","Name":"e-combox_reverseproxy_nginx-docker-gen-templates","Options":null,"Scope":"local"}],"Warnings":null},"Networks":[{"Name":"none","Id":"844c0e7138ad641aef1a74d3387f35c5de980e3bdf66f63a5414ac255ae814ae","Created":"2023-11-22T14:22:35.800205392Z","Scope":"local","Driver":"null","EnableIPv6":false,"IPAM":{"Driver":"default","Options":null,"Config":[]},"Internal":false,"Attachable":false,"Ingress":false,"ConfigFrom":{"Network":""},"ConfigOnly":false,"Containers":{},"Options":{},"Labels":{}},{"Name":"host","Id":"d6173abcaa2d297267964c0ad85049e19b2391150627d0c777830e393df521e8","Created":"2023-11-22T14:22:35.82648308Z","Scope":"local","Driver":"host","EnableIPv6":false,"IPAM":{"Driver":"default","Options":null,"Config":[]},"Internal":false,"Attachable":false,"Ingress":false,"ConfigFrom":{"Network":""},"ConfigOnly":false,"Containers":{},"Options":{},"Labels":{}},{"Name":"bridge","Id":"6f8a6326895acdb992859ca8a76d5e4390e8319607b61ea7b88b16ca972ef796","Created":"2023-11-22T14:22:35.909647569Z","Scope":"local","Driver":"bridge","EnableIPv6":false,"IPAM":{"Driver":"default","Options":null,"Config":[{"Subnet":"172.17.0.0/16","Gateway":"172.17.0.1"}]},"Internal":false,"Attachable":false,"Ingress":false,"ConfigFrom":{"Network":""},"ConfigOnly":false,"Containers":{},"Options":{"com.docker.network.bridge.default_bridge":"true","com.docker.network.bridge.enable_icc":"true","com.docker.network.bridge.enable_ip_masquerade":"true","com.docker.network.bridge.host_binding_ipv4":"0.0.0.0","com.docker.network.bridge.name":"docker0","com.docker.network.driver.mtu":"1500"},"Labels":{}},{"Name":"bridge_e-combox","Id":"99d8e3d80e9be63c50a4138ddf799fa815a5362502a0045349e45a150cf21cd4","Created":"2023-11-22T14:26:42.891174861Z","Scope":"local","Driver":"bridge","EnableIPv6":false,"IPAM":{"Driver":"default","Options":{},"Config":[{"Subnet":"192.168.97.0/24"}]},"Internal":false,"Attachable":false,"Ingress":false,"ConfigFrom":{"Network":""},"ConfigOnly":false,"Containers":{},"Options":{},"Labels":{}}],"Images":[{"Containers":-1,"Created":1690899766,"Id":"sha256:598092a7e739e0eed0b20f715b621bd8702b26e2edbee31019748e8eefaced6d","Labels":null,"ParentId":"","RepoDigests":["reseaucerta/git-http-server@sha256:cc45fa5698383966590fbba3a84cc18680649bc32e973a11bff528c1f7965750"],"RepoTags":["reseaucerta/git-http-server:4.2"],"SharedSize":-1,"Size":56766393,"VirtualSize":56766393},{"Containers":-1,"Created":1688678633,"Id":"sha256:9ecc2a9e02ca015f0bddf16e222161a2c336a835b8621e74ab582b85e8e7de5a","Labels":{"com.docker.desktop.extension.api.version":">= 0.2.2","com.docker.desktop.extension.icon":"https://portainer-io-assets.sfo2.cdn.digitaloceanspaces.com/logos/portainer.png","com.docker.extension.additional-urls":"[{\"title\":\"Website\",\"url\":\"https://www.portainer.io?utm_campaign=DockerCon&utm_source=DockerDesktop\"},{\"title\":\"Documentation\",\"url\":\"https://docs.portainer.io\"},{\"title\":\"Support\",\"url\":\"https://join.slack.com/t/portainer/shared_invite/zt-txh3ljab-52QHTyjCqbe5RibC2lcjKA\"}]","com.docker.extension.detailed-description":"<p data-renderer-start-pos=\"226\">Portainer&rsquo;s Docker Desktop extension gives you access to all of Portainer&rsquo;s rich management functionality within your docker desktop experience.</p><h2 data-renderer-start-pos=\"374\">With Portainer you can:</h2><ul><li>See all your running containers</li><li>Easily view all of your container logs</li><li>Console into containers</li><li>Easily deploy your code into containers using a simple form</li><li>Turn your YAML into custom templates for easy reuse</li></ul><h2 data-renderer-start-pos=\"660\">About Portainer&nbsp;</h2><p data-renderer-start-pos=\"680\">Portainer is the worlds&rsquo; most popular universal container management platform with more than 650,000 active monthly users. Portainer can be used to manage Docker Standalone, Kubernetes, Docker Swarm and Nomad environments through a single common interface. It includes a simple GitOps automation engine and a Kube API.&nbsp;</p><p data-renderer-start-pos=\"1006\">Portainer Business Edition is our fully supported commercial grade product for business-wide use. It includes all the functionality that businesses need to manage containers at scale. Visit <a class=\"sc-jKJlTe dPfAtb\" href=\"http://portainer.io/\" title=\"http://Portainer.io\" data-renderer-mark=\"true\">Portainer.io</a> to learn more about Portainer Business and <a class=\"sc-jKJlTe dPfAtb\" href=\"http://portainer.io/take5?utm_campaign=DockerCon&amp;utm_source=Docker%20Desktop\" title=\"http://portainer.io/take5?utm_campaign=DockerCon&amp;utm_source=Docker%20Desktop\" data-renderer-mark=\"true\">get 5 free nodes.</a></p>","com.docker.extension.publisher-url":"https://www.portainer.io","com.docker.extension.screenshots":"[{\"alt\": \"screenshot one\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-1.png\"},{\"alt\": \"screenshot two\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-2.png\"},{\"alt\": \"screenshot three\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-3.png\"},{\"alt\": \"screenshot four\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-4.png\"},{\"alt\": \"screenshot five\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-5.png\"},{\"alt\": \"screenshot six\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-6.png\"},{\"alt\": \"screenshot seven\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-7.png\"},{\"alt\": \"screenshot eight\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-8.png\"},{\"alt\": \"screenshot nine\", \"url\": \"https://portainer-io-assets.sfo2.digitaloceanspaces.com/screenshots/docker-extension-9.png\"}]","io.portainer.server":"true","org.opencontainers.image.description":"Docker container management made simple, with the world’s most popular GUI-based container management platform.","org.opencontainers.image.title":"Portainer","org.opencontainers.image.vendor":"Portainer.io"},"ParentId":"","RepoDigests":["portainer/portainer-ce@sha256:94c3056dbe879f3a3df06b427713392a0962924914f5c2fc557de3797f59f926"],"RepoTags":["portainer/portainer-ce:2.18.4"],"SharedSize":-1,"Size":277479571,"VirtualSize":277479571},{"Containers":-1,"Created":1677953693,"Id":"sha256:4403bf336a8aaaa55ab4a113f3b7d7d6279769801ec03c7eb1b44f52e109afa3","Labels":{"org.opencontainers.image.authors":"Nicolas Duchon <nicolas.duchon@gmail.com> (@buchdag), Jason Wilder","org.opencontainers.image.created":"2023-02-28T07:08:48.147Z","org.opencontainers.image.description":"Generate files from docker container meta-data","org.opencontainers.image.licenses":"MIT","org.opencontainers.image.revision":"8f6e9ad02d56391df5384cd160cf920362c321a7","org.opencontainers.image.source":"https://github.com/nginx-proxy/docker-gen","org.opencontainers.image.title":"docker-gen","org.opencontainers.image.url":"https://github.com/nginx-proxy/docker-gen","org.opencontainers.image.version":"0.10.0-13-g8f6e9ad"},"ParentId":"","RepoDigests":["reseaucerta/docker-gen@sha256:4b48c0dc225b96eb3bd14ed9bad941391f9eb2b715c4a33cb467a393a2b83335"],"RepoTags":["reseaucerta/docker-gen:4.2"],"SharedSize":-1,"Size":20101686,"VirtualSize":20101686},{"Containers":-1,"Created":1677953685,"Id":"sha256:5f30fa374b95b0696ecf1084bd2c743e02ed8ebfeb97d37ea936385e542ea577","Labels":{"maintainer":"NGINX Docker Maintainers <docker-maint@nginx.com>"},"ParentId":"","RepoDigests":["reseaucerta/nginx@sha256:5b559a4be6dc37070af08b30dfcb65d3d270968a622e402137bed660a6901347"],"RepoTags":["reseaucerta/nginx:4.2"],"SharedSize":-1,"Size":177395268,"VirtualSize":177395268},{"Containers":-1,"Created":1676124238,"Id":"sha256:0d153fadf70b612a5215e3a788a0b58ba6fa25e5df4b59698e0feb2174e8a98c","Labels":null,"ParentId":"","RepoDigests":["reseaucerta/registry@sha256:a001a2f72038b13c1cbee7cdd2033ac565636b325dfee98d8b9cc4ba749ef337"],"RepoTags":["reseaucerta/registry:4.2"],"SharedSize":-1,"Size":24151909,"VirtualSize":24151909}],"Info":{"ID":"fc870fb8-5135-407e-aa88-93d099c581af","Containers":5,"ContainersRunning":5,"ContainersPaused":0,"ContainersStopped":0,"Images":5,"Driver":"overlay2","DriverStatus":[["Backing Filesystem","extfs"],["Supports d_type","true"],["Using metacopy","false"],["Native Overlay Diff","true"],["userxattr","false"]],"Plugins":{"Volume":["local"],"Network":["bridge","host","ipvlan","macvlan","null","overlay"],"Authorization":null,"Log":["awslogs","fluentd","gcplogs","gelf","journald","json-file","local","logentries","splunk","syslog"]},"MemoryLimit":true,"SwapLimit":true,"CpuCfsPeriod":true,"CpuCfsQuota":true,"CPUShares":true,"CPUSet":true,"PidsLimit":true,"IPv4Forwarding":true,"BridgeNfIptables":true,"BridgeNfIp6tables":true,"Debug":false,"NFd":64,"OomKillDisable":false,"NGoroutines":73,"SystemTime":"2023-11-22T14:27:42.495369462Z","LoggingDriver":"json-file","CgroupDriver":"systemd","CgroupVersion":"2","NEventsListener":1,"KernelVersion":"5.10.0-8-amd64","OperatingSystem":"Debian GNU/Linux 11 (bullseye)","OSVersion":"11","OSType":"linux","Architecture":"x86_64","IndexServerAddress":"https://index.docker.io/v1/","RegistryConfig":{"AllowNondistributableArtifactsCIDRs":null,"AllowNondistributableArtifactsHostnames":null,"InsecureRegistryCIDRs":["127.0.0.0/8"],"IndexConfigs":{"docker.io":{"Name":"docker.io","Mirrors":[],"Secure":true,"Official":true}},"Mirrors":null},"NCPU":2,"MemTotal":2180694016,"GenericResources":null,"DockerRootDir":"/var/lib/docker","HttpProxy":"","HttpsProxy":"","NoProxy":"","Name":"yunohost","Labels":[],"ExperimentalBuild":false,"ServerVersion":"24.0.7","Runtimes":{"io.containerd.runc.v2":{"path":"runc"},"runc":{"path":"runc"}},"DefaultRuntime":"runc","Swarm":{"NodeID":"","NodeAddr":"","LocalNodeState":"inactive","ControlAvailable":false,"Error":"","RemoteManagers":null},"LiveRestoreEnabled":false,"Isolation":"","InitBinary":"docker-init","ContainerdCommit":{"ID":"d8f198a4ed8892c764191ef7b3b06d8a2eeb5c7f","Expected":"d8f198a4ed8892c764191ef7b3b06d8a2eeb5c7f"},"RuncCommit":{"ID":"v1.1.10-0-g18a0cb0","Expected":"v1.1.10-0-g18a0cb0"},"InitCommit":{"ID":"de40ad0","Expected":"de40ad0"},"SecurityOptions":["name=apparmor","name=seccomp,profile=builtin","name=cgroupns"],"Warnings":null},"Version":{"Platform":{"Name":"Docker Engine - Community"},"Components":[{"Name":"Engine","Version":"24.0.7","Details":{"ApiVersion":"1.43","Arch":"amd64","BuildTime":"2023-10-26T09:08:17.000000000+00:00","Experimental":"false","GitCommit":"311b9ff","GoVersion":"go1.20.10","KernelVersion":"5.10.0-8-amd64","MinAPIVersion":"1.12","Os":"linux"}},{"Name":"containerd","Version":"1.6.25","Details":{"GitCommit":"d8f198a4ed8892c764191ef7b3b06d8a2eeb5c7f"}},{"Name":"runc","Version":"1.1.10","Details":{"GitCommit":"v1.1.10-0-g18a0cb0"}},{"Name":"docker-init","Version":"0.19.0","Details":{"GitCommit":"de40ad0"}}],"Version":"24.0.7","ApiVersion":"1.43","MinAPIVersion":"1.12","GitCommit":"311b9ff","GoVersion":"go1.20.10","Os":"linux","Arch":"amd64","KernelVersion":"5.10.0-8-amd64","BuildTime":"2023-10-26T09:08:17.000000000+00:00"}},"NodeCount":0,"GpuUseAll":false,"GpuUseList":[]}],"UserAccessPolicies":{},"TeamAccessPolicies":{"1":{"RoleId":0}},"EdgeKey":"","EdgeCheckinInterval":0,"Kubernetes":{"Snapshots":[],"Configuration":{"UseLoadBalancer":false,"UseServerMetrics":false,"EnableResourceOverCommit":false,"ResourceOverCommitPercentage":0,"StorageClasses":[],"IngressClasses":[],"RestrictDefaultNamespace":false,"IngressAvailabilityPerNamespace":false,"AllowNoneIngressClass":false},"Flags":{"IsServerMetricsDetected":false,"IsServerIngressClassDetected":false,"IsServerStorageDetected":false}},"ComposeSyntaxMaxVersion":"","SecuritySettings":{"allowBindMountsForRegularUsers":true,"allowPrivilegedModeForRegularUsers":true,"allowVolumeBrowserForRegularUsers":false,"allowHostNamespaceForRegularUsers":true,"allowDeviceMappingForRegularUsers":true,"allowStackManagementForRegularUsers":true,"allowContainerCapabilitiesForRegularUsers":true,"allowSysctlSettingForRegularUsers":true,"enableHostManagementFeatures":false},"LastCheckInDate":0,"QueryDate":0,"Heartbeat":false,"IsEdgeDevice":false,"UserTrusted":false,"PostInitMigrations":{"MigrateIngresses":false,"MigrateGPUs":false},"Edge":{"AsyncMode":false,"PingInterval":0,"SnapshotInterval":0,"CommandInterval":0},"Agent":{"Version":""},"EnableGPUManagement":false,"AuthorizedUsers":null,"AuthorizedTeams":null,"Tags":null}

Retour ID_CONTENEUR_NGINX : 69f950ff46dfdfc5e9f0a8be01ca12d715c26317d6fb176e8236a134bc21927e

Retour MAJ_RESTRICTION_NGINX : {"Id":1,"ResourceId":"69f950ff46dfdfc5e9f0a8be01ca12d715c26317d6fb176e8236a134bc21927e","SubResourceIds":[],"Type":1,"UserAccesses":[],"TeamAccesses":[{"TeamId":1,"AccessLevel":1}],"Public":false,"AdministratorsOnly":false,"System":false}

Retour AJOUT_RESTRICTION_REGISTRY : {"Id":2,"ResourceId":"58b9bc58b50a91fe0c067e0cdf4d901a383eb9402f61fd4eb250c7989538537a","SubResourceIds":null,"Type":1,"UserAccesses":[],"TeamAccesses":[{"TeamId":1,"AccessLevel":1}],"Public":false,"AdministratorsOnly":false,"System":false}

Retour ID_RESTRICTION_REGISTRY: 
Ajout des permissions
Gestion du stack FSserver pour les mentions légales
Création du stack "FSserver"...
Retour de la création du stack : {"Id":1,"Name":"fsserver","Type":2,"EndpointId":1,"SwarmId":"","EntryPoint":"docker-compose-FSserver.yml","Env":null,"ResourceControl":{"Id":3,"ResourceId":"1_fsserver","SubResourceIds":[],"Type":6,"UserAccesses":[],"TeamAccesses":[],"Public":false,"AdministratorsOnly":true,"System":false},"Status":1,"ProjectPath":"/data/compose/1","CreationDate":1700663294,"CreatedBy":"admin","UpdateDate":0,"UpdatedBy":"","AdditionalFiles":null,"AutoUpdate":null,"Option":null,"GitConfig":{"URL":"https://forge.aeif.fr/e-combox/e-combox_docker-compose","ReferenceName":"refs/heads/4.2","ConfigFilePath":"docker-compose-FSserver.yml","Authentication":null,"ConfigHash":"40e60761862ec7d3352c503241c776cb388f455e","TLSSkipVerify":false},"FromAppTemplate":false,"Namespace":"","IsComposeFormat":false}
Le stack FSserver est démarré.
Retour MAJ_RESTRICTION_FSSERVER : {"Id":3,"ResourceId":"1_fsserver","SubResourceIds":[],"Type":6,"UserAccesses":[],"TeamAccesses":[{"TeamId":1,"AccessLevel":1}],"Public":false,"AdministratorsOnly":false,"System":false}
Télécharchement des scripts utiles... Fait
Restriction des droits du dossier /opt/e-combox... Fait

Retour MODIF_SETTINGS_PORTAINER : {"Id":1,"Name":"primary","Type":1,"URL":"unix:///var/run/docker.sock","GroupId":1,"PublicURL":"","Gpus":null,"TLSConfig":{"TLS":false,"TLSSkipVerify":false},"AzureCredentials":{"ApplicationID":"","TenantID":"","AuthenticationKey":""},"TagIds":[],"Status":1,"Snapshots":[],"UserAccessPolicies":{},"TeamAccessPolicies":{"1":{"RoleId":0}},"EdgeKey":"","EdgeCheckinInterval":0,"Kubernetes":{"Snapshots":[],"Configuration":{"UseLoadBalancer":false,"UseServerMetrics":false,"EnableResourceOverCommit":false,"ResourceOverCommitPercentage":0,"StorageClasses":[],"IngressClasses":[],"RestrictDefaultNamespace":false,"IngressAvailabilityPerNamespace":false,"AllowNoneIngressClass":false},"Flags":{"IsServerMetricsDetected":false,"IsServerIngressClassDetected":false,"IsServerStorageDetected":false}},"ComposeSyntaxMaxVersion":"","SecuritySettings":{"allowBindMountsForRegularUsers":true,"allowPrivilegedModeForRegularUsers":true,"allowVolumeBrowserForRegularUsers":false,"allowHostNamespaceForRegularUsers":true,"allowDeviceMappingForRegularUsers":true,"allowStackManagementForRegularUsers":true,"allowContainerCapabilitiesForRegularUsers":true,"allowSysctlSettingForRegularUsers":true,"enableHostManagementFeatures":false},"LastCheckInDate":0,"QueryDate":0,"Heartbeat":false,"IsEdgeDevice":false,"UserTrusted":false,"PostInitMigrations":{"MigrateIngresses":false,"MigrateGPUs":false},"Edge":{"AsyncMode":false,"PingInterval":0,"SnapshotInterval":0,"CommandInterval":0},"Agent":{"Version":""},"EnableGPUManagement":false,"AuthorizedUsers":null,"AuthorizedTeams":null,"Tags":null}
Test mdp par défaut de portainer : {"message":"Invalid credentials","details":"Unauthorized"}

Tentative de connexion à l'API...
Connexion à l'API de Portainer... Succès

Configuration de la méthode d'authentification sur l'authentification interne : {"LogoURL":"","BlackListedLabels":[],"AuthenticationMethod":1,"InternalAuthSettings":{"RequiredPasswordLength":12},"LDAPSettings":{"AnonymousMode":true,"ReaderDN":"","URL":"","TLSConfig":{"TLS":false,"TLSSkipVerify":false},"StartTLS":false,"SearchSettings":[{"BaseDN":"","Filter":"","UserNameAttribute":""}],"GroupSearchSettings":[{"GroupBaseDN":"","GroupFilter":"","GroupAttribute":""}],"AutoCreateUsers":true},"OAuthSettings":{"ClientID":"","AccessTokenURI":"","AuthorizationURI":"","ResourceURI":"","RedirectURI":"","UserIdentifier":"","Scopes":"","OAuthAutoCreateUsers":false,"DefaultTeamID":0,"SSO":true,"LogoutURI":"","KubeSecretKey":"mlzEqlf06m+LstWp4nlOcPwYRvCgQmrE5P/mP/QO8fI="},"openAMTConfiguration":{"enabled":false,"mpsServer":"","mpsUser":"","mpsPassword":"","mpsToken":"","certFileName":"","certFileContent":"","certFilePassword":"","domainName":""},"fdoConfiguration":{"enabled":false,"ownerURL":"","ownerUsername":"","ownerPassword":""},"FeatureFlagSettings":null,"SnapshotInterval":"5m","TemplatesURL":"https://raw.githubusercontent.com/portainer/templates/master/templates-2.0.json","EdgeAgentCheckinInterval":5,"ShowKomposeBuildOption":false,"EnableEdgeComputeFeatures":false,"UserSessionTimeout":"8h","KubeconfigExpiry":"0","EnableTelemetry":false,"HelmRepositoryURL":"https://charts.bitnami.com/bitnami","KubectlShellImage":"portainer/kubectl-shell","TrustOnFirstConnect":false,"EnforceEdgeID":false,"AgentSecret":"","EdgePortainerUrl":"","Edge":{"CommandInterval":0,"PingInterval":0,"SnapshotInterval":0,"AsyncMode":false},"DisplayDonationHeader":false,"DisplayExternalContributors":false,"EnableHostManagementFeatures":false,"AllowVolumeBrowserForRegularUsers":false,"AllowBindMountsForRegularUsers":false,"AllowPrivilegedModeForRegularUsers":false,"AllowHostNamespaceForRegularUsers":false,"AllowStackManagementForRegularUsers":false,"AllowDeviceMappingForRegularUsers":false,"AllowContainerCapabilitiesForRegularUsers":false}

Installation terminée
Application e-comBox : https://ecombox.pedagogeek.eu:8800/app/
Portainer : https://ecombox.pedagogeek.eu:8800/portainer/
Les sites : https://ecombox.pedagogeek.eu:8800/nom_du_site/

Vous pouvez accéder à l'interface d'e-comBox via le compte admin de Portainer mais une bonne pratique consiste à créer, sur Portainer, au moins un compte dans le groupe "Profs" puis accéder à l'interface d'e-comBox avec les identifiants de ce dernier.
ecombox-2.log (51,773 bytes)   

patrick.reynaud

2023-11-22 16:14

reporter   ~0001003

test de
https://ecombox.pedagogeek.eu:8800/portainer/ sous Edge à la place de chrome
avertissement site dangereux et https barré
connexion ok

aporaf

2023-11-22 21:15

administrator   ~0001004

Bonsoir,

J'accède effectivement aux écrans de connexion en acceptant le certificat et ce, même sur chrome.
Pour le problème HSTS, je pense qu'il faut effacer le cache HSTS de votre navigateur. Pour cela, dans Chrome :

  • saisir dans la barre URL : chrome://net-internals/#hsts
  • entrer le nom de domaine dans le champ texte de la section "Delete domain security policies"
  • cliquer sur le bouton Delete
  • entrer le nom de domaine dans le champ texte de la section "Query HSTS"
  • cliquer sur le bouton Query
  • la réponse doit être "Not found" (non trouvé).

Sinon, je crois que je viens de comprendre (désolée, un peu tardivement) ce qui se passe avec le script manage_certificats.sh.
Il faut l'appeler avec bash et non avec sh car la commande "source" ne fonctionne pas de la même manière.

Cordialement,

patrick.reynaud

2023-11-23 14:16

reporter   ~0001005

waouh ! super merci
Tout marche nickel !
Cela m'apprendra a être moins fainéant dans la saisie des commandes
belle journée a vous
Patrick

aporaf

2023-11-23 21:03

administrator   ~0001006

:) Super !

Théoriquement si vous relancez le script avec juste l'option -a, ça devrait mettre en place un cron qui va automatiquement mettre à jour le certificat quand il va expirer (pour éviter de le faire à la main tous les trois mois).

Cordialement

Issue History

Date Modified Username Field Change
2023-11-18 11:46 patrick.reynaud New Issue
2023-11-18 17:28 aporaf Assigned To => aporaf
2023-11-18 17:28 aporaf Status new => assigned
2023-11-18 17:29 aporaf Status assigned => acknowledged
2023-11-18 17:29 aporaf Note Added: 0000997
2023-11-18 17:33 aporaf Note Added: 0000998
2023-11-19 12:26 patrick.reynaud Note Added: 0000999
2023-11-19 12:26 patrick.reynaud File Added: ecombox.log
2023-11-19 13:57 aporaf Note Added: 0001000
2023-11-19 18:24 aporaf Note Added: 0001001
2023-11-22 16:01 patrick.reynaud Note Added: 0001002
2023-11-22 16:01 patrick.reynaud File Added: ecombox-2.log
2023-11-22 16:14 patrick.reynaud Note Added: 0001003
2023-11-22 21:15 aporaf Note Added: 0001004
2023-11-23 14:16 patrick.reynaud Note Added: 0001005
2023-11-23 21:03 aporaf Status acknowledged => resolved
2023-11-23 21:03 aporaf Resolution open => fixed
2023-11-23 21:03 aporaf Note Added: 0001006