spatie / laravel-backup

A package to backup your Laravel app

Home Page:https://spatie.be/docs/laravel-backup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Backup failed because: Undefined array key "source"

martijnderidder opened this issue · comments

I recently upgrade my website from Laravel 8 tot 9. When i run a backup with this package, i get a strange error about Undefined array key "source".

Versions i use
"spatie/laravel-backup": "^8.0",
"laravel/framework": "^9.38"

Things i have checked

  • I have a filled .env with the filled APP_NAME and filles AWS keys.
  • The new configuration file has been published
  • I cleared the config and run a optimize clear command.

Output

/application # php artisan backup:list
+--------+-------+-----------+---------+--------------+--------------------+--------------+
| Name   | Disk  | Reachable | Healthy | # of backups | Newest backup      | Used storage |
+--------+-------+-----------+---------+--------------+--------------------+--------------+
| Uwloon | local | ✅         | ❌       |            0 | No backups present |         0 KB |
+--------+-------+-----------+---------+--------------+--------------------+--------------+

Unhealthy backup destinations
-----------------------------
+--------+-------+------------------+--------------------------------------------------------+
| Name   | Disk  | Failed check     | Description                                            |
+--------+-------+------------------+--------------------------------------------------------+
| Uwloon | local | Maximumageindays | Er zijn geen back-ups van deze applicatie beschikbaar. |
+--------+-------+------------------+--------------------------------------------------------+
/application # php artisan backup:monitor
The Uwloon backups on the local disk are considered unhealthy!
/application # php artisan backup:run
Starting backup...
Backup failed because: Undefined array key "source".