Vérification du système : dossiers et fichiers a supprimer, pourquoi?


#1

Salut

Dans la vérification du système il est noté que certains répertoires devraient être supprimés. Il est précisé que Piwik marchera quant même, mais que c’est mieux de les supprimer. Voici les dossiers et fichiers qui ma été demandé de supprimer :

Dossiers :

libs/bower_components/jquery/src
libs/pChart
libs/tcpdf
plugins/Morpheus/icons/submodules
vendor/doctrine/annotations
vendor/doctrine/lexer
vendor/mnapoli
vendor/myclabs
vendor/piwik/device-detector/Tests
vendor/symfony/event-dispatcher/Symfony/Component/EventDispatcher/Tests
vendor/symfony/monolog-bridge/Symfony/Bridge/Monolog/Tests
vendor/symfony/yaml
vendor/tecnick.com

Fichiers :

error_log
config/global.ini.auto-backup-before-update.php
config/environment/cli.php
libs/PEAR5.php
libs/PEAR.php
libs/Archive_Tar/Tar.php
libs/bower_components/jquery/MIT-LICENSE.txt
libs/bower_components/jquery-placeholder/demo.html
libs/bower_components/jquery-placeholder/LICENSE-MIT.txt
libs/bower_components/jquery-placeholder/README.md
libs/bower_components/jScrollPane/ajax_content.html
libs/bower_components/jScrollPane/ajax.html
libs/bower_components/jScrollPane/anchors.html
libs/bower_components/jScrollPane/api.html
libs/bower_components/jScrollPane/arrow_hover.html
libs/bower_components/jScrollPane/arrow_positions.html
libs/bower_components/jScrollPane/arrows.html
libs/bower_components/jScrollPane/auto_reinitialise.html
libs/bower_components/jScrollPane/basic.html
libs/bower_components/jScrollPane/caps.html
libs/bower_components/jScrollPane/changelog.html
libs/bower_components/jScrollPane/destroy.html
libs/bower_components/jScrollPane/drag_size.html
libs/bower_components/jScrollPane/dynamic_content.html
libs/bower_components/jScrollPane/dynamic_height.html
libs/bower_components/jScrollPane/dynamic_width.html
libs/bower_components/jScrollPane/events.html
libs/bower_components/jScrollPane/faqs.html
libs/bower_components/jScrollPane/fixed_width.html
libs/bower_components/jScrollPane/focus.html
libs/bower_components/jScrollPane/fullpage_scroll.html
libs/bower_components/jScrollPane/GPL-LICENSE.txt
libs/bower_components/jScrollPane/iframe2.html
libs/bower_components/jScrollPane/iframe_content1.html
libs/bower_components/jScrollPane/iframe_content2.html
libs/bower_components/jScrollPane/iframe_content3.html
libs/bower_components/jScrollPane/iframe_content4.html
libs/bower_components/jScrollPane/iframe.html
libs/bower_components/jScrollPane/image2.html
libs/bower_components/jScrollPane/image.html
libs/bower_components/jScrollPane/index.html
libs/bower_components/jScrollPane/invisibles.html
libs/bower_components/jScrollPane/known_issues.html
libs/bower_components/jScrollPane/less_basic.html
libs/bower_components/jScrollPane/mwheel_intent.html
libs/bower_components/jScrollPane/override_animate.html
libs/bower_components/jScrollPane/runeimp2.html
libs/bower_components/jScrollPane/runeimp.html
libs/bower_components/jScrollPane/scroll_on_left.html
libs/bower_components/jScrollPane/scroll_to_animate.html
libs/bower_components/jScrollPane/scroll_to.html
libs/bower_components/jScrollPane/settings.html
libs/bower_components/jScrollPane/short.html
libs/bower_components/jScrollPane/v1.html
libs/html5shiv/html5shiv.js
libs/javascript/sprintf.js
libs/jquery/jquery.history.js
libs/jquery/jquery.js
libs/jquery/jquery.jscrollpane.js
libs/jquery/jquery.mousewheel.js
libs/jquery/jquery.placeholder.js
libs/jquery/jquery.scrollTo.js
libs/jquery/jquery.smartbanner.js
libs/jquery/jquery-ui.js
libs/jquery/MIT-LICENSE-jquery.txt
libs/jquery/MIT-LICENSE-jqueryui.txt
libs/jquery/MIT-LICENSE-placeholder.txt
libs/jquery/MIT-LICENSE-scrollto.txt
libs/jquery/MIT-LICENSE-smartbanner.txt
libs/jquery/stylesheets/jquery.smartbanner.css
libs/jquery/themes/base/jquery-ui.css
libs/mousetrap/mousetrap.min.js
libs/mousetrap/README.md
libs/PclZip/lgpl-2.1.txt
libs/PclZip/pclzip.lib.php
libs/PEAR/Exception.php
libs/PEAR/FixPHP5PEARWarnings.php
libs/PEAR/LICENSE
libs/PiwikTracker/composer.json
libs/PiwikTracker/LICENSE
libs/PiwikTracker/LICENSE.txt
libs/PiwikTracker/README.md
libs/UserAgentParser/README.md
libs/UserAgentParser/UserAgentParser.php
libs/UserAgentParser/UserAgentParser.test.php
misc/others/cli-script-bootstrap.php
misc/others/iframeWidget.htm
misc/others/phpstorm-codestyles/Piwik_codestyle.xml
misc/others/phpstorm-codestyles/README.md
misc/phpstorm-codestyles/Piwik_codestyle.xml
misc/phpstorm-codestyles/README.md
misc/proxy-hide-piwik-url/piwik.php
vendor/monolog/monolog/doc/extending.md
vendor/monolog/monolog/doc/usage.md
vendor/monolog/monolog/src/Monolog/Handler/ExceptionTestHandler.php
vendor/pear/pear-core-minimal/src/PEAR5.php
vendor/pear/pear-core-minimal/src/PEAR/ErrorStack5.php
vendor/php-di/php-di/src/DI/Definition/AbstractFunctionCallDefinition.php
vendor/php-di/php-di/src/DI/Definition/Dumper/AliasDefinitionDumper.php
vendor/php-di/php-di/src/DI/Definition/Dumper/ArrayDefinitionDumper.php
vendor/php-di/php-di/src/DI/Definition/Dumper/DecoratorDefinitionDumper.php
vendor/php-di/php-di/src/DI/Definition/Dumper/DefinitionDumperDispatcher.php
vendor/php-di/php-di/src/DI/Definition/Dumper/DefinitionDumper.php
vendor/php-di/php-di/src/DI/Definition/Dumper/EnvironmentVariableDefinitionDumper.php
vendor/php-di/php-di/src/DI/Definition/Dumper/FactoryDefinitionDumper.php
vendor/php-di/php-di/src/DI/Definition/Dumper/StringDefinitionDumper.php
vendor/php-di/php-di/src/DI/Definition/Dumper/ValueDefinitionDumper.php
vendor/php-di/php-di/src/DI/Definition/Resolver/AliasResolver.php
vendor/php-di/php-di/src/DI/Definition/Resolver/StringResolver.php
vendor/php-di/php-di/src/DI/Definition/Resolver/ValueResolver.php
vendor/php-di/php-di/src/DI/Reflection/CallableReflectionFactory.php
vendor/piwik/decompress/libs/PEAR5.php
vendor/piwik/decompress/libs/PEAR.php
vendor/piwik/decompress/libs/Archive_Tar/Tar.php
vendor/piwik/decompress/libs/PclZip/lgpl-2.1.txt
vendor/piwik/device-detector/phpunit.xml.dist
vendor/piwik/device-detector/test.php
vendor/piwik/device-detector/Cache/CacheFile.php
vendor/piwik/device-detector/Cache/CacheInterface.php
vendor/piwik/device-detector/Cache/CacheMemcache.php
vendor/piwik/device-detector/Cache/CacheStatic.php
vendor/piwik/device-detector/misc/readme-report.php
vendor/piwik/device-detector/misc/test.php
vendor/piwik/device-detector/regexes/browsers.yml
vendor/piwik/device-detector/regexes/mobiles.yml
vendor/piwik/device-detector/regexes/televisions.yml
vendor/twig/twig/ext/twig/LICENSE
vendor/twig/twig/lib/Twig/Node/SandboxedModule.php
libs/bower_components/jquery-ui/ui/.jshintrc
libs/PiwikTracker/.git
vendor/monolog/monolog/.php_cs
vendor/pear/archive_tar/.travis.sh
vendor/piwik/device-detector/.php_cs
vendor/twig/twig/.editorconfig

A quoi servent ces dossiers et fichiers s’ils faut les supprimer ?


(Ronan Chardonneau) #2

Hello,
Bonne question :stuck_out_tongue:
Je crois qu’il s’agit de fichiers qui étaient présents dans ton installation précédente, exemple Piwik 2.6, suite à une mise à jour automatique, par exemple 2.7 (l’équipe de développement de Piwik a optimisé le code et n’a plus besoin de certains fichiers) du coup on se retrouve avec ce soucis.
Tout comme toi j’ai l’impression que l’erreur n’est pas toujours corrigé:
https://issues.piwik.org/11129


#3

Oups j’ai un peu oublié de répondre :blush: . Merci pour ton éclaircissement :slight_smile: