ProgrammeVitam / vitam

Digital Archives Management System developped by French government/Programme interministériel archives numériques ; core system.
CeCILL Free Software License Agreement v2.1
123 stars 41 forks source link

installation vitam 5.0 poste de dev #142

Open kordyx opened 2 years ago

kordyx commented 2 years ago

Bonjour,

J'ai installé avec succès une version VITAM 5.0 en mode poc avec 3 serveurs + 1 serveur pivot. Maintenant je test l'installation poste développement mais je n'arrive pas à finaliser l'installation.

1) Lorsque je lance le script : vitam-conf-dev/scripts/maven-setup-chapelle-edition.sh cela génére un fichier .npmrc.

et lors du lancement de dev-deployment/run_cots.sh il recherche a monter un répertoire. Using vitam target : rpm-cots Starting existing container (if stopped) ; please wait... Error response from daemon: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/home/vagrant/.npmrc" to rootfs at "/devhome/.npmrc": mount /home/vagrant/.npmrc:/devhome/.npmrc (via /proc/self/fd/6), flags: 0x5000: not a directory: unknown: Are you trying to mount a directory onto a file (or vice-versa)? Check if the specified host path exists and is the expected type

2) Je n'ai aucune erreur sur les taches vitam-build-repo et vitam-deploy-cots. par contre lorsque je lance le script init_data_vitam.sh j'ai des connections refused sur les 2 services.
Y a t il autre chose a configurer ? qui ne serait pas décris dans la documentation https://github.com/ProgrammeVitam/vitam/tree/5.0/vitam-conf-dev

image

vbdockers commented 2 years ago

Hello,

Looking at the scripts, it might be a docker issue - did you check that the process before is actually making a file .npmrc and not a folder? Is docker able to access the file?

If so delete the folder .npmrc and try using a different docker version.

Other possible cause could be if your setup is not a barebone/physical machine but a virtual one and not configured properly to run containers.

Here are some things you can check although they are based on windows environment: https://github.com/moby/moby/issues/34167

TDevillechabrolle commented 2 years ago

L'aide ci-dessus a-t-elle pu vous dépanner ?