Non, je ne suis pas utilisateur de longue date mais quand j'ai installé il y a quelques mois, c'était encore mysql si j'ai bien compris.
J'ai tout (je pense) désinstallé et je réinstalle tout.
Message à l'installation :
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installation : rh-mariadb105-runtime-3.7-1.el7.x86_64 1/14
Installation : 3:rh-mariadb105-mariadb-config-10.5.9-2.el7.x86_64 2/14
Installation : 3:rh-mariadb105-mariadb-common-10.5.9-2.el7.x86_64 3/14
Installation : 3:rh-mariadb105-mariadb-libs-10.5.9-2.el7.x86_64 4/14
Installation : 3:rh-mariadb105-mariadb-10.5.9-2.el7.x86_64 5/14
Installation : 3:rh-mariadb105-mariadb-errmsg-10.5.9-2.el7.x86_64 6/14
Installation : 3:rh-mariadb105-mariadb-server-10.5.9-2.el7.x86_64 7/14
libsemanage.semanage_read_policydb: Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading. (No such file or directory).
OSError: No such file or directory
libsemanage.semanage_read_policydb: Could not open kernel policy /etc/selinux/targeted/active/policy.kern for reading. (No such file or directory).
OSError: No such file or directory
Installation : 3:rh-mariadb105-mariadb-server-utils-10.5.9-2.el7.x86 8/14
Installation : rh-mariadb105-3.7-1.el7.x86_64 9/14
Installation : smeserver-mariadb105-2.7.0-16.el7.sme.noarch 10/14
Installation : oniguruma-6.8.2-2.el7.x86_64 11/14
Installation : jq-1.6-2.el7.x86_64 12/14
Installation : nextcloud-src-24.0.2-3.el7.sme.noarch 13/14
Installation : smeserver-nextcloud-1.2.0-17.el7.sme.noarch 14/14
Initializing databases
Pas de changement, pas d'accès possible à mon-domaine.fr/nextcloud :
You don't have permission to access /nextcloud/ on this server.
En essayant de mettre en œuvre la procédure décrite dans le wiki :
"Un utilisateur ne peut pas voir shares/files" ça ne règle rien.
Par contre quand je veux créer le groupe "localusers", à l'enregistrement de ce nouveau groupe, j'ai une erreur :
Rapport d'état de l'opération
Une erreur est survenue lors de la modification du groupe d'utilisateurs.
Donc il y a un autre problème sur le serveur.
Des lignes avec erreurs du journal "Messages", on peut extraire :
Jul 24 16:51:14 kooz1 esmith::event[11915]: expanding /etc/phpMyAdmin/config.inc.php
Jul 24 16:51:14 kooz1 esmith::event[11915]: ERROR: Cannot create output file //etc/phpMyAdmin/config.inc.php.11916 Aucun fichier ou dossier de ce type
Jul 24 16:51:14 kooz1 esmith::event[11915]: at /etc/e-smith/events/actions/generic_template_expand line 56.
Jul 24 16:51:14 kooz1 esmith::event[11915]: expanding /etc/e-smith/sql/init105/10mysql_upgrade
...
Jul 24 16:51:16 kooz1 esmith::event[11915]: adjusting non-supervised mariadb105-mariadb (restart)
Jul 24 16:51:16 kooz1 scl: Socket file /var/lib/mysql/mariadb105.sock exists.
Jul 24 16:51:16 kooz1 scl: No process is using /var/lib/mysql/mariadb105.sock, which means it is a garbage, so it will be removed automatically.
Jul 24 16:51:17 kooz1 scl: Database MariaDB is probably initialized in /var/opt/rh/rh-mariadb105/lib/mysql already, nothing is done.
Jul 24 16:51:17 kooz1 scl: If this is not the case, make sure the /var/opt/rh/rh-mariadb105/lib/mysql is empty before running mysql-prepare-db-dir.
Jul 24 16:51:17 kooz1 mysqld-scl-helper: 2022-07-24 16:51:17 0 [Note] /opt/rh/rh-mariadb105/root/usr/libexec/mysqld (mysqld 10.5.9-MariaDB) starting as process 12210 ...
Jul 24 16:51:17 kooz1 mariadb105-post: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mariadb105.sock' (111)
Jul 24 16:51:17 kooz1 mariadb105-post: root password set
Jul 24 16:51:17 kooz1 esmith::event[11915]: adjusting non-supervised mariadb105-mysql.init (restart)
Jul 24 16:51:18 kooz1 scl: Database MariaDB is probably initialized in /var/opt/rh/rh-mariadb105/lib/mysql already, nothing is done.
Jul 24 16:51:18 kooz1 scl: If this is not the case, make sure the /var/opt/rh/rh-mariadb105/lib/mysql is empty before running mysql-prepare-db-dir.
Jul 24 16:51:18 kooz1 mysqld-scl-helper: 2022-07-24 16:51:18 0 [Note] /opt/rh/rh-mariadb105/root/usr/libexec/mysqld (mysqld 10.5.9-MariaDB) starting as process 12405 ...
Jul 24 16:51:18 kooz1 mariadb105-post: waiting for rh-mariadb105-mariadb to start to set root password
Jul 24 16:51:19 kooz1 mariadb105-post: root password set
Jul 24 16:51:19 kooz1 esmith::event[11915]: adjusting non-supervised httpd-e-smith (start)
Jul 24 16:51:19 kooz1 esmith::event[11915]: adjusting non-supervised httpd-e-smith (sigusr1)
Jul 24 16:51:19 kooz1 esmith::event[11915]: adjusting non-supervised php74-php-fpm (reload-or-restart)
Jul 24 16:51:19 kooz1 esmith::event[11915]: adjust-services=action|Event|temp|Action|adjust-services|Start|1658674276 302089|End|1658674279 665557|Elapsed|3.363468
Jul 24 16:51:19 kooz1 esmith::event[11915]: Running event handler: /etc/e-smith/events/temp/S91nextcloud-conf
Jul 24 16:51:20 kooz1 esmith::event[11915]: parse error: Invalid numeric literal at line 1, column 6
Jul 24 16:51:20 kooz1 esmith::event[11915]: parse error: Invalid numeric literal at line 1, column 6
Jul 24 16:51:20 kooz1 esmith::event[11915]: Could not open input file: occ
Jul 24 16:51:20 kooz1 esmith::event[11915]: Could not open input file: occ
Jul 24 16:51:20 kooz1 esmith::event[11915]: Could not open input file: occ
Jul 24 16:51:21 kooz1 esmith::event[11915]: Could not open input file: occ
Jul 24 16:51:21 kooz1 esmith::event[11915]: Could not open input file: occ
Jul 24 16:51:21 kooz1 esmith::event[11915]: S91nextcloud-conf=action|Event|temp|Action|S91nextcloud-conf|Start|1658674279 665827|End|1658674281 238827|Elapsed|1.573
Jul 24 16:51:21 kooz1 esmith::event[11915]: Running event handler: /etc/e-smith/events/temp/S92nextcloud-occ-conf
Jul 24 16:51:21 kooz1 esmith::event[11915]: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "Could not open input...") at /etc/e-smith/events/temp/S92nextcloud-occ-conf line 48.
Jul 24 16:51:21 kooz1 esmith::event[11915]: S92nextcloud-occ-conf=action|Event|temp|Action|S92nextcloud-occ-conf|Start|1658674281 239069|End|1658674281 753024|Elapsed|0.513955|Status|256
Jul 24 16:55:19 kooz1 esmith::event[12693]: Processing event: nextcloud-update
...
Jul 24 17:01:15 kooz1 /etc/e-smith/web/functions/groups[12938]: /home/e-smith/db/accounts: OLD localusers=(undefined)
Jul 24 17:01:15 kooz1 /etc/e-smith/web/functions/groups[12938]: /home/e-smith/db/accounts: NEW localusers=group|Description|util locaux|Members|admin,som
Jul 24 17:01:15 kooz1 esmith::event[12939]: Processing event: group-create localusers
Jul 24 17:01:15 kooz1 esmith::event[12939]: Running event handler: /etc/e-smith/events/group-create/S03pseudonym-cleanup
Jul 24 17:01:15 kooz1 esmith::event[12939]: S03pseudonym-cleanup=action|Event|group-create|Action|S03pseudonym-cleanup|Start|1658674875 92392|End|1658674875 166817|Elapsed|0.074425
Jul 24 17:01:15 kooz1 esmith::event[12939]: Running event handler: /etc/e-smith/events/group-create/S04group-create-unix
Jul 24 17:01:15 kooz1 /etc/e-smith/events/group-create/S04group-create-unix[12941]: /home/e-smith/db/configuration: OLD MinUid=5004
Jul 24 17:01:15 kooz1 /etc/e-smith/events/group-create/S04group-create-unix[12941]: /home/e-smith/db/configuration: NEW MinUid=5005
Jul 24 17:01:15 kooz1 /etc/e-smith/events/group-create/S04group-create-unix[12941]: /home/e-smith/db/accounts: OLD localusers=group|Description|util locaux|Members|admin,som
Jul 24 17:01:15 kooz1 /etc/e-smith/events/group-create/S04group-create-unix[12941]: /home/e-smith/db/accounts: NEW localusers=group|Description|util locaux|Gid|5004|Members|admin,som
Jul 24 17:01:15 kooz1 /etc/e-smith/events/group-create/S04group-create-unix[12941]: /home/e-smith/db/accounts: OLD localusers=group|Description|util locaux|Gid|5004|Members|admin,som
Jul 24 17:01:15 kooz1 /etc/e-smith/events/group-create/S04group-create-unix[12941]: /home/e-smith/db/accounts: NEW localusers=group|Description|util locaux|Gid|5004|Members|admin,som|Uid|5004
Jul 24 17:01:15 kooz1 esmith::event[12939]: useradd: warning: the home directory already exists.
Jul 24 17:01:15 kooz1 esmith::event[12939]: Not copying any file from skel directory into it.
Jul 24 17:01:15 kooz1 esmith::event[12939]: Group localusers successfully added!
Jul 24 17:01:15 kooz1 esmith::event[12939]: User localusers successfully added!
Jul 24 17:01:15 kooz1 esmith::event[12939]: User localusers successfully modified!
Jul 24 17:01:15 kooz1 esmith::event[12939]: User admin successfully modified!
Jul 24 17:01:15 kooz1 esmith::event[12939]: User som successfully modified!
Jul 24 17:01:15 kooz1 esmith::event[12939]: User admin successfully modified!
Jul 24 17:01:15 kooz1 esmith::event[12939]: User www successfully modified!
...
Jul 24 17:02:32 kooz1 esmith::event[13063]: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "Could not open input...") at /etc/e-smith/events/ibay-modify/S30nextcloud-occ-conf line 48.
Jul 24 17:02:32 kooz1 esmith::event[13063]: S30nextcloud-occ-conf=action|Event|ibay-modify|Action|S30nextcloud-occ-conf|Start|1658674951 725084|End|1658674952 25157|Elapsed|0.300073|Status|256
Jul 24 17:02:32 kooz1 esmith::event[13063]: Running event handler: /etc/e-smith/events/actions/adjust-services
Il y a cette erreur "malformed JSON string" qui revient lors des commandes de modifications de groupe et de la baie.
D'avance merci.