Postgres volume

Hello,

our postgres volume is now 53 Gb in size, however the machine has much larger diskspace, but we’re getting the following error:

postgres-1  | PostgreSQL Database directory appears to contain a database; Skipping initialization
postgres-1  |
postgres-1  | 2025-04-16 07:23:10.965 UTC [1] FATAL:  could not write lock file "postmaster.pid": No space left on device

we resolved the issue before, by removing all unused containers and images, but then it happened again after adding some new data. We need to resolve the issue, without losing the data on speckle. Any instructions to follow?

Best,
Karim

We have a guide on how to backup the database, we’d recommend doing this regularly and always before making any changes. Database backup, upgrade, and restore | Speckle Docs

This error is probably occurring because Docker is configured to only use a part of the available storage on the host machine.

Go to Docker desktop > settings > Resources > Disk usage limit, and amend the storage limits as required.

Hope this helps,

Iain