coollabsio/coolify · error · Exception

S3 storage configuration is missing or has been deleted (S3

Error message

S3 storage configuration is missing or has been deleted (S3 storage ID: {$previousS3StorageId ?? 'null'}). S3 backup has been disabled for this schedule.

What it means

Error "S3 storage configuration is missing or has been deleted (S3 storage ID: {$previousS3StorageId ?? 'null'}). S3 backup has been disabled for this schedule." thrown in coollabsio/coolify.

Source

Thrown at app/Jobs/DatabaseBackupJob.php:743

        }
    }

    private function calculate_size()
    {
        return instant_remote_process(["du -b $this->backup_location | cut -f1"], $this->server, false, false, null, disableMultiplexing: true);
    }

    private function upload_to_s3(): void
    {
        if (is_null($this->s3)) {
            $previousS3StorageId = $this->backup->s3_storage_id;

            $this->backup->update([
                'save_s3' => false,
                's3_storage_id' => null,
            ]);

            throw new \Exception('S3 storage configuration is missing or has been deleted (S3 storage ID: '.($previousS3StorageId ?? 'null').'). S3 backup has been disabled for this schedule.');
        }

        try {
            $key = $this->s3->key;
            $secret = $this->s3->secret;
            // $region = $this->s3->region;
            $bucket = $this->s3->bucket;
            $endpoint = $this->s3->endpoint;
            $this->s3->testConnection(shouldSave: true);
            if (data_get($this->backup, 'database_type') === ServiceDatabase::class) {
                $network = $this->database->service->destination->network;
            } else {
                $network = $this->database->destination->network;
            }
            $safeNetwork = escapeshellarg($network);

            $fullImageName = $this->getFullImageName();

View on GitHub (pinned to 70b9acc424)

When it happens

Trigger: Thrown at app/Jobs/DatabaseBackupJob.php:743 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of coollabsio/coolify@70b9acc424 (2026-08-17). Data as JSON: /api/errors/407795a90a836534. Report an issue: GitHub.