https://bugs.kde.org/show_bug.cgi?id=500657

            Bug ID: 500657
           Summary: Akonadi silently fail to start
    Classification: Frameworks and Libraries
           Product: Akonadi
           Version: 6.3.2
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: kdepim-b...@kde.org
          Reporter: lestofant...@gmail.com
                CC: c...@carlschwan.eu
  Target Milestone: ---

SUMMARY
Kontact wont work telling me there is a background service not running.
Checking on logs, i see the error:
```
org.kde.pim.akonadiserver: database server stopped unexpectedly
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial
connection!
[...]
org.kde.pim.akonadiserver: See "~/.local/share/akonadi/db_data/mysql.err" for
more details
```

cat "~/.local/share/akonadi/db_data/mysql.err":

```
2025-02-24 10:31:08 0 [Note] InnoDB: Completed initialization of buffer pool
2025-02-24 10:31:08 0 [ERROR] InnoDB: File ./ib_logfile0 was not found
2025-02-24 10:31:08 0 [ERROR] InnoDB: Plugin initialization aborted with error
Generic error
2025-02-24 10:31:08 0 [Note] InnoDB: Starting shutdown...
2025-02-24 10:31:09 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE
failed.
2025-02-24 10:31:09 0 [Note] Plugin 'wsrep-provider' is disabled.
2025-02-24 10:31:09 0 [ERROR] Unknown/unsupported storage engine: innodb
2025-02-24 10:31:09 0 [ERROR] Aborting
```

The file is not there, in ~/.local/share/akonadi/db_data, so i touch it.
Then i had an error that the file ibdata1 is corrupted, so i rename it.
Now i have an error that some basic table are missing (Table 'kontact[7838]:
Error    : Table 'akonadi.collectionattributetable' doesn't exist in engine
' doesn't exist in engine)

STEPS TO REPRODUCE
1. break/disable mariaDB
2. try to start any app requiring akonadi

OBSERVED RESULT
app fail with generic error about background service missing

EXPECTED RESULT
akonadi report error, and in this specific case ask to repair/recreate the
database

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2
Kernel Version: 6.13.4-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 47.0 GiB of RAM
Graphics Processor: AMD Radeon RX 6750 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: B450 AORUS PRO

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to