Skip to content

sqlite3.OperationalError: unable to open database file #191

@UgoPoddine

Description

@UgoPoddine

Hello,

after the today update to the latest git version the bot is unable to start :

[..]

[32m2026-06-01 08:48:08 - MeshCoreBot - INFO - Reconnected successfully^[[0m
^[[33m2026-06-01 08:48:08 - MeshCoreBot - WARNING - Web viewer health check failed, restarting...^[[0m
^[[32m2026-06-01 08:48:08 - MeshCoreBot - INFO - Restarting web viewer (attempt 5/5)...^[[0m
^[[32m2026-06-01 08:48:11 - MeshCoreBot - INFO - Web viewer started on http://0.0.0.0:8085^[[0m
^[[31m2026-06-01 08:48:13 - MeshCoreBot - ERROR - Web viewer failed to start. Return code: 1^[[0m
^[[31m2026-06-01 08:48:13 - MeshCoreBot - ERROR - Web viewer startup error: File "/opt/meshcore-bot/modules/db_manager.py", line 59, in init
self._init_database()
~~~~~~~~~~~~~~~~~~~^^
File "/opt/meshcore-bot/modules/db_manager.py", line 71, in _init_database
runner.run()
~~~~~~~~~~^^
File "/opt/meshcore-bot/modules/db_migrations.py", line 573, in run
self._ensure_version_table()
~~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "/opt/meshcore-bot/modules/db_migrations.py", line 536, in _ensure_version_table
self.conn.execute("""
~~~~~~~~~~~~~~~~~^^^^
CREATE TABLE IF NOT EXISTS schema_version (
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...<3 lines>...
)
^
""")
^^^^
sqlite3.OperationalError: unable to open database file

[..]

Thank-you
UP

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions