> For the complete documentation index, see [llms.txt](https://docs.chamilo.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.chamilo.org/2.x-el/odigos-diaxeirisis/admin-guide/maintenance/archive-cleanup.md).

# Καθαρισμός Αρχείου

Με την πάροδο του χρόνου, το Chamilo συσσωρεύει προσωρινά αρχεία στους καταλόγους cache και αρχείου του. Ο τακτικός καθαρισμός αποτρέπει προβλήματα χώρου δίσκου.

## Τι Μπορεί να Καθαριστεί

* **Symfony cache** — Μεταγλωττισμένα πρότυπα, αποθηκευμένη διαμόρφωση και δεδομένα δρομολόγησης
* **Προσωρινά αρχεία** — Αρχεία που παράγονται κατά την εξαγωγή, εισαγωγή και άλλες λειτουργίες
* **Δεδομένα συνεδρίας** — Ληγμένα αρχεία συνεδρίας PHP
* **Αρχεία καταγραφής** — Παλιά αρχεία καταγραφής που δεν απαιτούνται πλέον

## Εκτέλεση Καθαρισμού

### Από τον Πίνακα Διαχείρισης

Πλοηγηθείτε στο **Καθαρισμός αρχείου** στον πίνακα διαχείρισης. Κάντε κλικ στο κουμπί καθαρισμού για να διαγράψετε τα προσωρινά αρχεία.

### Από τη Γραμμή Εντολών

Για μεγαλύτερο έλεγχο, χρησιμοποιήστε εντολές κονσόλας Symfony:

```bash
# Clear the Symfony cache
php bin/console cache:clear

# Clear only the production cache
php bin/console cache:clear --env=prod
```

## Συμβουλές

* **Προγραμματίστε τακτικούς καθαρισμούς** — Ρυθμίστε εβδομαδιαία ή μηνιαία εργασία cron για να διαγράψετε προσωρινά αρχεία
* **Παρακολουθήστε τη χρήση δίσκου** — Ελέγξτε το μέγεθος του καταλόγου `var/`, καθώς αυξάνεται με τα αρχεία cache και καταγραφής
* **Προσοχή με τα αρχεία καταγραφής** — Πριν διαγράψετε αρχεία καταγραφής, ελέγξτε αν περιέχουν πληροφορίες που μπορεί να χρειαστείτε για αντιμετώπιση προβλημάτων


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.chamilo.org/2.x-el/odigos-diaxeirisis/admin-guide/maintenance/archive-cleanup.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
