[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2023-07-09 Thread Don Rudo
https://bugs.kde.org/show_bug.cgi?id=454948

Don Rudo  changed:

   What|Removed |Added

 CC||p...@donrudo.com

--- Comment #27 from Don Rudo  ---
(In reply to KimHono from comment #23)
> In my case :
> - "touch /home/$HOME/.local/share/akonadi/db_data/ib_logfile0" worked for
> several times but finally failed. Even while restoring a backup realized
> before the issue.
> - "mariadb-upgrade --defaults-file=~/.local/share/akonadi/mysql.conf
> --socket=/run/user/$(id -u)/akonadi/mysql.socket
> --check-if-upgrade-is-needed" was clean but didn't resolve anything.
> - "rm -r ~/.local/share/akonadi/db_data" followed by "akonadictl start" is
> finally the best solution. Thanks to IMAP protocol I didn't loose any email !

I confirm this was the best fix for me, with only one addition, I got into some
issues beforehand because journalctl was only showing the warning about
"mysqld" being deprecated in favor of "mariadbd" as a potential 'error', the
full change was:

sed -i 's/mysqld/mysqldbd/g' ~/.config/akonadi/akonadiserverrc
rm -r ~/.local/share/akonadi/db_data
akonadictl start

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2023-03-08 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=454948

benmorde...@protonmail.com changed:

   What|Removed |Added

 Status|RESOLVED|REOPENED
 CC||benmorde...@protonmail.com
 Resolution|FIXED   |---

--- Comment #26 from benmorde...@protonmail.com ---
This problem is still present for me in 22.12.3.

Running `touch $HOME/.local/share/akonadi/db_data/ib_logfile0` fixed it but it
should not need to be done.

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-19 Thread Sandro Knauß
https://bugs.kde.org/show_bug.cgi?id=454948

Sandro Knauß  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/pim/ |https://invent.kde.org/pim/
   |akonadi/commit/d92d0cdbad08 |akonadi/commit/aebb20a082d0
   |de6318c0e0a88e358c3edd3bb70 |5b36458008fedff4397f022c3ff
   |2   |a

--- Comment #25 from Sandro Knauß  ---
Git commit aebb20a082d05b36458008fedff4397f022c3ffa by Sandro Knauß, on behalf
of Antonio Rojas.
Committed on 19/06/2022 at 12:52.
Pushed by knauss into branch 'master'.

Don't delete mariadb log files

The ib_logfile0 file is mandatory in MariaDB 10.8 [1] so akonadi deleting it on
upgrade breaks the database self-check and prevents akonadi from working

[1] https://jira.mariadb.org/browse/MDEV-14425
FIXED-IN: 22.04.3

M  +0-6src/server/storage/dbconfigmysql.cpp

https://invent.kde.org/pim/akonadi/commit/aebb20a082d05b36458008fedff4397f022c3ffa

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-19 Thread Sandro Knauß
https://bugs.kde.org/show_bug.cgi?id=454948

Sandro Knauß  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/pim/
   ||akonadi/commit/d92d0cdbad08
   ||de6318c0e0a88e358c3edd3bb70
   ||2
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
   Version Fixed In||22.04.3

--- Comment #24 from Sandro Knauß  ---
Git commit d92d0cdbad08de6318c0e0a88e358c3edd3bb702 by Sandro Knauß, on behalf
of Antonio Rojas.
Committed on 19/06/2022 at 12:50.
Pushed by knauss into branch 'master'.

Don't delete mariadb log files

The ib_logfile0 file is mandatory in MariaDB 10.8 [1] so akonadi deleting it on
upgrade breaks the database self-check and prevents akonadi from working

[1] https://jira.mariadb.org/browse/MDEV-14425
FIXED-IN: 22.04.3

M  +0-6src/server/storage/dbconfigmysql.cpp

https://invent.kde.org/pim/akonadi/commit/d92d0cdbad08de6318c0e0a88e358c3edd3bb702

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-19 Thread Martin Schnitkemper
https://bugs.kde.org/show_bug.cgi?id=454948

Martin Schnitkemper  changed:

   What|Removed |Added

 CC|martin.schnitkemper@nexgo.d |
   |e   |

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-19 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=454948

kimh...@tutanota.com changed:

   What|Removed |Added

 CC||kimh...@tutanota.com

--- Comment #23 from kimh...@tutanota.com ---
In my case :
- "touch /home/$HOME/.local/share/akonadi/db_data/ib_logfile0" worked for
several times but finally failed. Even while restoring a backup realized before
the issue.
- "mariadb-upgrade --defaults-file=~/.local/share/akonadi/mysql.conf
--socket=/run/user/$(id -u)/akonadi/mysql.socket --check-if-upgrade-is-needed"
was clean but didn't resolve anything.
- "rm -r ~/.local/share/akonadi/db_data" followed by "akonadictl start" is
finally the best solution. Thanks to IMAP protocol I didn't loose any email !

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-17 Thread Bug Janitor Service
https://bugs.kde.org/show_bug.cgi?id=454948

Bug Janitor Service  changed:

   What|Removed |Added

 Status|CONFIRMED   |ASSIGNED

--- Comment #22 from Bug Janitor Service  ---
A possibly relevant merge request was started @
https://invent.kde.org/pim/akonadi/-/merge_requests/105

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-17 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=454948

kram...@web.de changed:

   What|Removed |Added

 CC||kram...@web.de

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-16 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=454948

Antonio Rojas  changed:

   What|Removed |Added

 CC||andrea.mane...@yahoo.com

--- Comment #21 from Antonio Rojas  ---
*** Bug 455419 has been marked as a duplicate of this bug. ***

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-15 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=454948

brandon.coo...@disroot.org changed:

   What|Removed |Added

 CC||brandon.coo...@disroot.org

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-15 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=454948

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com

--- Comment #20 from Maik Qualmann  ---
Sorry for posting a commit message in a non-digiKam bug report.

Maik

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-15 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=454948

--- Comment #19 from Antonio Rojas  ---
The file is being explicitely removed here:

https://invent.kde.org/pim/akonadi/-/blob/master/src/server/storage/dbconfigmysql.cpp#L395

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-15 Thread Maik Qualmann
https://bugs.kde.org/show_bug.cgi?id=454948

--- Comment #18 from Maik Qualmann  ---
Git commit 8d16ea2e3fddbfa9a1615d506c342070502d1ce9 by Maik Qualmann.
Committed on 15/06/2022 at 18:26.
Pushed by mqualmann into branch 'master'.

do not remove the MySQL log files

M  +2-2core/libs/database/server/databaseserver.cpp

https://invent.kde.org/graphics/digikam/commit/8d16ea2e3fddbfa9a1615d506c342070502d1ce9

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-15 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=454948

Antonio Rojas  changed:

   What|Removed |Added

 CC||2724167...@qq.com

--- Comment #17 from Antonio Rojas  ---
*** Bug 455329 has been marked as a duplicate of this bug. ***

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-12 Thread Bernhard Scheirle
https://bugs.kde.org/show_bug.cgi?id=454948

Bernhard Scheirle  changed:

   What|Removed |Added

 CC||bernhard+...@scheirle.de

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-12 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=454948

maycne.sona...@posteo.net changed:

   What|Removed |Added

 CC||maycne.sona...@posteo.net

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-12 Thread Martin Schnitkemper
https://bugs.kde.org/show_bug.cgi?id=454948

--- Comment #16 from Martin Schnitkemper  ---
I have now run the update on two systems and in both cases akonadi no longer
starts. I didn't get the "unknown error" error, but the file "ib_logfile0" was
missing after the first login.

A "touch $HOME/.local/share/akonadi/db_data/ib_logfile0" as suggested here
several times was not a solution because after the second logon I had 3200+
entries in mysql.err like
| [ERROR] InnoDB: Page [page id: space=0, page number=7] log sequence number
1447482201 is in the future! Current system log sequence number 1378510903.
| [ERROR] InnoDB: Your database may be corrupt or you may have copied the
InnoDB tablespace but not the InnoDB log files. Please refer to
https://mariadb.com/kb/en/library/innodb-recovery-modes/ for information about
forcing recovery.

A "recovery" was not an option for me because it seems complicated to me, is
only insufficiently described in the MariaDB knowledgebase and I am not sure if
it solves the problem at all.

I had already completed the update to mariadb 10.8.3 last week and also updated
the structures with "mariadb-upgrade --socket=/run/user/$(id
-u)/akonadi/mysql.socket", it came therefore only the "KDE Gear 22.04.2" update
with akonadi and its accompanying components.

Based on the experience of the first system, I copied now the "ib_logfile0"
file to a safe place before updating the second system. After the file was
missing again after the update and the first logon, the easiest solution for me
was to copy the file back after the update and restart akonadi. It also
survived a reboot.

My recommendation is therefore to back up the file before an update or restore
it from a current backup. If it has already happened then it also helps to
delete (or rename) the "db_data" folder and start new with a 
"mariadb-install-db --datadir=$HOME/.local/share/akonadi/db_data --basedir=
/usr".

The question remains (and here I see the real problem) why akonadi or one of
its components removes the "ib_logfile0" file on the first logon after the
update.

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-12 Thread Salvatore
https://bugs.kde.org/show_bug.cgi?id=454948

Salvatore  changed:

   What|Removed |Added

 CC||sannythebes...@gmail.com

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-11 Thread Kishore Gopalakrishnan
https://bugs.kde.org/show_bug.cgi?id=454948

--- Comment #15 from Kishore Gopalakrishnan  ---
(In reply to Kishore Gopalakrishnan from comment #14)
> (In reply to Oleksandr Natalenko from comment #4)
> > All, if you expect some help on this, post your
> > `~/.local/share/akonadi/db_data/mysql.err`. It might be the case the DB
> > needs upgrade, and to find out also post the output of this:
> > 
> > ```
> > $ mariadb-upgrade --defaults-file=~/.local/share/akonadi/mysql.conf
> > --socket=/run/user/$(id -u)/akonadi/mysql.socket 
> > --check-if-upgrade-is-needed
> > ```
> 
> The command you gave indeed says that an upgrade is required:
> 
> [kishore@kishorearchtestingVM ~]$  mariadb-upgrade
> --defaults-file=~/.local/share/akonadi/mysql.conf --socket=/run/user/$(id
> -u)/akonadi/mysql.socket --check-if-upgrade-is-needed
> Major version upgrade detected from 10.7.4-MariaDB to 10.8.3-MariaDB. Check
> required!

Just running `mariadb-upgrade --defaults-file=~/.local/share/akonadi/mysql.conf
--socket=/run/user/$(id -u)/akonadi/mysql.socket` and then rebooting fixed
this, but it doesn't seem to be related to the reported issue (akonadi was able
to start even with an outdated database as long as the ib_logfile0 file was
present).

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-11 Thread Kishore Gopalakrishnan
https://bugs.kde.org/show_bug.cgi?id=454948

--- Comment #14 from Kishore Gopalakrishnan  ---
(In reply to Oleksandr Natalenko from comment #4)
> All, if you expect some help on this, post your
> `~/.local/share/akonadi/db_data/mysql.err`. It might be the case the DB
> needs upgrade, and to find out also post the output of this:
> 
> ```
> $ mariadb-upgrade --defaults-file=~/.local/share/akonadi/mysql.conf
> --socket=/run/user/$(id -u)/akonadi/mysql.socket --check-if-upgrade-is-needed
> ```

The command you gave indeed says that an upgrade is required:

[kishore@kishorearchtestingVM ~]$  mariadb-upgrade
--defaults-file=~/.local/share/akonadi/mysql.conf --socket=/run/user/$(id
-u)/akonadi/mysql.socket --check-if-upgrade-is-needed
Major version upgrade detected from 10.7.4-MariaDB to 10.8.3-MariaDB. Check
required!

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-11 Thread Kishore Gopalakrishnan
https://bugs.kde.org/show_bug.cgi?id=454948

--- Comment #13 from Kishore Gopalakrishnan  ---
(In reply to harbind00 from comment #10)
> (In reply to harbind00 from comment #6)
> > Running 
> > ```
> > touch /home/$HOME/.local/share/akonadi/db_data/ib_logfile0
> > ```
> > fixed this for me.
> 
> Oops, this should of course be `touch
> $HOME/.local/share/akonadi/db_data/ib_logfile0`

Good find. This commit (included in 10.8.0):
https://jira.mariadb.org/browse/MDEV-14425
says "Starting up without ib_logfile0 will no longer be supported; see also
MDEV-27199."

Is akonadi somehow expected to create it as part of the startup process?

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-11 Thread d3coder
https://bugs.kde.org/show_bug.cgi?id=454948

d3coder  changed:

   What|Removed |Added

 CC||ad...@xakeps.dk

--- Comment #12 from d3coder  ---
> touch $HOME/.local/share/akonadi/db_data/ib_logfile0

This fixed issue for me

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-10 Thread Timi
https://bugs.kde.org/show_bug.cgi?id=454948

Timi  changed:

   What|Removed |Added

 CC||eagle.bugs.kde.org@airpost.
   ||net

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-10 Thread Emile de Weerd
https://bugs.kde.org/show_bug.cgi?id=454948

Emile de Weerd  changed:

   What|Removed |Added

 CC||em...@deweerd.fr

--- Comment #11 from Emile de Weerd  ---
(In reply to harbind00 from comment #10)
> (In reply to harbind00 from comment #6)
> > Running 
> > ```
> > touch /home/$HOME/.local/share/akonadi/db_data/ib_logfile0
> > ```
> > fixed this for me.
> 
> Oops, this should of course be `touch
> $HOME/.local/share/akonadi/db_data/ib_logfile0`

Hi, I confirm the above fixed it for me too.

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-10 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=454948

--- Comment #10 from harbin...@gmail.com ---
(In reply to harbind00 from comment #6)
> Running 
> ```
> touch /home/$HOME/.local/share/akonadi/db_data/ib_logfile0
> ```
> fixed this for me.

Oops, this should of course be `touch
$HOME/.local/share/akonadi/db_data/ib_logfile0`

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-10 Thread Schlaefer
https://bugs.kde.org/show_bug.cgi?id=454948

Schlaefer  changed:

   What|Removed |Added

 CC||openmail+...@siezi.com

--- Comment #9 from Schlaefer  ---
Created attachment 149595
  --> https://bugs.kde.org/attachment.cgi?id=149595=edit
Akonadi fresh install error mariadb

I'm seeing the same issue after installing mariadb 10.8.3 on Arch.

What worked here: 
- delete "~.local/share/akonadi/db_data" (make a backup first)
- run "akonadictl start"

That creates a new, working DB.

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-10 Thread Oleksandr Natalenko
https://bugs.kde.org/show_bug.cgi?id=454948

--- Comment #8 from Oleksandr Natalenko  ---
(In reply to Rober from comment #7)
> 2022-06-10 12:39:55 0 [ERROR] InnoDB: ib_logfile0 is empty, and LSN is
> unknown.
> 2022-06-10 12:39:55 0 [ERROR] InnoDB: Plugin initialization aborted with
> error Data structure corruption

You may want to try starting mariadb with `innodb_force_recovery=X` specified
in `~/.local/share/akonadi/mysql.conf`, where X would be a number from 1 to 6.

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-10 Thread Rober
https://bugs.kde.org/show_bug.cgi?id=454948

--- Comment #7 from Rober  ---
(In reply to harbind00 from comment #6)
> Running 
> ```
> touch /home/$HOME/.local/share/akonadi/db_data/ib_logfile0
> ```
> fixed this for me.

It doesn't work for me. mysql.err: 

2022-06-10 12:39:55 0 [Warning] option 'innodb-log-buffer-size': unsigned value
1048576 adjusted to 2097152
2022-06-10 12:39:55 0 [Note] InnoDB: Compressed tables use zlib 1.2.12
2022-06-10 12:39:55 0 [Note] InnoDB: Number of transaction pools: 1
2022-06-10 12:39:55 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2022-06-10 12:39:55 0 [Note] InnoDB: Using Linux native AIO
2022-06-10 12:39:55 0 [Note] InnoDB: Initializing buffer pool, total size =
128.000MiB, chunk size = 2.000MiB
2022-06-10 12:39:55 0 [Note] InnoDB: Completed initialization of buffer pool
2022-06-10 12:39:55 0 [Note] InnoDB: File system buffers for log disabled
(block size=512 bytes)
2022-06-10 12:39:55 0 [ERROR] InnoDB: ib_logfile0 is empty, and LSN is unknown.
2022-06-10 12:39:55 0 [ERROR] InnoDB: Plugin initialization aborted with error
Data structure corruption
2022-06-10 12:39:55 0 [Note] InnoDB: Starting shutdown...
2022-06-10 12:39:55 0 [ERROR] Plugin 'InnoDB' init function returned error.
2022-06-10 12:39:55 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE
failed.
2022-06-10 12:39:55 0 [ERROR] Unknown/unsupported storage engine: innodb
2022-06-10 12:39:55 0 [ERROR] Aborting

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-10 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=454948

harbin...@gmail.com changed:

   What|Removed |Added

 CC||harbin...@gmail.com

--- Comment #6 from harbin...@gmail.com ---
Running 
```
touch /home/$HOME/.local/share/akonadi/db_data/ib_logfile0
```
fixed this for me.

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-10 Thread Antonio Rojas
https://bugs.kde.org/show_bug.cgi?id=454948

Antonio Rojas  changed:

   What|Removed |Added

 CC||rplanchu...@gmail.com

--- Comment #5 from Antonio Rojas  ---
*** Bug 455111 has been marked as a duplicate of this bug. ***

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-10 Thread Oleksandr Natalenko
https://bugs.kde.org/show_bug.cgi?id=454948

Oleksandr Natalenko  changed:

   What|Removed |Added

 CC||oleksa...@natalenko.name

--- Comment #4 from Oleksandr Natalenko  ---
All, if you expect some help on this, post your
`~/.local/share/akonadi/db_data/mysql.err`. It might be the case the DB needs
upgrade, and to find out also post the output of this:

```
$ mariadb-upgrade --defaults-file=~/.local/share/akonadi/mysql.conf
--socket=/run/user/$(id -u)/akonadi/mysql.socket --check-if-upgrade-is-needed
```

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-09 Thread Kishore Gopalakrishnan
https://bugs.kde.org/show_bug.cgi?id=454948

Kishore Gopalakrishnan  changed:

   What|Removed |Added

 CC||kishor...@gmail.com

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-09 Thread Martin Schnitkemper
https://bugs.kde.org/show_bug.cgi?id=454948

Martin Schnitkemper  changed:

   What|Removed |Added

 CC||martin.schnitkemper@nexgo.d
   ||e

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-09 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=454948

--- Comment #3 from fake.n...@posteo.net ---
Updating this:
a total removal -- i.e, pacman -Rcns -- plus a deletion of config files,
followed by installation of the PRIOR mariadb version, followed by
reinstallation of akonadi without letting mariadb update, fixes the problem. So
the problem is in fact in the versioning. Thank you Andreas G.

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-09 Thread Grzegorz
https://bugs.kde.org/show_bug.cgi?id=454948

Grzegorz  changed:

   What|Removed |Added

 CC||grzegorz.alibo...@gmail.com

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-09 Thread Zack Lynn
https://bugs.kde.org/show_bug.cgi?id=454948

Zack Lynn  changed:

   What|Removed |Added

 CC||z...@helpwizards.com

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-07 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=454948

--- Comment #2 from fake.n...@posteo.net ---
Alas, the reversion didn't do me any good. The problem seems to be in Mariadb,
actually; starting mariadbd fails, and one gets the following:



systemctl status mariadb.service 
× mariadb.service - MariaDB 10.7.4 database server
 Loaded: loaded (/usr/lib/systemd/system/mariadb.service; enabled; vendor
preset: disabled)
 Active: failed (Result: exit-code) since Tue 2022-06-07 20:09:31 EDT; 9min
ago
   Docs: man:mariadbd(8)
 https://mariadb.com/kb/en/library/systemd/
Process: 4032 ExecStartPre=/bin/sh -c systemctl unset-environment
_WSREP_START_POSITION (code=exited, status=0/SUCCESS)
Process: 4033 ExecStartPre=/bin/sh -c [ ! -e /usr/bin/galera_recovery ] &&
VAR= ||   VAR=`cd /usr/bin/..; /usr/bin/galera_recovery`; [ $? -eq 0 ]   &&
systemct>
Process: 4059 ExecStart=/usr/bin/mariadbd $MYSQLD_OPTS $_WSREP_NEW_CLUSTER
$_WSREP_START_POSITION (code=exited, status=1/FAILURE)
   Main PID: 4059 (code=exited, status=1/FAILURE)
 Status: "MariaDB server is down"
CPU: 102ms

Jun 07 20:09:31 psyche mariadbd[4059]: 2022-06-07 20:09:31 0 [Note] InnoDB:
Buffer pool(s) load completed at 220607 20:09:31
Jun 07 20:09:31 psyche mariadbd[4059]: 2022-06-07 20:09:31 0 [ERROR] Can't open
and lock privilege tables: Table 'mysql.servers' doesn't exist
Jun 07 20:09:31 psyche mariadbd[4059]: 2022-06-07 20:09:31 0 [Note] Server
socket created on IP: '0.0.0.0'.
Jun 07 20:09:31 psyche mariadbd[4059]: 2022-06-07 20:09:31 0 [Note] Server
socket created on IP: '::'.
Jun 07 20:09:31 psyche mariadbd[4059]: 2022-06-07 20:09:31 0 [ERROR] Fatal
error: Can't open and lock privilege tables: Table 'mysql.db' doesn't exist
Jun 07 20:09:31 psyche mariadbd[4059]: 2022-06-07 20:09:31 0 [ERROR] Aborting
Jun 07 20:09:31 psyche mariadbd[4059]: Warning: Memory not freed: 280
Jun 07 20:09:31 psyche systemd[1]: mariadb.service: Main process exited,
code=exited, status=1/FAILURE
Jun 07 20:09:31 psyche systemd[1]: mariadb.service: Failed with result
'exit-code'.
Jun 07 20:09:31 psyche systemd[1]: Failed to start MariaDB 10.7.4 database
server.


So it's looking for things it isn't finding, and I cannot actually tell where
it's looking...

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

[Akonadi] [Bug 454948] Akonadi server will not start on fresh install; yields "unknown error"

2022-06-07 Thread Andreas G.
https://bugs.kde.org/show_bug.cgi?id=454948

Andreas G.  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 CC||m-...@andig.net
 Ever confirmed|0   |1

--- Comment #1 from Andreas G.  ---
Same issue after updating Arch Linux today. Same program versions as you.
Downgrading to the previous version of mariadb made Akonadi usable again. 

Packages that were downgraded:
mariadb-10.7.4-1
mariadb-clients-10.7.4-1
mariadb-libs-10.7.4-1

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