Wizarr - DB migration fails #1608

Closed
opened 2026-02-05 01:45:16 +03:00 by OVERLORD · 0 comments
Owner

Originally created by @vhsdream on GitHub (Sep 10, 2025).

Originally assigned to: @vhsdream on GitHub.

Have you read and understood the above guidelines?

yes

📜 What is the name of the script you are using?

Wizarr

📂 What was the exact command used to execute the script?

bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/wizarr.sh)"

⚙️ What settings are you using?

  • Default Settings
  • Advanced Settings

🖥️ Which Linux distribution are you using?

Debian 12

📈 Which Proxmox version are you on?

pve-manager/8.4.13/5b08ebc2823dd9cb (running kernel: 6.8.12-14-pve)

📝 Provide a clear and concise description of the issue.

During the update process, the alembic DB migration fails, resulting in a broken installation.

🔄 Steps to reproduce the issue.

  1. Take a snapshot
  2. Run update in the LXC

Paste the full error output (if available).

INFO  [alembic.runtime.migration] Context impl SQLiteImpl.
INFO  [alembic.runtime.migration] Will assume non-transactional DDL.
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 0271b864fd47 is present more than once
  util.warn(
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 124ededf80dc is present more than once
  util.warn(
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 20250618b_drop_old_library_unique is present more than once
  util.warn(
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 0597748a6fef is present more than once
  util.warn(
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 14a87d76dff1 is present more than once
  util.warn(
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 23bf17eccf13 is present more than once
  util.warn(
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 490af4233e95 is present more than once
  util.warn(
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 56b33a2ca88e is present more than once
  util.warn(
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 5805136a1d16 is present more than once
  util.warn(
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 6c39692d6f32 is present more than once
  util.warn(
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 7c76d64526a7 is present more than once
  util.warn(
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 91865b5a23d2 is present more than once
  util.warn(
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 9e13976c0cfa is present more than once
  util.warn(
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision d0a4dfc55dc4 is present more than once
  util.warn(
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision e3625bacf6f9 is present more than once
  util.warn(
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision e6006b5e374e is present more than once
  util.warn(
/opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision eb1f0c1fcdd4 is present more than once
  util.warn(
ERROR [flask_migrate] Error: Multiple head revisions are present for given argument 'head'; please specify a specific target revision, '<branchname>@head' to narrow to a specific head, or 'heads' for all heads

[ERROR] in line 55: exit code 0: while executing command $STD /usr/local/bin/uv run flask db upgrade

🖼️ Additional context (optional).

No response

Originally created by @vhsdream on GitHub (Sep 10, 2025). Originally assigned to: @vhsdream on GitHub. ### ✅ Have you read and understood the above guidelines? yes ### 📜 What is the name of the script you are using? Wizarr ### 📂 What was the exact command used to execute the script? bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/ct/wizarr.sh)" ### ⚙️ What settings are you using? - [x] Default Settings - [x] Advanced Settings ### 🖥️ Which Linux distribution are you using? Debian 12 ### 📈 Which Proxmox version are you on? pve-manager/8.4.13/5b08ebc2823dd9cb (running kernel: 6.8.12-14-pve) ### 📝 Provide a clear and concise description of the issue. During the update process, the alembic DB migration fails, resulting in a broken installation. ### 🔄 Steps to reproduce the issue. 1. Take a snapshot 2. Run `update` in the LXC ### ❌ Paste the full error output (if available). ``` INFO [alembic.runtime.migration] Context impl SQLiteImpl. INFO [alembic.runtime.migration] Will assume non-transactional DDL. /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 0271b864fd47 is present more than once util.warn( /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 124ededf80dc is present more than once util.warn( /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 20250618b_drop_old_library_unique is present more than once util.warn( /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 0597748a6fef is present more than once util.warn( /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 14a87d76dff1 is present more than once util.warn( /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 23bf17eccf13 is present more than once util.warn( /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 490af4233e95 is present more than once util.warn( /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 56b33a2ca88e is present more than once util.warn( /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 5805136a1d16 is present more than once util.warn( /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 6c39692d6f32 is present more than once util.warn( /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 7c76d64526a7 is present more than once util.warn( /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 91865b5a23d2 is present more than once util.warn( /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision 9e13976c0cfa is present more than once util.warn( /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision d0a4dfc55dc4 is present more than once util.warn( /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision e3625bacf6f9 is present more than once util.warn( /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision e6006b5e374e is present more than once util.warn( /opt/wizarr/.venv/lib/python3.13/site-packages/alembic/script/revision.py:213: UserWarning: Revision eb1f0c1fcdd4 is present more than once util.warn( ERROR [flask_migrate] Error: Multiple head revisions are present for given argument 'head'; please specify a specific target revision, '<branchname>@head' to narrow to a specific head, or 'heads' for all heads [ERROR] in line 55: exit code 0: while executing command $STD /usr/local/bin/uv run flask db upgrade ``` ### 🖼️ Additional context (optional). _No response_
OVERLORD added the bug label 2026-02-05 01:45:16 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/ProxmoxVE#1608