mirror of
https://github.com/coollabsio/coolify.git
synced 2026-11-16 01:32:39 -04:00
The server transfer bundle did not include the standalone_sqlite_id of persistent volumes, so after an import an application's mount of a SQLite data volume was no longer linked to the database. The shared volume checks then failed: deleting the SQLite database, or the application with its volumes, could remove the SQLite data. The exporter now sends the SQLite database uuid with each volume, and the importer links the volume again after all databases are imported (with a warning when the database is not in the bundle). As a backstop, StandaloneSqlite::deleteVolumes() skips volumes that another resource uses, like Application already does.