Okteto up stuck on "Synchronizing your files": no space left on device

okteto up gets stuck on “Synchronizing your files”. The syncthing logs show insufficient space on disk for database (/var/syncthing/data/...) or no space left on device. How do I fix it?

The dev container’s persistent volume is full. The synced folder lives on that volume, so anything generated inside it in the dev container (app logs, temp files, node_modules) takes space too.

  1. Avoid generating large temporary files in the synced folder: write app logs and other temp output outside it (e.g. /tmp).
  2. If you really need more space, raise persistentVolume.size in the dev section of okteto.yml (default 5Gi), or expand the PVC if your StorageClass allows it.
  3. To start clean: okteto down -v, then okteto up.

Use okteto doctor to collect the syncthing logs.

See Okteto Manifest: persistentVolume.