Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

version 5.3.2 - bash install.sh - MappingException - File mapping drivers must have a valid directory path #29

Open
ytennevin opened this issue May 2, 2023 · 0 comments

Comments

@ytennevin
Copy link
Collaborator

Je suis passé en version version 5.3.2
Quand je fais un bash install.sh

J'ai un message d'erreur ou warning qui s'affiche à la fin du batch

Par contre, L'application semble fonctionner, à moins que cela ait un impact inconnu quelque part ailleurs que je n'ai pas detecté.

In MappingException.php line 50:
                                                                                                                              
  File mapping drivers must have a valid directory path, however the given path [/data/app-pg/vendor/unicaen/app/config/../src/UnicaenApp/Entity/Db] seems to be incorrect!                                                                             

Donc je suppose qu'un des repertoires est incorrect au niveau du fichier de conf associé.

find . -iname MappingException.php
./vendor/doctrine/orm/lib/Doctrine/ORM/Mapping/MappingException.php
./vendor/doctrine/persistence/lib/Doctrine/Common/Persistence/Mapping/MappingException.php
./vendor/doctrine/persistence/lib/Doctrine/Persistence/Mapping/MappingException.php

J'ignore lequel il faut utiliser (en supposant qu'il faille adapter le chemin)

find /data/app-pg/vendor -iname Db | grep Entity
/data/app-pg/vendor/unicaen/auth/src/UnicaenAuth/Entity/Db
/data/app-pg/vendor/unicaen/auth/tests/UnicaenAuthTest/Entity/Db
/data/app-pg/vendor/unicaen/db-import/src/UnicaenDbImport/Entity/Db
/data/app-pg/vendor/unicaen/faq/src/UnicaenFaq/Entity/Db
/data/app-pg/vendor/unicaen/parametre/src/UnicaenParametre/Entity/Db
/data/app-pg/vendor/unicaen/privilege/src/UnicaenPrivilege/Entity/Db
/data/app-pg/vendor/unicaen/alerte/src/UnicaenAlerte/Entity/Db
/data/app-pg/vendor/unicaen/test/src/UnicaenTest/Entity/Db
/data/app-pg/vendor/unicaen/auth-token/src/UnicaenAuthToken/Entity/Db
/data/app-pg/vendor/unicaen/renderer/src/UnicaenRenderer/Entity/Db

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant