#3965·bunkerweb

[BUG] [Migration Plugin] Full backup fails

Author: jojolllCreated Sep 24, 2026Updated Sep 28, 2026
Labelsbugcorepluginspythonnext minor

Affected area

Core plugins

What happened?

When attempting to generate a full backup using the Migration plugin, the task fails due to a Python exception in common_utils.py. The function safe_tar_extractall() receives an invalid parameter (tar_filter).

Additionally, several database lock warnings (Database is locked, waiting for it to be unlocked (timeout: 30s)) are logged prior to the crash. The issue seems directly related to hitting this database lock timeout, as the database warnings loop for exactly 30 seconds (from 17:25:51 to 17:26:20) right before the traceback occurs.

How to reproduce?

  • Open the BunkerWeb Web UI and go to the Migration plugin.
  • Initiate a full backup operation.
  • Observe the operation failure after a ~30s freeze and check ui.log.

Configuration file(s) (yaml or .env)

yaml
NA

Relevant log output

bash
ui.log: 
[2026-09-23 17:25:51 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:25:52 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:25:53 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:25:54 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:25:55 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:25:56 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:25:57 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:25:58 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:25:59 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:00 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:01 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:02 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:03 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:04 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:05 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:06 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:07 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:08 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:09 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:10 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:11 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:12 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:13 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:14 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:15 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:16 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:17 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:18 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:19 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:20 +0000] [UI] [2164914] [⚠️ ] - Database is locked, waiting for it to be unlocked (timeout: 30s) ...
[2026-09-23 17:26:23 +0000] [UI] [2164914] [❌] - Error while trying migration : Traceback (most recent call last):
  File "<frozen migration>", line 217, in _run_migration_action
  File "<frozen migration>", line 304, in backup_data
  File "<frozen migration>", line 278, in generate_backup_plugins
  File "/usr/share/bunkerweb/utils/common_utils.py", line 483, in safe_tar_extractall
    raise TypeError("safe_tar_extractall() got an unexpected keyword argument 'tar_filter'")
TypeError: safe_tar_extractall() got an unexpected keyword argument 'tar_filter'

BunkerWeb version

1.6.15

What integration are you using?

Linux

Linux distribution (if applicable)

Debian 13

Duplicate search

  • I searched open and closed issues and did not find an existing report

Removed private data

  • I have removed all private data from the configuration file and the logs

Code of Conduct

  • I agree to follow this project's Code of Conduct