Introduction
Problem
When using Replicated Mounted Disk and upgrading to v202406-1 (776), or higher, the process may appear to hang with the following message in logs:
Running as builtin tfe user, ensuring ownership of scratch directories...
There may also be an error message on the Replicated dashboard stating:
Ready state command canceled: context deadline exceeded
Prerequisites
- Replicated Mounted Disk v202406-1 (776) or above
- Mounted disk containing over 1TB of data
Cause
This is not an error condition, but rather an expected part of the upgrade process. During the upgrade, the system needs to update file permissions across all directories to accommodate new security improvements. For large data directories (>1TB), this process can take significant time with no visible progress indication in the logs. This is expected to take up to an hour, but can be more or less depending on the total data on the disk, and the performance capacity it has. Please include up to an hour of time per restart if upgrading to v202406-1 (776), or higher.
If the process takes longer than 1 hour, contact support for additional assistance.