Veuillez patienter...
/
https://forum.claroline.net/
/
/themes/claroline/bootstrap.css?v=373695b0789add75084adaa2e947337f
fr_FR
Vous utilisez un navigateur non pris en charge. Pour éviter tout fonctionnement indésirable, veuillez utiliser une version récente d'un navigateur majeur. (http://browsehappy.com). Internet Explorer est supporté à partir de la version 11.

[Sujet] Impossible de créer des utilisateurs par CSV

Messages par page
Auteur Messages

15/09/2017 17:17

Cher M. Gruber, 

C'est la première fois que j'essaie de créer des utilisateurs à l'aide d'un csv depuis la mise à jour que vous avez effectué sur notre plateforme en juin/juillet 2017.

Il ne traite que la première ligne.

Le CSV est bien au format UTF-8, séparé par des points virgules, sans entête et sans saut de ligne à la fin.

Après chaque tentative j'obtiens l’erreur

Oops ! Something goes wrong... Oups! Une erreur s'est produite...

Erreur interne du serveur. Veuillez contactez l'administrateur de la plateforme.

Il ne crée que le premier utilisateur du fichier CSV.

Auriez-vous une idée comment résoudre ce problème?.

 

par ailleurs les nouveaux utilisateurs créés, depuis cette mise à jour, n'ont pas d'espace  personnel. 

Nadim

 

Il y a 1 an


28/09/2017 15:50

sur la page avec erreur interne il y a normalement un bouton pour créer un ticket, quand on clique dessus, il y a un oeil qui permet de voir le détail de l'erreur, pourriez vous me le donner ...

Sinon une façon de le résoudre est de remettre à jour de toute façon, il n'y a pas de bug sur la dernière version.

On peut aussi importer des csv en ligne de commande avec php app/console claroline: ...

 

Il y a 1 an


28/09/2017 16:04

Je viens de tester la page du message d'erreur ne contient pas de bouton pour créer un ticket.

Pourriez-vous être plus explicite si je dois les créer en ligne de commande ?

Je n'ai jamais fait de maj en ligne de commande est-ce cette procédure à suivre?

Merci d'avance

Support(Problème MAJ 10.0.21 vers 10.x résolu (script donné ici) mais questionnement sur composer sync et composer sync-dev) -     Forum Claroline Connect -
            
            Support
Support(Problème MAJ 10.0.21 vers 10.x résolu (script donné ici) mais questionnement sur composer sync et composer sync-dev) - Forum Claroline Connect - Support Bonjour, Le composeur update s'est bien passé mais la MJ a échouée par la suite (Script composer fetch handling the sync event returned with error code 1).Ci-dessous les commandes - indiquées par un ami qui gère une autre plateforme - qui m'ont permis de passer le cap. L'ennui c'est que je ne sais pas si "ma" plateforme de test est OK pour la suite (le sync-dev est passé mais pas le sync). Je n'ai pas mis la plateforme d'exploitation à jour pour le moment car j'aimerais bien comprendre ces histoires de branches.git checkout 10.xgit fetchgit reset --hard (pour rester sur le dépôt local, voir git status)git pull origin 10.xcomposer sync-dev

https://forum.claroline.net/forum/subject/956/messages/page/1/max

Il y a 1 an


28/09/2017 16:10

le procédure que je donne tout en bas fonctionne en tout cas, chaque fois que je le fais :

git checkout .

git fetch origin

git checkout origin/10.x

composer update

npm install && npm run bower && npm run webpack

php app/console claroline:update

 

Après le npm run webpack il dit parfois qu'il manque certaine chose typiquement react-date-picker par exemple

dans ce cas :

npm install packet-qui-manque

 

biensur à la fin il faut vider le cache

 

pour créer les utilisteurs en ligne de commande, il faut utiliser :

php app/console claroline:user:load

Il y a 1 an


28/09/2017 16:12

je vais essayer cela maintenant.

Merci pour votre aide.

Il y a 1 an


