Bonjour,
Matériel: VPS OVH
Version de YunoHost: 4.3.6.3 (stable)
J’ai accès à mon serveur : En SSH | Par la webadmin |
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Bonjour
Impossible d’installer la dernière mise à jour de Wordpress
Il la lance et plante lors du backup avant mise à jour
# yunohost app upgrade wordpress__2
Info: Now upgrading wordpress__2...
Info: [+...................] > Loading installation settings...
Info: [#+..................] > Checking version...
Info: [##+++++.............] > Backing up the app before upgrading (may take a while)...
Info: [#######.............] > Activating maintenance mode...
Info: [#######+............] > Ensuring downward compatibility...
Warning: The group 'crust' is unknown
Warning: [Error] Upgrade failed.
Warning: The app was restored to the way it was before the failed upgrade.
Error: Could not upgrade wordpress__2: An error occurred inside the app upgrade script
Info: The operation 'Upgrade the 'wordpress__2' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20220706-102428-app_upgrade-wordpress__2' to get help
Warning: Here's an extract of the logs before the crash. It might help debugging the error:
Info: DEBUG - + jq -e --arg perm wordpress__2.admin '.permissions[$perm]'
Info: DEBUG - + yunohost user permission list wordpress__2 --output-as json --quiet
Info: DEBUG - + ynh_permission_create --permission=admin --url=/wp-login.php --additional_urls=/wp-admin.php --allowed=crust
Info: DEBUG - + url=/wp-login.php
Info: DEBUG - + additional_urls=/wp-admin.php
Info: DEBUG - + auth_header=
Info: DEBUG - + allowed=crust
Info: DEBUG - + label=
Info: DEBUG - + show_tile=
Info: DEBUG - + protected=
Info: DEBUG - + [[ -n /wp-login.php ]]
Info: DEBUG - + url=',url='\''/wp-login.php'\'''
Info: DEBUG - + [[ -n /wp-admin.php ]]
Info: DEBUG - + additional_urls=',additional_urls=['\''/wp-admin.php'\'']'
Info: DEBUG - + [[ -n crust ]]
Info: DEBUG - + allowed=',allowed=['\''crust'\'']'
Info: DEBUG - + label=',label='\''admin'\'''
Info: DEBUG - + yunohost tools shell -c 'from yunohost.permission import permission_create; permission_create('\''wordpress__2.admin'\'' ,url='\''/wp-login.php'\'' ,additional_urls=['\''/wp-admin.php'\''] ,allowed=['\''crust'\''] ,label='\''admin'\'' )'
Info: WARNING - The group 'crust' is unknown
Info: DEBUG - + ynh_exit_properly
Error: The operation 'Upgrade the 'wordpress__2' app' could not be completed. Please share the full log of this operation using the command 'yunohost log share 20220706-102428-app_upgrade-wordpress__2' to get help
Le soucis est là :
Info: DEBUG - + yunohost tools shell -c 'from yunohost.permission import permission_create; permission_create('\''wordpress__2.admin'\'' ,url='\''/wp-login.php'\'' ,additional_urls=['\''/wp-admin.php'\''] ,allowed=['\''crust'\''] ,label='\''admin'\'' )'
L’utilisateur crust (que l’on voit dans la ligne allowed=[’’‘crust’’’] ne fait plus partie des users du système, son compte yonohost a été supprimé
Le plus bizarre c’est que si je lance le backup via l’interface web, il se déroule sans soucis
J’ai également ce pastebinit
https://paste.yunohost.org/raw/okocupezew
Je pense que si je recrée un user du nom “crust” ça devrait le faire, mais j’aimerais autant qu’il soit supprimé définitivement
D’avance merci