Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 03/10/2018, à 03:47

abecidofugy

[Résolu] Installer Kontact sous KDE Neon

Salut,

Je me suis décidé à tester KDE neon vu que tant de gens du forum en disent du bien. Dans une VM pour commencer (Guest-on installés).

Super bonne première impression de l’interface, de la réactivité, et des choix cosmétiques.

Mais je vois que Kontact n'est pas installé par défaut… dingue. Après un apt install kontact, et lancé le programme, j’ai ça comme rapport :

Akonadi Server Self-Test Report
===============================

Test 1:  SUCCESS
--------

Database driver found.
Details: The QtSQL driver 'QMYSQL' is required by your current Akonadi server configuration and was found on your system.

File content of '/home/patrice/.config/akonadi/akonadiserverrc':
[%General]
Driver=QMYSQL

[QMYSQL]
Host=
Name=akonadi
Options="UNIX_SOCKET=/tmp/akonadi-patrice.QHsb8p/mysql.socket"
ServerPath=/usr/sbin/mysqld-akonadi
StartServer=true


Test 2:  SUCCESS
--------

Akonadi is not running as root
Details: Akonadi is not running as a root/administrator user, which is the recommended setup for a secure system.

Test 3:  SUCCESS
--------

MySQL server found.
Details: You have currently configured Akonadi to use the MySQL server '/usr/sbin/mysqld-akonadi'.
Make sure you have the MySQL server installed, set the correct path and ensure you have the necessary read and execution rights on the server executable. The server executable is typically called 'mysqld'; its location varies depending on the distribution.

Test 4:  SUCCESS
--------

MySQL server is executable.
Details: MySQL server found: /usr/sbin/mysqld  Ver 10.1.34-MariaDB-0ubuntu0.18.04.1 for debian-linux-gnu on x86_64 (Ubuntu 18.04)


Test 5:  SUCCESS
--------

No current MySQL error log found.
Details: The MySQL server did not report any errors during this startup. The log can be found in '/home/patrice/.local/share/akonadi/db_data/mysql.err'.

Test 6:  ERROR
--------

MySQL server default configuration not found.
Details: The default configuration for the MySQL server was not found or was not readable. Check your Akonadi installation is complete and you have all required access rights.

Test 7:  SKIP
--------

MySQL server custom configuration not available.
Details: The custom configuration for the MySQL server was not found but is optional.

Test 8:  SUCCESS
--------

MySQL server configuration is usable.
Details: The MySQL server configuration was found at <a href="/home/patrice/.local/share/akonadi/mysql.conf">/home/patrice/.local/share/akonadi/mysql.conf</a> and is readable.

File content of '/home/patrice/.local/share/akonadi/mysql.conf':
#
# Global Akonadi MySQL server settings,
# These settings can be adjusted using $HOME/.config/akonadi/mysql-local.conf
#
# Based on advice by Kris Köhntopp <kris@mysql.com>
#
[mysqld]

# strict query parsing/interpretation
# TODO: make Akonadi work with those settings enabled
# sql_mode=strict_trans_tables,strict_all_tables,strict_error_for_division_by_zero,no_auto_create_user,no_auto_value_on_zero,no_engine_substitution,no_zero_date,no_zero_in_date,only_full_group_by,pipes_as_concat
# sql_mode=strict_trans_tables

# DEBUGGING:
# log all queries, useful for debugging but generates an enormous amount of data
# log=mysql.full
# log queries slower than n seconds, log file name relative to datadir (for debugging only)
# log_slow_queries=mysql.slow
# long_query_time=1
# log queries not using indices, debug only, disable for production use
# log_queries_not_using_indexes=1
#
# mesure database size and adjust innodb_buffer_pool_size
# SELECT sum(data_length) as bla, sum(index_length) as blub FROM information_schema.tables WHERE table_schema not in ("mysql", "information_schema");

# NOTES:
# Keep Innob_log_waits and keep Innodb_buffer_pool_wait_free small (see show global status like "inno%", show global variables)

#expire_logs_days=3

#sync_bin_log=0

# Use UTF-8 encoding for tables
character_set_server=utf8
collation_server=utf8_general_ci

# use InnoDB for transactions and better crash recovery
default_storage_engine=innodb

# memory pool InnoDB uses to store data dictionary information and other internal data structures (default:8M)
# Deprecated in MySQL >= 5.6.3, removed in 5.7 (works in MariaDB)
# innodb_additional_mem_pool_size=8M

# memory buffer InnoDB uses to cache data and indexes of its tables (default:128M)
# Larger values means less I/O
innodb_buffer_pool_size=128M

# Create a .ibd file for each table (default:0)
innodb_file_per_table=1

# Write out the log buffer to the log file at each commit (default:1)
innodb_flush_log_at_trx_commit=2

# Buffer size used to write to the log files on disk (default:1M for builtin, 8M for plugin)
# larger values means less I/O
innodb_log_buffer_size=1M

# Size of each log file in a log group (default:5M) larger means less I/O but more time for recovery.
innodb_log_file_size=64M

# # error log file name, relative to datadir (default:hostname.err)
log_error=mysql.err

# print warnings and connection errors (default:1)
log_warnings=2

# Convert table named to lowercase
lower_case_table_names=1

# Maximum size of one packet or any generated/intermediate string. (default:1M)
max_allowed_packet=32M

# Maximum simultaneous connections allowed (default:100)
max_connections=256

# The two options below make no sense with prepared statements and/or transactions
# (make sense when having the same query multiple times)

# Memory allocated for caching query results (default:0 (disabled))
query_cache_size=0

# Do not cache results (default:1)
query_cache_type=0

# Do not use the privileges mechanisms
skip_grant_tables

# Do not listen for TCP/IP connections at all
skip_networking

# The number of open tables for all threads. (default:64)
table_open_cache=200

# How many threads the server should cache for reuse (default:0)
thread_cache_size=3

# wait 365d before dropping the DB connection (default:8h)
wait_timeout=31536000

# We use InnoDB, so don't let MyISAM eat up memory
key_buffer_size=16K

[client]
default-character-set=utf8


Test 9:  SUCCESS
--------

akonadictl found and usable
Details: The program '/usr/bin/akonadictl' to control the Akonadi server was found and could be executed successfully.
Result:
akonadictl 5.9.1


Test 10:  ERROR
--------

Akonadi control process not registered at D-Bus.
Details: The Akonadi control process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup.

Test 11:  ERROR
--------

Akonadi server process not registered at D-Bus.
Details: The Akonadi server process is not registered at D-Bus which typically means it was not started or encountered a fatal error during startup.

Test 12:  SKIP
--------

Protocol version check not possible.
Details: Without a connection to the server it is not possible to check if the protocol version meets the requirements.

Test 13:  ERROR
--------

No resource agents found.
Details: No resource agents have been found, Akonadi is not usable without at least one. This usually means that no resource agents are installed or that there is a setup problem. The following paths have been searched: '/usr/share/akonadi/agents'. The XDG_DATA_DIRS environment variable is set to '/usr/share//usr/share/xsessions/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop'; make sure this includes all paths where Akonadi agents are installed.

Directory listing of '/usr/share/akonadi/agents':
akonadiindexingagent.desktop
akonotesresource.desktop
archivemailagent.desktop
birthdaysresource.desktop
contactsresource.desktop
davgroupwareresource.desktop
ewsmtaresource.desktop
ewsresource.desktop
facebookresource.desktop
followupreminder.desktop
googlecalendarresource.desktop
googlecontactsresource.desktop
icaldirresource.desktop
icalresource.desktop
imapresource.desktop
invitationsagent.desktop
kalarmdirresource.desktop
kalarmresource.desktop
kolabresource.desktop
maildirresource.desktop
maildispatcheragent.desktop
mailfilteragent.desktop
mboxresource.desktop
migrationagent.desktop
mixedmaildirresource.desktop
newmailnotifieragent.desktop
notesagent.desktop
notesresource.desktop
openxchangeresource.desktop
pop3resource.desktop
sendlateragent.desktop
tomboynotesresource.desktop
vcarddirresource.desktop
vcardresource.desktop

Environment variable XDG_DATA_DIRS is set to '/usr/share//usr/share/xsessions/plasma:/usr/local/share:/usr/share:/var/lib/snapd/desktop'

Test 14:  ERROR
--------

Current Akonadi server error log found.
Details: The Akonadi server reported errors during its current startup. The log can be found in <a href="/home/patrice/.local/share/akonadi/akonadiserver.error">/home/patrice/.local/share/akonadi/akonadiserver.error</a>.

