coollabsio/coolify · error · RuntimeException
The configured S3 storage is not available.
Error message
The configured S3 storage is not available.
What it means
Error "The configured S3 storage is not available." thrown in coollabsio/coolify.
Source
Thrown at app/Services/AvatarStorageService.php:79
->delete($user->avatar_path);
}
$user->update([
'avatar_path' => null,
'avatar_storage_type' => null,
'avatar_s3_storage_id' => null,
]);
}
protected function disk(string $storageType, ?int $s3StorageId): FilesystemAdapter
{
if ($storageType !== 's3') {
return Storage::disk('local');
}
$storage = S3Storage::query()->whereKey($s3StorageId)->where('is_usable', true)->first();
if (! $storage) {
throw new RuntimeException('The configured S3 storage is not available.');
}
return $storage->filesystem();
}
protected function compress(UploadedFile $upload): string
{
$imageInfo = getimagesize($upload->getRealPath());
if ($imageInfo && $imageInfo['mime'] === 'image/jpeg' && $imageInfo[0] <= 256 && $imageInfo[1] <= 256) {
return file_get_contents($upload->getRealPath());
}
if (extension_loaded('imagick')) {
$image = new \Imagick($upload->getRealPath());
$image->setIteratorIndex(0);
$image->autoOrient();
$image->cropThumbnailImage(256, 256);
$image->stripImage();View on GitHub (pinned to 70b9acc424)
When it happens
Trigger: Thrown at app/Services/AvatarStorageService.php:79 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/ab3d3619d54d20b5.
Report an issue: GitHub.