You are not logged in.
Hello friends
I try to try the version glpi-9.2.3.tar from my local PC, when I enter by browser localhost / glpi / the shows the following error "run "composer install --no-dev" in the glpi tree" Could you help me solve it? what should I do. thank you very much
Offline
You have a file "composer.lock". You should not have this. If you have a normal production system. (you need this for development)
You can search here in forum or github for more information.
delete composer.lock and run again
more information
https://github.com/glpi-project/glpi/issues/2777
Last edited by KKAdmin (2018-05-25 16:02:03)
You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3
Offline
Hello KKadmin
delete the file "composer.lock". and I went back to execute and it shows me the same error, your beam presented that error?
Offline
Is there another composer file ?
You can mark this threat as [resolved] in subject of your threat. (This is only available edit of the first post.) It is good for users who help others to quickly see which post is still open.
##############################################
GLPI 9.3.3
Offline
You just have to do that the message saying.
In command line => composer install --no-dev
CentOS 6.5 - CentOS 7.x
PHP 5.6 - PHP 7.x - MySQL 5.6 - MariaDB 10.2 + APC + oOPcache
GLPI from 0.72 to dev version
Certifiée ITIL (ITV2F, ITILF, ITILOSA)
Offline
I get this:
[root@ocsinventory-ng glpi]# composer install --no-dev
Do not run Composer as root/super user! See https://getcomposer.org/root for details
Loading composer repositories with package information
Installing dependencies from lock file
Nothing to install or update
Generating optimized autoload files
Warning: Ambiguous class resolution, "Zend\Cache\PatternPluginManager\PatternPluginManagerV2Polyfill" was found in both "/var/www/html/glpi/vendor/zendframework/zend-cache/src/PatternPluginManager/PatternPluginManagerV2Polyfill.php" and "/var/www/html/glpi/vendor/zendframework/zend-cache/src/PatternPluginManager.php", the first will be used.
> @php -r "file_put_contents('.composer.hash', sha1_file('composer.lock'));"
> patch -d vendor/zendframework/zend-cache/ -p1 < tools/zend-cache-php7.2.patch
The next patch would create the file autoload/patternPluginManagerPolyfill.php,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
The next patch would create the file src/PatternPluginManager/PatternPluginManagerTrait.php,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
patching file src/PatternPluginManager.php
Reversed (or previously applied) patch detected! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
4 out of 4 hunks ignored -- saving rejects to file src/PatternPluginManager.php.rej
The next patch would create the file src/PatternPluginManager/PatternPluginManagerV3Polyfill.php,
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored
Script patch -d vendor/zendframework/zend-cache/ -p1 < tools/zend-cache-php7.2.patch handling the post-install-cmd event returned with error code 1
Offline
From github, https://github.com/glpi-project/glpi/releases/tag/9.2.3
Don't pull the "Sources", but the glpi-9.2.3 official tarball.
Dév. Fedora 29 - PHP 5.6/7.0/7.1/7.2/7.3/7.4 - MariaDB 10.3 - GLPI master
Certifié ITILv3 - RPM pour Fedora, RHEL et CentOS sur https://blog.remirepo.net/
Offline