File content of '/home/patrice/.local/share/akonadi/akonadiserver.error':
database server stopped unexpectedly
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/mysqld-akonadi"
arguments: ("--defaults-file=/home/patrice/.local/share/akonadi/mysql.conf", "--datadir=/home/patrice/.local/share/akonadi/db_data/", "--socket=/tmp/akonadi-patrice.QHsb8p/mysql.socket", "--pid-file=/tmp/akonadi-patrice.QHsb8p/mysql.pid")
stdout: ""
stderr: "2018-10-03  4:19:41 139859031923840 [Note] /usr/sbin/mysqld (mysqld 10.1.34-MariaDB-0ubuntu0.18.04.1) starting as process 7877 ...\n2018-10-03  4:19:41 139859031923840 [Warning] Can't create test file /home/patrice/.local/share/akonadi/db_data/neon.lower-test\n\x07/usr/sbin/mysqld: Can't change dir to '/home/patrice/.local/share/akonadi/db_data/' (Errcode: 2 \"No such file or directory\")\n2018-10-03  4:19:41 139859031923840 [ERROR] Aborting\n\n"
exit code: 1
process error: "Unknown error"
Failed to remove runtime connection config file


Test 15:  ERROR
--------

Previous Akonadi server error log found.
Details: The Akonadi server reported errors during its previous startup. The log can be found in <a href="/home/patrice/.local/share/akonadi/akonadiserver.error.old">/home/patrice/.local/share/akonadi/akonadiserver.error.old</a>.

File content of '/home/patrice/.local/share/akonadi/akonadiserver.error.old':
database server stopped unexpectedly
Database process exited unexpectedly during initial connection!
executable: "/usr/sbin/mysqld-akonadi"
arguments: ("--defaults-file=/home/patrice/.local/share/akonadi/mysql.conf", "--datadir=/home/patrice/.local/share/akonadi/db_data/", "--socket=/tmp/akonadi-patrice.QHsb8p/mysql.socket", "--pid-file=/tmp/akonadi-patrice.QHsb8p/mysql.pid")
stdout: ""
stderr: "2018-10-03  4:19:36 140284011068544 [Note] /usr/sbin/mysqld (mysqld 10.1.34-MariaDB-0ubuntu0.18.04.1) starting as process 7855 ...\n2018-10-03  4:19:36 140284011068544 [Warning] Can't create test file /home/patrice/.local/share/akonadi/db_data/neon.lower-test\n\x07/usr/sbin/mysqld: Can't change dir to '/home/patrice/.local/share/akonadi/db_data/' (Errcode: 2 \"No such file or directory\")\n2018-10-03  4:19:36 140284011068544 [ERROR] Aborting\n\n"
exit code: 1
process error: "Unknown error"
Failed to remove runtime connection config file


Test 16:  ERROR
--------

Current Akonadi control error log found.
Details: The Akonadi control process reported errors during its current startup. The log can be found in <a href="/home/patrice/.local/share/akonadi/akonadi_control.error">/home/patrice/.local/share/akonadi/akonadi_control.error</a>.

File content of '/home/patrice/.local/share/akonadi/akonadi_control.error':
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Application 'akonadiserver' exited normally...


Test 17:  ERROR
--------

Previous Akonadi control error log found.
Details: The Akonadi control process reported errors during its previous startup. The log can be found in <a href="/home/patrice/.local/share/akonadi/akonadi_control.error.old">/home/patrice/.local/share/akonadi/akonadi_control.error.old</a>.

File content of '/home/patrice/.local/share/akonadi/akonadi_control.error.old':
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Application 'akonadiserver' exited normally...

Ça commence bien… Que faire, sachant que sous Kubuntu, tout est fait par défaut pour vous.

Merci de votre aide.

Dernière modification par abecidofugy (Le 04/10/2018, à 09:40)

Hors ligne

#2 Le 03/10/2018, à 10:27

abecidofugy

Re : [Résolu] Installer Kontact sous KDE Neon

Je me réponds, après un peu de sommeil :

$ akonadictl start
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)

FATAL ERROR: Could not find my_print_defaults

The following directories were searched:

    /usr/bin
    /usr/extra

If you compiled from source, you need to either run 'make install' to
copy the software into the correct location ready for operation.
If you don't want to do a full install, you can use the --srcddir
option to only install the mysql database and privilege tables

If you are using a binary release, you must either be at the top
level of the extracted archive, or pass the --basedir option
pointing to that location.

