You are not logged in.

Announcement

 Téléchargez la dernière version stable de GLPI      -     Et vous, que pouvez vous faire pour le projet GLPI ? :  Contribuer
 Download last stable version of GLPI                      -     What can you do for GLPI ? :  Contribute

#1 2024-07-12 14:05:45

Jan 1977
Member
Registered: 2022-02-08
Posts: 16

Clear glpi/files/_cache/core

Hello,

we tried to clear the _cache folder using console glpi:cache:clear and glpi:cache:clear -c core both didn't work (commandline with admin rights)

Without option there's an errormessage that subfolders of template are not empty.
With option it says that cache was cleared successfully, although nothing was deleted.

The folder contains tens of thousand ascii files with similar content:
0
7c3955cb1c7269309e471640fef36a28c18117eb
i:1;

Is it safe to delete those files manually?

I found another forum thread where there was talked about a reset cache button in system -> general -> performance tab which is missing here.

We're running GLPI 10.0.16 on Windows with IIS.

Thank You,
Jan

Offline

#2 2024-07-12 14:21:44

cconard96
Moderator
Registered: 2018-07-31
Posts: 2,809
Website

Re: Clear glpi/files/_cache/core

You need to have debug mode enabled for your user in order to see the reset buttons on the performance tab.

If you use the CLI commands, you should be running them as the same user as your web server.
For example, with Apache on a Debian-based system I would use:
sudo -u www-data bin/console cache:clear


GLPI Collaborator and Plugin Developer.
My non-English comments are automated translations. Sorry for any confusion that causes.
Mes commentaires non anglais sont des traductions automatiques. Désolé pour toute confusion qui cause.
Mis comentarios que no están en inglés son traducciones automáticas. Perdón por cualquier confusión que cause.

Offline

Board footer

Powered by FluxBB