An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
Fix: Clear mux directory
peaklabs-devd13e2c086541
diff --git a/database/migrations/2024_09_16_170001_populate_ssh_keys_directory.php b/database/migrations/2024_09_16_170001_populate_ssh_keys_and_clear_mux_directory.phpsimilarity index 71%rename from database/migrations/2024_09_16_170001_populate_ssh_keys_directory.phprename to database/migrations/2024_09_16_170001_populate_ssh_keys_and_clear_mux_directory.phpindex 33a5e695f6..944b00e13b 100644--- a/database/migrations/2024_09_16_170001_populate_ssh_keys_directory.php+++ b/database/migrations/2024_09_16_170001_populate_ssh_keys_and_clear_mux_directory.php@@ -4,13 +4,16 @@ use Illuminate\Database\Migrations\Migration;use Illuminate\Support\Facades\Storage;use App\Models\PrivateKey;-class PopulateSshKeysDirectory extends Migration+class PopulateSshKeysAndClearMuxDirectory extends Migration{public function up(){Storage::disk('ssh-keys')->deleteDirectory('');Storage::disk('ssh-keys')->makeDirectory('');+ Storage::disk('ssh-mux')->deleteDirectory('');+ Storage::disk('ssh-mux')->makeDirectory('');+PrivateKey::chunk(100, function ($keys) {foreach ($keys as $key) {$key->storeInFileSystem();