The latest information about mysql_install_db is available at
https://mariadb.com/kb/en/installing-system-tables-mysql_install_db
org.kde.pim.akonadiserver: database server stopped unexpectedly
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial connection!
org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld-akonadi"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/patrice/.local/share/akonadi/mysql.conf", "--datadir=/home/patrice/.local/share/akonadi/db_data/", "--socket=/tmp/akonadi-patrice.21Y4l2/mysql.socket", "--pid-file=/tmp/akonadi-patrice.21Y4l2/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "2018-10-03 11:25:50 139824482577536 [Note] /usr/sbin/mysqld (mysqld 10.1.34-MariaDB-0ubuntu0.18.04.1) starting as process 3306 ...\n2018-10-03 11:25:50 139824482577536 [Warning] Can't create test file /home/patrice/.local/share/akonadi/db_data/neon.lower-test\n\x07/usr/sbin/mysqld: Can't change dir to '/home/patrice/.local/share/akonadi/db_data/' (Errcode: 2 \"No such file or directory\")\n2018-10-03 11:25:50 139824482577536 [ERROR] Aborting\n\n"
org.kde.pim.akonadiserver: exit code: 1
org.kde.pim.akonadiserver: process error: "Unknown error"
org.kde.pim.akonadiserver: Failed to remove runtime connection config file
org.kde.pim.akonadicontrol: Application 'akonadiserver' exited normally...

L’astuce de @jajax ne marche pas : https://forum.ubuntu-fr.org/viewtopic.p … #p21892714

Que faire svp ?

Dernière modification par abecidofugy (Le 03/10/2018, à 10:30)

Hors ligne

#3 Le 03/10/2018, à 18:36

abecidofugy

Re : [Résolu] Installer Kontact sous KDE Neon

Premier rapport de BUG Neon : https://bugs.kde.org/show_bug.cgi?id=399346

Je ne sais pas si j’ai bien fait les choses.

Hors ligne

#4 Le 03/10/2018, à 22:56

jajaX

Re : [Résolu] Installer Kontact sous KDE Neon

salut !

comment mes astuces ne fonctionnent pas mad big_smile

ton serveur mysql est installé apparemment mais l'as-tu configuré ?

tu as installé akonadi depuis quel dépôt ?


@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 22.04 Jammy Jellyfish (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)

Hors ligne

#5 Le 03/10/2018, à 23:14

abecidofugy

Re : [Résolu] Installer Kontact sous KDE Neon

Non je n'ai rien configuré, je pensais qu'en juste installant Kontact, il allait tout faire… ^^

Akonadi était une dépendance de Kontact. En fait, je n'ai fait qu'un sudo apt install kontact

À partir des dépôts officiels de KDE Neon.

Dans Kontact, lorsque je clique sur « Détails » (parce qu’Akonadi ne veut pas lancer) et bien ça n’affiche rien…

Dernière modification par abecidofugy (Le 04/10/2018, à 00:23)

Hors ligne

#6 Le 04/10/2018, à 09:02

abecidofugy

Re : [Résolu] Installer Kontact sous KDE Neon

Hors ligne

#7 Le 04/10/2018, à 09:19

bishop

Re : [Résolu] Installer Kontact sous KDE Neon

Salut abecidofugy :
Essaie :

sudo apt install akonadi-backend-mysql mysql-common mariadb-client mariadb-server

Normalement akonadi-backend-mysql et mysql-common sont installés mais va savoir.
kmail et akregator doivent être installés.

J'ai eu un message d'erreur parce que hspell n'était pas installé ?

Hebrew spell checker and morphological analyzer

Dernière modification par bishop (Le 04/10/2018, à 09:40)


La plus grande surprise que puisse faire un con c'est de faire une pause.

Hors ligne

#8 Le 04/10/2018, à 09:40

abecidofugy

Re : [Résolu] Installer Kontact sous KDE Neon

bishop a écrit :

Salut abecidofugy :
Essaie :

sudo apt install akonadi-backend-mysql mysql-common mariadb-client mariadb-server

Normalement akonadi-backend-mysql et mysql-common sont installés mais va savoir.
kmail et akregator doivent être installés.

Bravo, j’ai installé  mariadb-client mariadb-server (les deux autres étaient des dépendances de Kontact comme tu le disais) et j'ai pu lancer Akonadi et Kontact m’affiche bien quelque chose.

Par contre, ça fait pas mal de paquets de dépendances en plus. Ce n’est pas gênant ? Ça ne va pas alourdir ma VM inutilement ?

Merci.

Je passe en [Résolu]

Hors ligne

#9 Le 04/10/2018, à 09:44

abecidofugy

Re : [Résolu] Installer Kontact sous KDE Neon

bishop a écrit :

[
J'ai eu un message d'erreur parce que hspell n'était pas installé ?

Hebrew spell checker and morphological analyzer

Moi pas, ça semble rouler. Je vais rajouter les identifiants mail et cloud pour m’en assurer.

//EDIT : cloud et mail, ça marche. Bye bye Thunderbird, welcome Kontact en Plasma 5 ? smile

Dernière modification par abecidofugy (Le 04/10/2018, à 10:41)

Hors ligne

#10 Le 04/10/2018, à 23:04

jajaX

Re : [Résolu] Installer Kontact sous KDE Neon

cool wink


@+
jajaX
Asus X93SM-YZ157V / Asus X93SM-YZ065V sous KDE Neon
ASUS K95VB sous Kubuntu 22.04 Jammy Jellyfish (64 bits) / ACER Aspire 5612 WLMI sous Kubuntu 18.04 Bionic Beaver (32 bits)

Hors ligne

#11 Le 08/10/2018, à 06:31

bertrand1

Re : [Résolu] Installer Kontact sous KDE Neon

Bonjour,

J'essaie aussi de faire fonctionner Kontact sous Kde Néon. Sans succès.
Akonadi ne veut pas se lancer et j'obtiens systématiquement le message suivant : "le service de gestion des informations personnelles n'est pas opérationnel" au lancement de Kmail.
Akonadi est installé.
J'ai lancé "sudo apt install akonadi-backend-mysql mysql-common mariadb-client mariadb-server" comme indiqué par bishop. Sans succès

Merci de vos lumières

Hors ligne

#12 Le 08/10/2018, à 07:16

abecidofugy

Re : [Résolu] Installer Kontact sous KDE Neon

$ akonadictl start

Hors ligne

#13 Le 08/10/2018, à 07:59

bertrand1

Re : [Résolu] Installer Kontact sous KDE Neon

Voici la réponse : J'ai du mal à y comprendre quelque chose.

Autre question annexe : je n'ai pas compris comment copier l'image de ma console dans le message... je sais, je suis nul !

bertrand@bertrand-ZBOX-EN760:~$ akonadictl start
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
bertrand@bertrand-ZBOX-EN760:~$ Icon theme "elementary" not found.
Icon theme "gnome" not found.
org.kde.pim.akonadiserver: database server stopped unexpectedly
org.kde.pim.akonadiserver: Database process exited unexpectedly during initial connection!
org.kde.pim.akonadiserver: executable: "/usr/sbin/mysqld"
org.kde.pim.akonadiserver: arguments: ("--defaults-file=/home/bertrand/.local/share/akonadi/mysql.conf", "--datadir=/home/bertrand/.local/share/akonadi/db_data/", "--socket=/tmp/akonadi-bertrand.T8NB00/mysql.socket", "--pid-file=/tmp/akonadi-bertrand.T8NB00/mysql.pid")
org.kde.pim.akonadiserver: stdout: ""
org.kde.pim.akonadiserver: stderr: "2018-10-08  8:56:24 140221837253760 [Note] /usr/sbin/mysqld (mysqld 10.1.34-MariaDB-0ubuntu0.18.04.1) starting as process 9402 ...\n"
org.kde.pim.akonadiserver: exit code: 6
org.kde.pim.akonadiserver: process error: "Process crashed"
/usr/bin/mysqladmin: connect to server at 'localhost' failed
error: 'Can't connect to local MySQL server through socket '/tmp/akonadi-bertrand.T8NB00/mysql.socket' (2 "No such file or directory")'
Check that mysqld is running and that the socket: '/tmp/akonadi-bertrand.T8NB00/mysql.socket' exists!
org.kde.pim.akonadiserver: Failed to remove runtime connection config file
org.kde.pim.akonadicontrol: Application 'akonadiserver' exited normally...

Modération : merci d'utiliser les balises code (explications ici).

Dernière modification par cqfd93 (Le 08/10/2018, à 08:08)

Hors ligne

#14 Le 08/11/2018, à 05:14

abecidofugy

Re : [Résolu] Installer Kontact sous KDE Neon

Alors finalement j’ai eu une réponse au rapport de bug que j'avais fait : https://bugs.kde.org/show_bug.cgi?id=399346

Avec les conseils de @bishop, j'avais installé en plus mariadb-client et mariadb-server (ainsi que toutes les dépendances en automatique).
Ça fonctionne, Kmail et Akonadi sont opérationnels, mais dois-je faire quelque chose d'autre, ou à place, au regard de la réponse donnée dans ce fameux rapport de bug, ou annuler l'installation de ces deux fameux paquets pour refaire une base de donnée en mysql ?

Merci de vos conseils.

Hors ligne

#15 Le 08/11/2018, à 11:13

bruno

Re : [Résolu] Installer Kontact sous KDE Neon

Tu as tout intérêt à conserver mariadb. C'est de toute façon équivalent à mysql en plus performant.
Malheureusement Ubuntu a fait le choix de conserver mysql par défaut alors que Debian est passée sur mariadb par défaut…

Hors ligne