Last active
April 25, 2021 01:11
-
-
Save jasperf/662db91d134fc25e6db8d93ed323d2be to your computer and use it in GitHub Desktop.
Digital Ocean Spaces 503 Error using Laravel Backup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
app/Jobs/ProjectExport.php:46 App\Jobs\ProjectExport::handle | |
$zip = \Zip::create(storage_path("app/projects/{$name}")); | |
// Clean files | |
$allFiles = \Storage::disk('do_backup')->allFiles($storagePath); | |
if (count($allFiles) > 5) { | |
\Storage::disk('do_backup')->delete($allFiles[0]); | |
} | |
Caused By: GuzzleHttp\Exception\ServerException · Server error: | |
`GET https://ourapp.ams3.digitaloceanspaces.com/?prefix=projects-backups%2Fproduction%2FHet%20proeflokaal-397%2F&encoding-type=url` | |
resulted in a `503 Service Unavailable` response: <?xml version="1.0" encoding="UTF-8"?> | |
<Error> <Code>ServiceUnavailable</Code> <Message>Service is unavailable at this t (truncated...) | |
app/Jobs/ProjectExport.php:46 App\Jobs\ProjectExport::handle |
relevant issues and possible Stamatic solution:
spatie/laravel-backup#783
statamic/cms#2644
statamic/cms#2828
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.