Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Digital Ocean Spaces 503 Error using Laravel Backup
<?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
@jasperf

This comment has been minimized.

Copy link
Owner Author

@jasperf jasperf commented Apr 25, 2021

 Aws\S3\Exception\S3Exception · Error executing "ListObjects" on "https://ourapp.ams3.digitaloceanspaces.com/?prefix=projects-backups%2Fproduction%2FHet%20proeflokaal-397%2F&encoding-type=url"; AWS HTTP error: 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...) ServiceUnavailable (server): Service is unavailable at this time. - 
<?xml version="1.0" encoding="UTF-8"?> <Error> <Code>ServiceUnavailable</Code> <Message>Service is unavailable at this time.</Message> </Error> 
@jasperf

This comment has been minimized.

Copy link
Owner Author

@jasperf jasperf commented Apr 25, 2021

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