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.
- Avoid generating large temporary files in the synced folder: write app logs and other temp output outside it (e.g.
/tmp). - If you really need more space, raise
persistentVolume.sizein thedevsection ofokteto.yml(default5Gi), or expand the PVC if your StorageClass allows it. - To start clean:
okteto down -v, thenokteto up.
Use okteto doctor to collect the syncthing logs.