28/09/2017 16:34

Arrivé a la commande  npm install && npm run bower && npm run webpack j'ai une liste interminable d'erreur.

Par la suite php app/console claroline:update ne fonctionne pas.

Dois-je restaurer l'ensemble de la plateforme? ou bien pourriez-vous y jeter un coup d'oeil?

 

Il y a 1 an


28/09/2017 16:50

la liste interminable d'erreur dis probablement simplement qu'il manque des packets a npm type react-datetime...

Il y a 1 an


28/09/2017 17:02

 

Voici le début des erreurs  il y'a probablement une centaine de paragraphes ERROR qui ressemblent a ceux ci-dessous

 

WARNING in ./web/packages/angular-dragula/dist/angular-dragula.js
Critical dependencies:
1:487-494 This seems to be a pre-built javascript file. Though this is possible, it's not recommended. Try to require the original source to get better results.
 @ ./web/packages/angular-dragula/dist/angular-dragula.js 1:487-494

 

ERROR in ./vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components/event-repeat-form-modal.jsx
Module not found: Error: Cannot resolve module 'react-bootstrap/lib/Modal' in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components
resolve module react-bootstrap/lib/Modal in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components
  looking for modules in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/web/packages
    /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/web/packages/react-bootstrap doesn't exist (module as directory)
  looking for modules in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/node_modules
    /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/node_modules/react-bootstrap doesn't exist (module as directory)
[/var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/web/packages/react-bootstrap]
[/var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/node_modules/react-bootstrap]
 @ ./vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components/event-repeat-form-modal.jsx 34:13-49

ERROR in ./vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components/event-form-modal.jsx
Module not found: Error: Cannot resolve module 'react-bootstrap/lib/Modal' in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components
resolve module react-bootstrap/lib/Modal in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components
  looking for modules in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/web/packages
    /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/web/packages/react-bootstrap doesn't exist (module as directory)
  looking for modules in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/node_modules
    /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/node_modules/react-bootstrap doesn't exist (module as directory)
[/var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/web/packages/react-bootstrap]
[/var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/node_modules/react-bootstrap]
 @ ./vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components/event-form-modal.jsx 36:13-49

ERROR in ./vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components/event-comments-modal.jsx
Module not found: Error: Cannot resolve module 'react-bootstrap/lib/Modal' in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components
resolve module react-bootstrap/lib/Modal in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components
  looking for modules in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/web/packages
    /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/web/packages/react-bootstrap doesn't exist (module as directory)
  looking for modules in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/node_modules
    /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/node_modules/react-bootstrap doesn't exist (module as directory)
[/var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/web/packages/react-bootstrap]
[/var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/node_modules/react-bootstrap]
 @ ./vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components/event-comments-modal.jsx 40:13-49

ERROR in ./vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components/event-set-form-modal.jsx
Module not found: Error: Cannot resolve module 'react-bootstrap/lib/Modal' in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components
resolve module react-bootstrap/lib/Modal in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components
  looking for modules in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/web/packages
    /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/web/packages/react-bootstrap doesn't exist (module as directory)
  looking for modules in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/node_modules
    /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/node_modules/react-bootstrap doesn't exist (module as directory)
[/var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/web/packages/react-bootstrap]
[/var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/node_modules/react-bootstrap]
 @ ./vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components/event-set-form-modal.jsx 36:13-49

ERROR in ./vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components/event-set-registration-modal.jsx
Module not found: Error: Cannot resolve module 'react-bootstrap/lib/Modal' in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components
resolve module react-bootstrap/lib/Modal in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components
  looking for modules in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/web/packages
    /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/web/packages/react-bootstrap doesn't exist (module as directory)
  looking for modules in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/node_modules
    /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/node_modules/react-bootstrap doesn't exist (module as directory)
[/var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/web/packages/react-bootstrap]
[/var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/node_modules/react-bootstrap]
 @ ./vendor/claroline/distribution/plugin/cursus/Resources/modules/SessionEventsTool/components/event-set-registration-modal.jsx 40:13-49

 

 

