coollabsio/coolify · error · InvalidArgumentException
The selected avatar storage is not available.
Error message
The selected avatar storage is not available.
What it means
Error "The selected avatar storage is not available." thrown in coollabsio/coolify.
Source
Thrown at app/Livewire/Settings/Advanced.php:237
}
private function saveAvatarStorageSetting(): void
{
if ($this->avatar_storage === 'local') {
$this->settings->avatar_storage_type = 'local';
$this->settings->avatar_s3_storage_id = null;
return;
}
$storageId = (int) str($this->avatar_storage)->after('s3:')->value();
$storage = S3Storage::query()
->whereTeamId(0)
->where('is_usable', true)
->find($storageId);
if (! $storage || $this->avatar_storage !== 's3:'.$storage->id) {
throw new \InvalidArgumentException('The selected avatar storage is not available.');
}
$this->settings->avatar_storage_type = 's3';
$this->settings->avatar_s3_storage_id = $storage->id;
}
public function clearDomainConnectPrivateKey(): void
{
try {
if (! isCloud()) {
return;
}
$this->authorize('update', $this->settings);
$this->settings->domain_connect_private_key = null;
$this->settings->save();
$this->domain_connect_private_key = null;
$this->dispatch('success', 'Domain Connect private key removed.');
} catch (\Exception $e) {View on GitHub (pinned to 70b9acc424)
When it happens
Trigger: Thrown at app/Livewire/Settings/Advanced.php:237 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/f87d1dc2cf26d76d.
Report an issue: GitHub.