My YunoHost server
Hardware: VPS bought online
YunoHost version: 4.1.4.1 (stable).
I have access to my server : Through SSH and through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : yes
If yes, please explain: I restored the full backup from the version 3.x on 4.x as i had just installed the newest version
Description of my issue
I have updated my server from debian9 to debian10 and installed the latest YUNOHOST version. After that i restored all backups. The backup told me that it couldnât install the getgrav app as it doesnât exist. I went for the application site in the webadmin and tried to install the app. It had an ldap error with the permission. The diagnose tool told me that some of the conf files had to be overwriten by the ârecreateâ command. I did as told but now i get the error: âFailed to get label for app grav?â and it runs forever.
I know now after checking the shell that a grav app was installed. I removed the app and tried to reinstall it again via the webadmin. This failed with this log message:
args:
app: grav
args: domain=blog.maindomain.tld&path=%2Fgrav&admin=8nvx3j8rcg7acg9z7dq62t&is_public=1&language=en_EN
force: false
label: Grav
no_remove_on_failure: false
ended_at: 2021-01-09 13:05:52.986002
error: 'Could not create permission ''grav.main'': error during LDAP add operation
with: rdn=''cn=grav.main,ou=permission'', attr_dict={''cn'': ''grav.main'', ''objectClass'':
[''top'', ''permissionYnh'', ''posixGroup''], ''isProtected'': [''FALSE''], ''showTile'':
[''FALSE''], ''gidNumber'': ''79520'', ''label'': [''Grav''], ''authHeader'': [''TRUE'']}
and exception {''info'': u''isProtected: attribute type undefined'', ''desc'': u''Undefined
attribute type''}'
interface: api
operation: app_install
parent: null
related_to:
- - app
- grav
started_at: 2021-01-09 13:05:52.875603
success: false
yunohost_version: 4.1.4.1
============
2021-01-09 14:05:52,890: INFO - grav wird installiert...
2021-01-09 14:05:52,969: INFO - <strong>Der Vorgang konnte nicht abgeschlossen werden 'Create permission 'grav''. Bitte gib das vollstÀndige Protokoll dieser Operation mit <a href="#/tools/logs/20210109-130552-permission_create-grav">Klicken Sie hier</a> an, um Hilfe zu erhalten</strong>
when i try different apps i get the same error.
It seems i have a problem with ldap. I will look in the forum and search for a solution or does someone know how to fix this problem with ldap?
Edit: I edited this post after my discoveries.
Mon serveur YunoHost
Matériel: VPS acheté en ligne
YunoHost version: 4.1.4.1 (stable).
Jâai accĂšs Ă mon serveur : Par SSH et par le webadmin
**Ătes-vous dans un contexte particulier ou avez-vous effectuĂ© des modifications particuliĂšres sur votre instance YunoHost ?
Si oui, veuillez expliquer: Jâai restaurĂ© la sauvegarde complĂšte de la version 3.x sur 4.x car je venais dâinstaller la derniĂšre version
Description de mon problĂšme
Jâai mis Ă jour mon serveur de debian9 Ă debian10 et jâai installĂ© la derniĂšre version de YUNOHOST. AprĂšs cela, jâai restaurĂ© toutes les sauvegardes. La sauvegarde mâa dit quâelle ne pouvait pas installer lâapplication getgrav car elle nâexiste pas. Je suis allĂ© sur le site de lâapplication dans le webadmin et jâai essayĂ© dâinstaller lâapplication. Il y avait une erreur ldap avec la permission. Lâoutil de diagnostic mâa dit que certains des fichiers de configuration devaient ĂȘtre Ă©crasĂ©s par la commande ârecreateâ. Jâai fait ce qui mâa Ă©tĂ© dit, mais maintenant je reçois lâerreur : âImpossible dâobtenir lâĂ©tiquette pour lâapplicationâ et ça marche pour toujours.
Je sais maintenant, aprĂšs avoir vĂ©rifiĂ© le shell, quâune application grav a Ă©tĂ© installĂ©e. Jâai supprimĂ© lâapplication et jâai essayĂ© de la rĂ©installer via le webadmin. Cela a Ă©chouĂ© avec ce message de journal :
args:
app: grav
args: domain=blog.maindomain.tld&path=%2Fgrav&admin=8nvx3j8rcg7acg9z7dq62t&is_public=1&language=en_EN
force: false
label: Grav
no_remove_on_failure: false
ended_at: 2021-01-09 13:05:52.986002
error: 'Could not create permission ''grav.main'': error during LDAP add operation
with: rdn=''cn=grav.main,ou=permission'', attr_dict={''cn'': ''grav.main'', ''objectClass'':
[''top'', ''permissionYnh'', ''posixGroup''], ''isProtected'': [''FALSE''], ''showTile'':
[''FALSE''], ''gidNumber'': ''79520'', ''label'': [''Grav''], ''authHeader'': [''TRUE'']}
and exception {''info'': u''isProtected: attribute type undefined'', ''desc'': u''Undefined
attribute type''}'
interface: api
operation: app_install
parent: null
related_to:
- - app
- grav
started_at: 2021-01-09 13:05:52.875603
success: false
yunohost_version: 4.1.4.1
============
2021-01-09 14:05:52,890: INFO - grav wird installiert...
2021-01-09 14:05:52,969: INFO - <strong>Der Vorgang konnte nicht abgeschlossen werden 'Create permission 'grav''. Bitte gib das vollstÀndige Protokoll dieser Operation mit <a href="#/tools/logs/20210109-130552-permission_create-grav">Klicken Sie hier</a> an, um Hilfe zu erhalten</strong>
Il semble que jâaie un problĂšme avec la ldap. Je vais regarder dans le forum et chercher une solution ou quelquâun sait-il comment rĂ©gler ce problĂšme avec ldap ?
Edit : Jâai Ă©ditĂ© ce post aprĂšs mes dĂ©couvertes.