et a la fin il y'a ça

 

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! claroline@1.0.0 webpack: `export NODE_ENV=production && rm -rf web/dist/* && npm run dll && node_modules/webpack/bin/webpack.js --config=vendor/claroline/distribution/webpack.prod.js --progress --colors --display-error-details && npm run uglify`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the claroline@1.0.0 webpack script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2017-09-28T14_26_00_569Z-debug.log
?  claroline-connect git:(ae8e7b0) ? php app/console claroline:update
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/dom.so' - /usr/lib/php/20151012/dom.so: undefined symbol: php_libxml_node_free_list in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xmlreader.so' - /usr/lib/php/20151012/xmlreader.so: undefined symbol: dom_node_class_entry in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xsl.so' - /usr/lib/php/20151012/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0
PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "DOMDocument" from the global namespace.
Did you forget a "use" statement? in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:52
Stack trace:
#0 /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(261): Symfony\Component\Config\Util\XmlUtils::loadFile('/var/www/vhosts...', Array)
#1 /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(41): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFileToDOM('/var/www/vhosts...')
#2 /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/claroline/distribution/main/installation/DependencyInjection/ClarolineInstallationExtension.php(31): Symfony\Component\DependencyInjection\Load in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
?  claroline-connect git:(ae8e7b0) ? php app/console claroline:update
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/dom.so' - /usr/lib/php/20151012/dom.so: undefined symbol: php_libxml_node_free_list in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xmlreader.so' - /usr/lib/php/20151012/xmlreader.so: undefined symbol: dom_node_class_entry in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xsl.so' - /usr/lib/php/20151012/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0
PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "DOMDocument" from the global namespace.
Did you forget a "use" statement? in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:52
Stack trace:
#0 /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(261): Symfony\Component\Config\Util\XmlUtils::loadFile('/var/www/vhosts...', Array)
#1 /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(41): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFileToDOM('/var/www/vhosts...')
#2 /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/claroline/distribution/main/installation/DependencyInjection/ClarolineInstallationExtension.php(31): Symfony\Component\DependencyInjection\Load in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52
?  claroline-connect git:(ae8e7b0) ?

 

Il y a 1 an


28/09/2017 17:06

donc comme il le dit il manque le module react-bootstrap

npm install react-bootstrap

l'erreur de php est plus bizarre

Il y a 1 an


28/09/2017 19:41

j'ai lancé la commande npm install react-bootstrap je continue d'avoir la meme erreur; dois-je me trouver dans un dossier précis avant de la lancer? 

Il y a 1 an


28/09/2017 20:25

Après quelques tentatives le php app/console claroline:update me donne ses erreurs:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/dom.so' - /usr/lib/php/20151012/dom.so: undefined symbol: php_libxml_node_free_list in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xmlreader.so' - /usr/lib/php/20151012/xmlreader.so: undefined symbol: dom_node_class_entry in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/xsl.so' - /usr/lib/php/20151012/xsl.so: undefined symbol: dom_node_class_entry in Unknown on line 0
PHP Fatal error:  Uncaught Symfony\Component\Debug\Exception\ClassNotFoundException: Attempted to load class "DOMDocument" from the global namespace.
Did you forget a "use" statement? in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php:52
Stack trace:
#0 /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(261): Symfony\Component\Config\Util\XmlUtils::loadFile('/var/www/vhosts...', Array)
#1 /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Loader/XmlFileLoader.php(41): Symfony\Component\DependencyInjection\Loader\XmlFileLoader->parseFileToDOM('/var/www/vhosts...')
#2 /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/claroline/distribution/main/installation/DependencyInjection/ClarolineInstallationExtension.php(31): Symfony\Component\DependencyInjection\Load in /var/www/vhosts/vps170379.ovh.net/httpdocs/claroline-connect/vendor/symfony/symfony/src/Symfony/Component/Config/Util/XmlUtils.php on line 52

Il y a 1 an