Impossibilité d'installer WebApp

fr

#1

Bonjour,
Il m’est impossible d’installer WebApp… J’ai essayé sur plusieurs sous-domaine, et voici le log :

The user was not found

+ echo 'The user was not found'
+ getent passwd ''
+ ynh_system_user_exists ''
+ ynh_system_user_delete
+ systemctl reload ssh
+ sed -i '/##-> my_webapp/,/##<- my_webapp/d' /etc/ssh/sshd_config
+ sudo systemctl reload php5-fpm
/etc/php5/fpm/conf.d/20-my_webapp.ini wasn't deleted because it doesn't exist.
+ echo '/etc/php5/fpm/conf.d/20-my_webapp.ini wasn'\''t deleted because it doesn'\''t exist.'
+ '[' -e /etc/php5/fpm/conf.d/20-my_webapp.ini ']'
+ [[ i = \/ ]]
+ [[ /etc/php5/fpm/conf.d/20-my_webapp.ini =~ ^/[[:alnum:]]+$ ]]
+ [[ /var/www /home/yunohost.app =~ /etc/php5/fpm/conf\.d/20-my_webapp\.ini ]]
+ forbidden_path=' /var/www /home/yunohost.app'
+ path_to_remove=/etc/php5/fpm/conf.d/20-my_webapp.ini
+ ynh_secure_remove /etc/php5/fpm/conf.d/20-my_webapp.ini
+ echo '/etc/php5/fpm/pool.d/my_webapp.conf wasn'\''t deleted because it doesn'\''t exist.'
+ '[' -e /etc/php5/fpm/pool.d/my_webapp.conf ']'
+ [[ f = \/ ]]
+ [[ /etc/php5/fpm/pool.d/my_webapp.conf =~ ^/[[:alnum:]]+$ ]]
+ [[ /var/www /home/yunohost.app =~ /etc/php5/fpm/pool\.d/my_webapp\.conf ]]
+ forbidden_path=' /var/www /home/yunohost.app'
+ path_to_remove=/etc/php5/fpm/pool.d/my_webapp.conf
+ ynh_secure_remove /etc/php5/fpm/pool.d/my_webapp.conf
+ ynh_remove_fpm_config
/etc/php5/fpm/pool.d/my_webapp.conf wasn't deleted because it doesn't exist.
+ sudo systemctl reload nginx
+ echo '/etc/nginx/conf.d/.d/my_webapp.conf wasn'\''t deleted because it doesn'\''t exist.'
+ '[' -e /etc/nginx/conf.d/.d/my_webapp.conf ']'
+ [[ f = \/ ]]
+ [[ /etc/nginx/conf.d/.d/my_webapp.conf =~ ^/[[:alnum:]]+$ ]]
+ [[ /var/www /home/yunohost.app =~ /etc/nginx/conf\.d/\.d/my_webapp\.conf ]]
+ forbidden_path=' /var/www /home/yunohost.app'
+ path_to_remove=/etc/nginx/conf.d/.d/my_webapp.conf
+ ynh_secure_remove /etc/nginx/conf.d/.d/my_webapp.conf
+ ynh_remove_nginx_config
+ echo 'Avoid deleting .'
+ [[ /var/www /home/yunohost.app =~ '' ]]
+ forbidden_path=' /var/www /home/yunohost.app'
+ path_to_remove=
+ ynh_secure_remove ''
/etc/nginx/conf.d/.d/my_webapp.conf wasn't deleted because it doesn't exist.
Avoid deleting .
./remove: ligne 29 : [: -eq : opérateur unaire attendu

#2

Salut,

est-ce que tu as des logs avant ces lignes ?


#3

Je viens de retenter, et ça a marché après avoir supprimé un fichier conf qui persistait dans /etc/nginx.
Par contre, je n’arrive pas à me connecter en SFTP :

Réponse: fzSftp started, protocol_version=8
Commande: open “webapp1@*****.com” 22
Commande: Pass: ****************
Erreur: Network error: Software caused connection abort


#4

Apparemment, c’est une erreur de droit :

Nov 3 16:47:38 *** sshd[18373]: fatal: bad ownership or modes for chroot directory component "/var/www/"
Nov 3 16:47:38 *** sshd[18365]: pam_unix(sshd:session): session closed for user webapp1