WARNING: if you're using akonadi don't upgrade MariaDB
Quote:
https://bugreports.qt.io/browse/QTBUG-95071 |
Quote:
Where will be this Qt bug fixed? On Qt6? How this would help us with Plasma5, even they will fix the bug on Qt6? |
Hi,
Quote:
-- Best regards, Andrzej Telszewski |
I had already done a mysql_upgrade and akonadi's mysqld wouldn't start, so in case this helps other people with a broken akonadi, here's what I did (YMMV):
- Under "[mysqld]" in ~/.local/share/akonadi/mysql.conf I added: Code:
"innodb_force_recovery = 2" Code:
/usr/libexec/mysqld --defaults-file=/home/myuser/.local/share/akonadi/mysql.conf --datadir=/home/myuser/.local/share/akonadi/db_data/ --socket=/run/user/1000/akonadi/mysql.socket --pid-file=/run/user/1000/akonadi/mysql.pid & Code:
mysqldump -Q --socket=/run/user/1000/akonadi/mysql.socket --add-drop-table akonadi > akonadi.sql Code:
mysqladmin -Q --socket=/run/user/1000/akonadi/mysql.socket shutdown Code:
akonadictl start Code:
akonadictl start Code:
mysqladmin -Q --socket=/run/user/1000/akonadi/mysql.socket shutdown (Before trying all of this , out of caution, I made a backup of my mail folder and everything related to akonadi and kmail I found under ~/.cache/, ~/.config/ and ~/.local/) |
Quote:
https://community.kde.org/Qt5PatchCollection Quote:
|
So is this going to be fixed, or will I need to do-it-by-myself so that kmail works again? If I and others need to do it ourselves, will there be a nice set of instructions?
Right now I'm getting these messages: Unable to store downloaded mails. Failed to append item. John. |
Quote:
If you didn'y execute mysql_upgrade, I think downgrading MariaDB and restarting akonadi should be enough. Otherwise you can follow my instructions above to recover. You can find older versions of Slackware packages in certain mirrors, like http://slackware.uk/cumulative/, e.g. for 64-current: http://slackware.uk/cumulative/slack...1-x86_64-1.txz HTH |
Hi,
you prompted me to take a look at Qt5PatchCollection. The number of patches they have there against 5.15.2 is pretty impressive. I tried applying patches for qtbase and qtwayland to Slackware's Qt 5.15.2 sources and they apply cleanly - what a pleasent surprise. :-) That's probably something that Pat should consider. If you want to try it on your own, it takes something like that: Code:
$ cwd=$(pwd) Code:
# This is for qtwayland: -- Best regards, Andrzej Telszewski |
|
Official bug fix:
https://codereview.qt-project.org/c/qt/qtbase/+/363880 From the gerrit patch: Quote:
|
Quote:
Code:
- if (mysql_get_client_version() >= 50503 && mysql_get_server_version(d->mysql) >= 50503) { |
Quote:
|
Quote:
I seriously doubt. There is the build kit from arch , for qt5-base (for investigation purpouse) https://github.com/archlinux/svntogi...qt5-base/trunk |
Quote:
|
Quote:
If you use Qt with that patch against an older mysql/mariadb server which doesn't support newer functionality, it's going to break. But as I also said, it might be a non-issue: Quote:
|
All times are GMT -5. The time now is 02:32 PM. |