backup fail v2.98.7
Description
I'm getting an error after update v2.98.7.
Error: Pre-backup plugin failed: 'list' object has no attribute 'get' -- Borg Backup Server
Failed Failed Pre-backup plugin failed: 'list' object has no attribute 'get'
Steps to Reproduce
standard backup job
Installation Type
Docker
BBS Version
2.98.7
Agent Version (if applicable)
2.98.4,
Agent OS (if applicable)
None
Relevant Logs
i find in under Plug-in like
It created its own versions—I don't know why it did that—but once I removed the duplicates, it worked again.
like PostgreSQL <---- my PostgreSQL Backup/Restore <--- borg make It was the same in SQL and the webhook.
They were empty except for the name, so it looks like it created an extra duplicate.
Thanks @theborg72, and sorry for the trouble. The Docker update in 2.98.5 ran some old database migrations again. One of them made an empty copy of each plan's plugin settings and switched the plan to it, which is the error you saw.
The next release repairs this on its first start. Each plan goes back to its own plugin settings, using the server backup taken before the update, and the empty copies are removed. If a plan's settings can't be worked out, the activity log names it so you can pick the settings by hand. Since you already removed the copies, check that each plan with a plugin still has its settings selected (edit the plan). The update will restore any it can.
I reproduced this by upgrading an old Docker install through 2.98.7 and tested the repair on it.