You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the backup is done correctly and uploaded to S3
the error occured only when doing cleanup
no change to the S3 bucket
none of my other spatie/backup instance have this issue ( using the same S3 credentials and bucket )
`Starting cleanup...
Cleaning backups of Lucien-Compta on disk local...
Used storage after cleanup: 0 B.
Cleaning backups of Lucien-Compta on disk s3-backup...
Cleanup failed because: Stream is not seekable.
RuntimeException
Stream is not seekable
at vendor/guzzlehttp/psr7/src/Stream.php:209
205▕ if (!isset($this->stream)) {
206▕ throw new \RuntimeException('Stream is detached');
207▕ }
208▕ if (!$this->seekable) {
➜ 209▕ throw new \RuntimeException('Stream is not seekable');
210▕ }
211▕ if (fseek($this->stream, $offset, $whence) === -1) {
212▕ throw new \RuntimeException('Unable to seek to stream position '
213▕ .$offset.' with whence '.var_export($whence, true));
This discussion was converted from issue #1857 on December 09, 2024 13:05.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Ubuntu 20.04.6 LTS
PHP 7.4.3
laravel/framework ^8.0
spatie/laravel-backup ^6.11
everything was working fine until last week
the backup is done correctly and uploaded to S3
the error occured only when doing cleanup
no change to the S3 bucket
none of my other spatie/backup instance have this issue ( using the same S3 credentials and bucket )
`Starting cleanup...
Cleaning backups of Lucien-Compta on disk local...
Used storage after cleanup: 0 B.
Cleaning backups of Lucien-Compta on disk s3-backup...
Cleanup failed because: Stream is not seekable.
RuntimeException
Stream is not seekable
at vendor/guzzlehttp/psr7/src/Stream.php:209
205▕ if (!isset($this->stream)) {
206▕ throw new \RuntimeException('Stream is detached');
207▕ }
208▕ if (!$this->seekable) {
➜ 209▕ throw new \RuntimeException('Stream is not seekable');
210▕ }
211▕ if (fseek($this->stream, $offset, $whence) === -1) {
212▕ throw new \RuntimeException('Unable to seek to stream position '
213▕ .$offset.' with whence '.var_export($whence, true));
+32 vendor frames
33 [internal]:0
Spatie\Backup\Commands\ListCommand::Spatie\Backup\Commands{closure}()
+17 vendor frames
51 artisan:37
Illuminate\Foundation\Console\Kernel::handle()
`
Beta Was this translation helpful? Give feedback.
All reactions