My YunoHost server
Hardware: Other ARM board / …
YunoHost version: x.x.x
I have access to my server : Through SSH
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
I am attempting to install the tools of yunohost and I get these messages.
Here are some error messages:
2020-09-06 13:51:45,012: INFO - Installing YunoHost...
2020-09-06 13:51:45,032: DEBUG - No custom hook for action 'conf_regen' in /etc/yunohost/hooks.d/
2020-09-06 13:51:45,043: DEBUG - Executing command 'sh -c YNH_INTERFACE=cli YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpsKTfK1/stdinfo YNH_STDRETURN=/tmp/tmpjP4J8n/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./09-nslcd" pre 1 0 /home/yunohost.conf/pending/nslcd 7>&1'...
2020-09-06 13:51:45,044: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=cli YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpsKTfK1/stdinfo YNH_STDRETURN=/tmp/tmpjP4J8n/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./09-nslcd" pre 1 0 /home/yunohost.conf/pending/nslcd 7>&1']'
2020-09-06 13:51:45,087: DEBUG - + set -e
2020-09-06 13:51:45,092: DEBUG - + FORCE=1
2020-09-06 13:51:45,093: DEBUG - + DRY_RUN=0
2020-09-06 13:51:45,093: DEBUG - + case "$1" in
2020-09-06 13:51:45,093: DEBUG - + do_pre_regen /home/yunohost.conf/pending/nslcd
2020-09-06 13:51:45,093: DEBUG - + pending_dir=/home/yunohost.conf/pending/nslcd
2020-09-06 13:51:45,094: DEBUG - + cd /usr/share/yunohost/templates/nslcd
2020-09-06 13:51:45,094: DEBUG - + install -D -m 644 nslcd.conf /home/yunohost.conf/pending/nslcd/etc/nslcd.conf
2020-09-06 13:51:45,095: DEBUG - + exit 0
2020-09-06 13:51:45,206: DEBUG - Executing command 'sh -c YNH_INTERFACE=cli YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpHMdmAL/stdinfo YNH_STDRETURN=/tmp/tmpEhohkf/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./46-nsswitch" pre 1 0 /home/yunohost.conf/pending/nsswitch 7>&1'...
2020-09-06 13:51:45,206: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=cli YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpHMdmAL/stdinfo YNH_STDRETURN=/tmp/tmpEhohkf/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./46-nsswitch" pre 1 0 /home/yunohost.conf/pending/nsswitch 7>&1']'
2020-09-06 13:51:45,246: DEBUG - + set -e
2020-09-06 13:51:45,255: DEBUG - + FORCE=1
2020-09-06 13:51:45,260: DEBUG - + DRY_RUN=0
2020-09-06 13:51:45,260: DEBUG - + case "$1" in
2020-09-06 13:51:45,260: DEBUG - + do_pre_regen /home/yunohost.conf/pending/nsswitch
2020-09-06 13:51:45,261: DEBUG - + pending_dir=/home/yunohost.conf/pending/nsswitch
2020-09-06 13:51:45,261: DEBUG - + cd /usr/share/yunohost/templates/nsswitch
2020-09-06 13:51:45,261: DEBUG - + install -D -m 644 nsswitch.conf /home/yunohost.conf/pending/nsswitch/etc/nsswitch.conf
2020-09-06 13:51:45,262: DEBUG - + exit 0
2020-09-06 13:51:45,416: DEBUG - Checking pending configuration which would have been applied for category 'nsswitch'…
2020-09-06 13:51:45,420: DEBUG - processing pending conf '/home/yunohost.conf/pending/nsswitch/etc/nsswitch.conf' to system conf '/etc/nsswitch.conf'
2020-09-06 13:51:45,421: DEBUG - > system conf is already up-to-date
2020-09-06 13:51:45,421: DEBUG - The configuration is already up-to-date for category 'nsswitch'
2020-09-06 13:51:45,422: DEBUG - Checking pending configuration which would have been applied for category 'nslcd'…
2020-09-06 13:51:45,425: DEBUG - processing pending conf '/home/yunohost.conf/pending/nslcd/etc/nslcd.conf' to system conf '/etc/nslcd.conf'
2020-09-06 13:51:45,425: DEBUG - > system conf is already up-to-date
2020-09-06 13:51:45,426: DEBUG - The configuration is already up-to-date for category 'nslcd'
2020-09-06 13:51:45,426: DEBUG - No custom hook for action 'conf_regen' in /etc/yunohost/hooks.d/
2020-09-06 13:51:45,429: DEBUG - Executing command 'sh -c YNH_INTERFACE=cli YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpqCTLh7/stdinfo YNH_STDRETURN=/tmp/tmpuFM9mL/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./09-nslcd" post 1 0 '' 7>&1'...
2020-09-06 13:51:45,430: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=cli YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpqCTLh7/stdinfo YNH_STDRETURN=/tmp/tmpuFM9mL/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./09-nslcd" post 1 0 \'\' 7>&1']'
2020-09-06 13:51:45,480: DEBUG - + set -e
2020-09-06 13:51:45,481: DEBUG - + FORCE=1
2020-09-06 13:51:45,482: DEBUG - + DRY_RUN=0
2020-09-06 13:51:45,482: DEBUG - + case "$1" in
2020-09-06 13:51:45,482: DEBUG - + do_post_regen
2020-09-06 13:51:45,483: DEBUG - + regen_conf_files=
2020-09-06 13:51:45,486: DEBUG - + [[ -z '' ]]
2020-09-06 13:51:45,486: DEBUG - + exit 0
2020-09-06 13:51:45,642: DEBUG - Executing command 'sh -c YNH_INTERFACE=cli YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpP21WmQ/stdinfo YNH_STDRETURN=/tmp/tmpuhPETp/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./46-nsswitch" post 1 0 '' 7>&1'...
2020-09-06 13:51:45,642: DEBUG - About to run the command '['sh', '-c', 'YNH_INTERFACE=cli YNH_CWD=/usr/share/yunohost/hooks/conf_regen YNH_STDINFO=/tmp/tmpP21WmQ/stdinfo YNH_STDRETURN=/tmp/tmpuhPETp/stdreturn BASH_XTRACEFD=7 /bin/bash -x "./46-nsswitch" post 1 0 \'\' 7>&1']'
2020-09-06 13:51:45,681: DEBUG - + set -e
2020-09-06 13:51:45,683: DEBUG - + FORCE=1
2020-09-06 13:51:45,691: DEBUG - + DRY_RUN=0
2020-09-06 13:51:45,692: DEBUG - + case "$1" in
2020-09-06 13:51:45,692: DEBUG - + do_post_regen
2020-09-06 13:51:45,693: DEBUG - + regen_conf_files=
2020-09-06 13:51:45,693: DEBUG - + [[ -z '' ]]
2020-09-06 13:51:45,693: DEBUG - + exit 0
2020-09-06 13:51:45,804: DEBUG - To view the log of the operation 'Regenerate system configurations '2_categories'', use the command 'yunohost log display 20200906-135145-regen_conf-2_categories'
2020-09-06 13:51:45,948: WARNING - Error when trying to inject 'ou=users' -> '{'objectClass': ['organizationalUnit', 'top'], 'ou': 'users'}' into ldap: error during LDAP add operation with: rdn='ou=users', attr_dict={'objectClass': ['organizationalUnit', 'top'], 'ou': 'users'} and exception {'desc': u'No such object'}
2020-09-06 13:51:45,950: WARNING - Error when trying to inject 'ou=domains' -> '{'objectClass': ['organizationalUnit', 'top'], 'ou': 'domains'}' into ldap: error during LDAP add operation with: rdn='ou=domains', attr_dict={'objectClass': ['organizationalUnit', 'top'], 'ou': 'domains'} and exception {'desc': u'No such object'}
2020-09-06 13:51:45,953: WARNING - Error when trying to inject 'ou=groups' -> '{'objectClass': ['organizationalUnit', 'top'], 'ou': 'groups'}' into ldap: error during LDAP add operation with: rdn='ou=groups', attr_dict={'objectClass': ['organizationalUnit', 'top'], 'ou': 'groups'} and exception {'desc': u'No such object'}
2020-09-06 13:51:45,954: WARNING - Error when trying to inject 'ou=sudo' -> '{'objectClass': ['organizationalUnit', 'top'], 'ou': 'sudo'}' into ldap: error during LDAP add operation with: rdn='ou=sudo', attr_dict={'objectClass': ['organizationalUnit', 'top'], 'ou': 'sudo'} and exception {'desc': u'No such object'}
2020-09-06 13:51:45,956: WARNING - Error when trying to inject 'ou=apps' -> '{'objectClass': ['organizationalUnit', 'top'], 'ou': 'apps'}' into ldap: error during LDAP add operation with: rdn='ou=apps', attr_dict={'objectClass': ['organizationalUnit', 'top'], 'ou': 'apps'} and exception {'desc': u'No such object'}
2020-09-06 13:51:45,958: WARNING - Error when trying to inject 'ou=permission' -> '{'objectClass': ['organizationalUnit', 'top'], 'ou': 'permission'}' into ldap: error during LDAP add operation with: rdn='ou=permission', attr_dict={'objectClass': ['organizationalUnit', 'top'], 'ou': 'permission'} and exception {'desc': u'No such object'}
2020-09-06 13:51:45,960: WARNING - Error when trying to inject 'cn=visitors,ou=groups' -> '{'objectClass': ['posixGroup', 'groupOfNamesYnh'], 'gidNumber': '4003', 'cn': 'visitors'}' into ldap: error during LDAP add operation with: rdn='cn=visitors,ou=groups', attr_dict={'objectClass': ['posixGroup', 'groupOfNamesYnh'], 'gidNumber': '4003', 'cn': 'visitors'} and exception {'desc': u'No such object'}
2020-09-06 13:51:45,962: WARNING - Error when trying to inject 'cn=all_users,ou=groups' -> '{'objectClass': ['posixGroup', 'groupOfNamesYnh'], 'gidNumber': '4002', 'cn': 'all_users'}' into ldap: error during LDAP add operation with: rdn='cn=all_users,ou=groups', attr_dict={'objectClass': ['posixGroup', 'groupOfNamesYnh'], 'gidNumber': '4002', 'cn': 'all_users'} and exception {'desc': u'No such object'}
2020-09-06 13:51:45,964: WARNING - Error when trying to inject 'cn=admins,ou=groups' -> '{'objectClass': ['posixGroup', 'top'], 'memberUid': 'admin', 'gidNumber': '4001', 'cn': 'admins'}' into ldap: error during LDAP add operation with: rdn='cn=admins,ou=groups', attr_dict={'objectClass': ['posixGroup', 'top'], 'memberUid': 'admin', 'gidNumber': '4001', 'cn': 'admins'} and exception {'desc': u'No such object'}
2020-09-06 13:51:45,966: WARNING - Error when trying to inject 'cn=admin,ou=sudo' -> '{'cn': 'admin', 'sudoCommand': 'ALL', 'sudoUser': 'admin', 'objectClass': ['sudoRole', 'top'], 'sudoOption': '!authenticate', 'sudoHost': 'ALL'}' into ldap: error during LDAP add operation with: rdn='cn=admin,ou=sudo', attr_dict={'cn': 'admin', 'sudoCommand': 'ALL', 'sudoUser': 'admin', 'objectClass': ['sudoRole', 'top'], 'sudoOption': '!authenticate', 'sudoHost': 'ALL'} and exception {'desc': u'No such object'}
2020-09-06 13:51:45,968: WARNING - Error when trying to inject 'cn=mail.main,ou=permission' -> '{'objectClass': ['posixGroup', 'permissionYnh'], 'gidNumber': '5001', 'groupPermission': ['cn=all_users,ou=groups,dc=yunohost,dc=org'], 'cn': 'mail.main'}' into ldap: error during LDAP add operation with: rdn='cn=mail.main,ou=permission', attr_dict={'objectClass': ['posixGroup', 'permissionYnh'], 'gidNumber': '5001', 'groupPermission': ['cn=all_users,ou=groups,dc=yunohost,dc=org'], 'cn': 'mail.main'} and exception {'info': u'adding non-existing object as group member', 'desc': u'Constraint violation'}
2020-09-06 13:51:45,970: WARNING - Error when trying to inject 'cn=xmpp.main,ou=permission' -> '{'objectClass': ['posixGroup', 'permissionYnh'], 'gidNumber': '5002', 'groupPermission': ['cn=all_users,ou=groups,dc=yunohost,dc=org'], 'cn': 'xmpp.main'}' into ldap: error during LDAP add operation with: rdn='cn=xmpp.main,ou=permission', attr_dict={'objectClass': ['posixGroup', 'permissionYnh'], 'gidNumber': '5002', 'groupPermission': ['cn=all_users,ou=groups,dc=yunohost,dc=org'], 'cn': 'xmpp.main'} and exception {'info': u'adding non-existing object as group member', 'desc': u'Constraint violation'}
Thanks and regards,
Jimmy