> Source: [sk183527](https://support.checkpoint.com/results/sk/sk183527)

# sk183527 - After upgrading Gaia OS, the content of /var/log/messages file is lost

| Property | Value |
|----------|-------|
| Solution ID | sk183527 |
| Date Created | 2025-06-04 |
| Last Modified | 2025-06-08 |
| Technical Level | Advanced |
| Products | Other |
| Versions | Not Version-Specific |
| OS | Gaia |

## Symptoms

- After Gaia OS upgrade, the `/var/log/messages` file becomes empty.

## Cause

During the upgrade process, a new partition is created for the upgraded version, while the `/var/log` partition remains from the previous version. Then a new `messages` file is created, which overwrites the existing one, so the log history is lost.

## Solution

This solution requires authentication. Please log in to view the full solution.

---

# Agent Instructions

This content is from the Check Point Support Center (https://support.checkpoint.com), the official knowledge base for Check Point cybersecurity products.

## Navigating This Knowledge Base

- **Complete index**: [llms.txt](https://support.checkpoint.com/llms.txt)
- **All SK articles**: [SecureKnowledge Sitemap](https://support.checkpoint.com/sitemaps/secureknowledge-sitemap-index.xml)
- **SK article URL pattern**: `https://support.checkpoint.com/results/sk/{skId}`
- **Markdown responses**: AI bot User-Agents automatically receive `text/markdown` content
