Excuse-moi, il y a encore ce log avec pour titre
Chemin
/var/log/yunohost/categories/operation/20200327-103006-tools_migrations_migrate_forward.log
Début
27 mars 2020 à 11:30
Fin
27 mars 2020 à 11:30
Erreur
Ce journal a fini avec l’erreur : Migration 0011_setup_group_permission did not complete, aborting. Error: Group xxxxxxxx already exists in the system groups
Le contenu de ce log est le suivant:
2020-03-27 11:30:08,981: DEBUG - processing pending conf ‘/home/yunohost.conf/pending/slapd/etc/default/slapd’ to system conf ‘/etc/default/slapd’
2020-03-27 11:30:08,982: DEBUG - > system conf is already up-to-date
2020-03-27 11:30:08,982: DEBUG - processing pending conf ‘/home/yunohost.conf/pending/slapd/etc/ldap/schema/sudo.schema’ to system conf ‘/etc/ldap/schema/sudo.schema’
2020-03-27 11:30:08,983: DEBUG - > system conf is already up-to-date
2020-03-27 11:30:08,984: DEBUG - processing pending conf ‘/home/yunohost.conf/pending/slapd/etc/ldap/ldap.conf’ to system conf ‘/etc/ldap/ldap.conf’
2020-03-27 11:30:08,985: DEBUG - > system conf is already up-to-date
2020-03-27 11:30:08,986: DEBUG - The configuration is already up-to-date for category ‘slapd’
2020-03-27 11:30:08,988: DEBUG - No custom hook for action ‘conf_regen’ in /etc/yunohost/hooks.d/
2020-03-27 11:30:08,993: DEBUG - Executing command ‘sh -c YNH_INTERFACE=cli YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpZemY9r/stdinfo YNH_STDRETURN=/tmp/tmpVfbQ2E/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./06-slapd” post 1 0 ‘’ 7>&1’…
2020-03-27 11:30:08,994: DEBUG - About to run the command ‘[‘sh’, ‘-c’, ‘YNH_INTERFACE=cli YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpZemY9r/stdinfo YNH_STDRETURN=/tmp/tmpVfbQ2E/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./06-slapd” post 1 0 ‘’ 7>&1’]’
2020-03-27 11:30:09,051: DEBUG - + set -e
2020-03-27 11:30:09,054: DEBUG - + tmp_backup_dir_file=/tmp/slapd-backup-dir.txt
2020-03-27 11:30:09,056: DEBUG - + FORCE=1
2020-03-27 11:30:09,058: DEBUG - + DRY_RUN=0
2020-03-27 11:30:09,059: DEBUG - + case “$1” in
2020-03-27 11:30:09,060: DEBUG - + do_post_regen
2020-03-27 11:30:09,061: DEBUG - + regen_conf_files=
2020-03-27 11:30:09,062: DEBUG - + mkdir -p /etc/ldap/slapd.d
2020-03-27 11:30:09,063: DEBUG - + echo ‘Making sure we have the right permissions needed …’
2020-03-27 11:30:09,064: DEBUG - Making sure we have the right permissions needed …
2020-03-27 11:30:09,065: DEBUG - + usermod -aG ssl-cert openldap
2020-03-27 11:30:09,066: DEBUG - + chown root:openldap /etc/ldap/slapd.conf
2020-03-27 11:30:09,169: DEBUG - + chown -R openldap:openldap /etc/ldap/schema/
2020-03-27 11:30:09,170: DEBUG - + chown -R openldap:openldap /etc/ldap/slapd.d/
2020-03-27 11:30:09,172: DEBUG - + chown -R root:ssl-cert /etc/yunohost/certs/yunohost.org/
2020-03-27 11:30:09,173: DEBUG - + chmod o-rwx /etc/yunohost/certs/yunohost.org/
2020-03-27 11:30:09,174: DEBUG - + ‘[’ -z ‘’ ‘]’
2020-03-27 11:30:09,175: DEBUG - + exit 0
2020-03-27 11:30:09,235: DEBUG - To view the log of the operation ‘Regenerate system configurations ‘slapd’’, use the command ‘yunohost log display 20200327-103008-regen_conf-slapd’
2020-03-27 11:30:09,245: INFO - Updating LDAP database…
2020-03-27 11:30:09,341: DEBUG - ou=permission does not exist, no need to delete it
2020-03-27 11:30:09,343: DEBUG - Deleting old object cn=sftpusers,ou=groups …
2020-03-27 11:30:09,345: DEBUG - Deleting old object cn=admins,ou=groups …
2020-03-27 11:30:09,348: DEBUG - Deleting old object ou=groups …
2020-03-27 11:30:09,356: INFO - Creating a group for each user…
2020-03-27 11:30:09,370: WARNING - Could not migrate… trying to roll back the system.
2020-03-27 11:30:10,788: INFO - System rolled back.
2020-03-27 11:30:10,790: ERROR - Migration 0011_setup_group_permission did not complete, aborting. Error: Group xxxxxxxxxx already exists in the system groups
Traceback (most recent call last):
File “/usr/lib/moulinette/yunohost/tools.py”, line 1128, in tools_migrations_migrate
migration.run()
File “/usr/lib/moulinette/yunohost/data_migrations/0011_setup_group_permission.py”, line 158, in run
self.migrate_LDAP_db()
File “/usr/lib/moulinette/yunohost/data_migrations/0011_setup_group_permission.py”, line 93, in migrate_LDAP_db
user_group_create(username, gid=user_info[‘uidNumber’][0], primary_group=True, sync_perm=False)
File “/usr/lib/moulinette/yunohost/log.py”, line 287, in func_wrapper
result = func(*args, **kwargs)
File “/usr/lib/moulinette/yunohost/user.py”, line 579, in user_group_create
raise YunohostError(‘group_already_exist_on_system’, group=groupname)
YunohostError: Group xxxxxxxxxx already exists in the system groups