J’avais fermé la web admin entre temps, et le pacman m’empêchait toujours de me loguer, donc j’ai effectivement relancé le service pour pouvoir aller voir les journaux… Du coup, je confirme que Pleroma est bien toujours listé dans les applis installées. Et le journal de la dernière tentative de désinstallation me laisse perplexe :
2021-02-27 23:21:01,595: INFO - Suppression de pleroma…
2021-02-27 23:21:01,744: DEBUG - Executing command ‘sh -c YNH_APP_INSTANCE_NUMBER=1 YNH_CWD=/tmp/yunohost_remove/scripts YNH_APP_MANIFEST_VERSION=‘2.2.2~ynh1’ YNH_STDINFO=/tmp/tmpzGssAx/stdinfo YNH_APP_INSTANCE_NAME=pleroma YNH_INTERFACE=api YNH_APP_ID=pleroma YNH_STDRETURN=/tmp/tmpLv33Mr/stdreturn BASH_XTRACEFD=7 /bin/bash -x “./remove” pleroma 7>&1’
2021-02-27 23:21:01,759: DEBUG - + source common.sh
2021-02-27 23:21:01,759: DEBUG - ++ pkg_dependencies=‘curl unzip libncurses5 postgresql postgresql-contrib imagemagick ffmpeg exiftool libimage-exiftool-perl’
2021-02-27 23:21:01,759: DEBUG - + source /usr/share/yunohost/helpers
2021-02-27 23:21:01,760: DEBUG - +++ set +o
2021-02-27 23:21:01,760: DEBUG - +++ grep xtrace
2021-02-27 23:21:01,760: DEBUG - ++ readonly ‘XTRACE_ENABLE=set -o xtrace’
2021-02-27 23:21:01,760: DEBUG - ++ XTRACE_ENABLE=‘set -o xtrace’
2021-02-27 23:21:01,862: DEBUG - + echo ‘[+…] > Loading installation settings…’
2021-02-27 23:21:01,862: DEBUG - + app=pleroma
2021-02-27 23:21:01,863: DEBUG - ++ ynh_app_setting_get --app=pleroma --key=domain
2021-02-27 23:21:01,965: DEBUG - ++ [[ domain =~ (unprotected|protected|skipped) ]]
2021-02-27 23:21:01,965: INFO - [+…] > Loading installation settings…
2021-02-27 23:21:01,966: DEBUG - ++ ynh_app_setting get pleroma domain
2021-02-27 23:21:01,967: DEBUG - + domain=www.fadrienn.irlnc.org
2021-02-27 23:21:01,967: DEBUG - ++ ynh_app_setting_get --app=pleroma --key=port
2021-02-27 23:21:02,069: DEBUG - ++ [[ port =~ (unprotected|protected|skipped)_ ]]
2021-02-27 23:21:02,069: DEBUG - ++ ynh_app_setting get pleroma port
2021-02-27 23:21:02,070: DEBUG - + port=8095
2021-02-27 23:21:02,070: DEBUG - ++ ynh_app_setting_get --app=pleroma --key=db_name
2021-02-27 23:21:02,172: DEBUG - ++ [[ db_name =~ (unprotected|protected|skipped)_ ]]
2021-02-27 23:21:02,173: DEBUG - ++ ynh_app_setting get pleroma db_name
2021-02-27 23:21:02,173: DEBUG - + db_name=pleroma
2021-02-27 23:21:02,173: DEBUG - + db_user=pleroma
2021-02-27 23:21:02,174: DEBUG - ++ ynh_app_setting_get --app=pleroma --key=final_path
2021-02-27 23:21:02,276: DEBUG - ++ [[ final_path =~ (unprotected|protected|skipped)_ ]]
2021-02-27 23:21:02,276: DEBUG - ++ ynh_app_setting get pleroma final_path
2021-02-27 23:21:02,276: DEBUG - + final_path=/var/www/pleroma
2021-02-27 23:21:02,276: DEBUG - ++ ynh_app_setting_get --app=pleroma --key=datadir
2021-02-27 23:21:02,277: DEBUG - ++ [[ datadir =~ (unprotected|protected|skipped)_ ]]
2021-02-27 23:21:02,278: DEBUG - ++ ynh_app_setting get pleroma datadir
2021-02-27 23:21:02,378: DEBUG - + datadir=
2021-02-27 23:21:02,378: DEBUG - + ynh_exec_warn_less yunohost service status pleroma
2021-02-27 23:21:02,378: DEBUG - + eval yunohost service status pleroma
2021-02-27 23:21:02,378: DEBUG - ++ yunohost service status pleroma
2021-02-27 23:21:02,581: DEBUG - + echo ‘[#++…] > Stopping all pleroma services…’
2021-02-27 23:21:02,581: DEBUG - + ynh_systemd_action --service_name=pleroma --action=stop --log_path=systemd ‘–line_match=Stopped pleroma’
2021-02-27 23:21:02,786: DEBUG - + service_name=pleroma
2021-02-27 23:21:02,788: WARNING - Failed to stop pleroma.service: Unit pleroma.service not loaded.
2021-02-27 23:21:02,789: INFO - [#++…] > Stopping all pleroma services…
2021-02-27 23:21:02,789: DEBUG - + action=stop
2021-02-27 23:21:02,789: WARNING - [Error]
2021-02-27 23:21:02,790: DEBUG - + line_match=‘Stopped pleroma’
2021-02-27 23:21:02,790: WARNING - pkill: invalid user name: pleroma
2021-02-27 23:21:02,790: DEBUG - + length=20
2021-02-27 23:21:02,791: DEBUG - + log_path=systemd
2021-02-27 23:21:02,791: DEBUG - + timeout=300
2021-02-27 23:21:02,791: DEBUG - + [[ -n Stopped pleroma ]]
2021-02-27 23:21:02,791: DEBUG - ++ mktemp
2021-02-27 23:21:02,791: DEBUG - + local templog=/tmp/tmp.Yz44j4dRX1
2021-02-27 23:21:02,792: DEBUG - + ‘[’ systemd == systemd ‘]’
2021-02-27 23:21:02,792: DEBUG - + local pid_tail=5394
2021-02-27 23:21:02,792: DEBUG - + ‘[’ stop == reload ‘]’
2021-02-27 23:21:02,792: DEBUG - + systemctl stop pleroma
2021-02-27 23:21:02,792: DEBUG - + journalctl --unit=pleroma --follow --since=-0 --quiet
2021-02-27 23:21:02,792: DEBUG - + ynh_exec_err journalctl --quiet --no-hostname --no-pager --lines=20 --unit=pleroma
2021-02-27 23:21:02,793: DEBUG - ++ eval journalctl --quiet --no-hostname --no-pager --lines=20 --unit=pleroma
2021-02-27 23:21:02,793: DEBUG - +++ journalctl --quiet --no-hostname --no-pager --lines=20 --unit=pleroma
2021-02-27 23:21:02,793: DEBUG - + ynh_print_err ‘’
2021-02-27 23:21:02,794: DEBUG - + ynh_print_log ‘[Error] ’
2021-02-27 23:21:02,794: DEBUG - + echo -e ‘[Error] ’
2021-02-27 23:21:02,795: DEBUG - + ‘[’ -e systemd ‘]’
2021-02-27 23:21:02,795: DEBUG - + return 1
2021-02-27 23:21:02,795: DEBUG - + pkill -u pleroma
2021-02-27 23:21:02,896: INFO - [###++…] > Stopping and removing the systemd service…
2021-02-27 23:21:02,897: DEBUG - + echo ‘[###++…] > Stopping and removing the systemd service…’
2021-02-27 23:21:02,898: DEBUG - + ynh_remove_systemd_config
2021-02-27 23:21:02,899: DEBUG - + local service=pleroma
2021-02-27 23:21:02,899: DEBUG - + local finalsystemdconf=/etc/systemd/system/pleroma.service
2021-02-27 23:21:02,900: DEBUG - + ‘[’ -e /etc/systemd/system/pleroma.service ‘]’
2021-02-27 23:21:02,901: DEBUG - + echo ‘[#####+…] > Removing the PostgreSQL database…’
2021-02-27 23:21:02,902: DEBUG - + ynh_psql_remove_db --db_user=pleroma --db_name=pleroma
2021-02-27 23:21:03,004: DEBUG - + ynh_psql_database_exists --database=pleroma
2021-02-27 23:21:03,004: INFO - [#####+…] > Removing the PostgreSQL database…
2021-02-27 23:21:03,006: DEBUG - + grep --quiet pleroma
2021-02-27 23:21:03,006: DEBUG - ++ cat /etc/yunohost/psql
2021-02-27 23:21:03,006: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql -tAc ‘SELECT datname FROM pg_database WHERE datname=’'‘pleroma’'’;’
2021-02-27 23:21:03,107: DEBUG - + return 1
2021-02-27 23:21:03,107: WARNING - Database pleroma not found
2021-02-27 23:21:03,108: DEBUG - + ynh_print_warn ‘–message=Database pleroma not found’
2021-02-27 23:21:03,109: DEBUG - + ynh_print_log ‘Database pleroma not found’
2021-02-27 23:21:03,109: DEBUG - + echo -e ‘Database pleroma not found’
2021-02-27 23:21:03,109: DEBUG - + ynh_psql_user_exists --user=pleroma
2021-02-27 23:21:03,110: DEBUG - + grep --quiet pleroma
2021-02-27 23:21:03,110: DEBUG - ++ cat /etc/yunohost/psql
2021-02-27 23:21:03,110: DEBUG - + sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql -tAc ‘SELECT rolname FROM pg_roles WHERE rolname=’'‘pleroma’'‘;’
2021-02-27 23:21:03,210: DEBUG - + return 1
2021-02-27 23:21:03,210: WARNING - User pleroma not found
2021-02-27 23:21:03,211: DEBUG - + ynh_print_warn ‘–message=User pleroma not found’
2021-02-27 23:21:03,213: DEBUG - + ynh_print_log ‘User pleroma not found’
2021-02-27 23:21:03,213: DEBUG - + echo -e ‘User pleroma not found’
2021-02-27 23:21:03,213: INFO - [######++…] > Removing dependencies…
2021-02-27 23:21:03,215: DEBUG - + echo ‘[######++…] > Removing dependencies…’
2021-02-27 23:21:03,215: DEBUG - + ynh_remove_app_dependencies
2021-02-27 23:21:03,216: DEBUG - + local dep_app=pleroma
2021-02-27 23:21:03,216: DEBUG - + ynh_package_autopurge pleroma-ynh-deps
2021-02-27 23:21:03,216: DEBUG - + ynh_apt autoremove --purge pleroma-ynh-deps
2021-02-27 23:21:03,216: DEBUG - + ynh_wait_dpkg_free
2021-02-27 23:21:03,417: DEBUG - + return 0
2021-02-27 23:21:03,417: DEBUG - + LC_ALL=C
2021-02-27 23:21:03,417: DEBUG - + DEBIAN_FRONTEND=noninteractive
2021-02-27 23:21:03,417: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 autoremove --purge pleroma-ynh-deps
2021-02-27 23:21:03,418: DEBUG - Reading package lists…
2021-02-27 23:21:03,518: DEBUG - Building dependency tree…
2021-02-27 23:21:03,518: DEBUG - Reading state information…
2021-02-27 23:21:03,619: WARNING - E: Unable to locate package pleroma-ynh-deps
2021-02-27 23:21:03,621: DEBUG - + echo ‘[########++…] > Removing app main directory…’
2021-02-27 23:21:03,622: DEBUG - + ynh_secure_remove --file=/var/www/pleroma
2021-02-27 23:21:03,623: DEBUG - + local ‘forbidden_path= /var/www /home/yunohost.app’
2021-02-27 23:21:03,623: DEBUG - + ‘[’ 1 -ge 2 ‘]’
2021-02-27 23:21:03,624: DEBUG - + [[ -z /var/www/pleroma ]]
2021-02-27 23:21:03,624: DEBUG - + [[ /var/www /home/yunohost.app =~ /var/www/pleroma ]]
2021-02-27 23:21:03,624: DEBUG - + [[ /var/www/pleroma =~ ^/[[:alnum:]]+$ ]]
2021-02-27 23:21:03,624: DEBUG - + [[ a = / ]]
2021-02-27 23:21:03,624: DEBUG - + ‘[’ -e /var/www/pleroma ‘]’
2021-02-27 23:21:03,624: DEBUG - + ynh_print_info ‘–message=’'‘/var/www/pleroma’'’ wasn’'‘t deleted because it doesn’'‘t exist.’
2021-02-27 23:21:03,725: DEBUG - + echo ‘’'‘/var/www/pleroma’'’ wasn’'‘t deleted because it doesn’'‘t exist.’
2021-02-27 23:21:03,725: INFO - [########++…] > Removing app main directory…
2021-02-27 23:21:03,726: INFO - ‘/var/www/pleroma’ wasn’t deleted because it doesn’t exist.
2021-02-27 23:21:03,727: DEBUG - + echo ‘[##########+…] > Removing nginx web server configuration…’
2021-02-27 23:21:03,727: DEBUG - + ynh_remove_nginx_config
2021-02-27 23:21:03,728: DEBUG - + ynh_secure_remove --file=/etc/nginx/conf.d/www.fadrienn.irlnc.org.d/pleroma.conf
2021-02-27 23:21:03,729: DEBUG - + local ‘forbidden_path= /var/www /home/yunohost.app’
2021-02-27 23:21:03,729: DEBUG - + ‘[’ 1 -ge 2 ‘]’
2021-02-27 23:21:03,729: DEBUG - + [[ -z /etc/nginx/conf.d/www.fadrienn.irlnc.org.d/pleroma.conf ]]
2021-02-27 23:21:03,729: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/nginx/conf.d/www.fadrienn.irlnc.org.d/pleroma.conf ]]
2021-02-27 23:21:03,729: DEBUG - + [[ /etc/nginx/conf.d/www.fadrienn.irlnc.org.d/pleroma.conf =~ ^/[[:alnum:]]+$ ]]
2021-02-27 23:21:03,730: DEBUG - + [[ f = / ]]
2021-02-27 23:21:03,730: DEBUG - + ‘[’ -e /etc/nginx/conf.d/www.fadrienn.irlnc.org.d/pleroma.conf ‘]’
2021-02-27 23:21:03,730: DEBUG - + ynh_print_info ‘–message=’'‘/etc/nginx/conf.d/www.fadrienn.irlnc.org.d/pleroma.conf’'’ wasn’'‘t deleted because it doesn’'‘t exist.’
2021-02-27 23:21:03,731: DEBUG - + echo ‘’'‘/etc/nginx/conf.d/www.fadrienn.irlnc.org.d/pleroma.conf’'’ wasn’'‘t deleted because it doesn’'‘t exist.’
2021-02-27 23:21:03,731: DEBUG - + ynh_systemd_action --service_name=nginx --action=reload
2021-02-27 23:21:03,834: DEBUG - + service_name=nginx
2021-02-27 23:21:03,834: INFO - [##########+…] > Removing nginx web server configuration…
2021-02-27 23:21:03,835: DEBUG - + action=reload
2021-02-27 23:21:03,835: INFO - ‘/etc/nginx/conf.d/www.fadrienn.irlnc.org.d/pleroma.conf’ wasn’t deleted because it doesn’t exist.
2021-02-27 23:21:03,836: DEBUG - + line_match=
2021-02-27 23:21:03,836: DEBUG - + length=20
2021-02-27 23:21:03,836: DEBUG - + log_path=/var/log/nginx/nginx.log
2021-02-27 23:21:03,836: DEBUG - + timeout=300
2021-02-27 23:21:03,837: DEBUG - + [[ -n ‘’ ]]
2021-02-27 23:21:03,837: DEBUG - + ‘[’ reload == reload ‘]’
2021-02-27 23:21:03,837: DEBUG - + action=reload-or-restart
2021-02-27 23:21:03,837: DEBUG - + systemctl reload-or-restart nginx
2021-02-27 23:21:03,938: DEBUG - + [[ -n ‘’ ]]
2021-02-27 23:21:03,938: DEBUG - + ynh_secure_remove --file=/etc/nginx/conf.d/pleroma-cache.conf
2021-02-27 23:21:03,939: DEBUG - + local ‘forbidden_path= /var/www /home/yunohost.app’
2021-02-27 23:21:03,940: DEBUG - + ‘[’ 1 -ge 2 ‘]’
2021-02-27 23:21:03,940: DEBUG - + [[ -z /etc/nginx/conf.d/pleroma-cache.conf ]]
2021-02-27 23:21:03,940: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/nginx/conf.d/pleroma-cache.conf ]]
2021-02-27 23:21:03,940: DEBUG - + [[ /etc/nginx/conf.d/pleroma-cache.conf =~ ^/[[:alnum:]]+$ ]]
2021-02-27 23:21:03,940: DEBUG - + [[ f = / ]]
2021-02-27 23:21:03,940: DEBUG - + ‘[’ -e /etc/nginx/conf.d/pleroma-cache.conf ‘]’
2021-02-27 23:21:03,941: DEBUG - + ynh_print_info ‘–message=’'‘/etc/nginx/conf.d/pleroma-cache.conf’'’ wasn’'‘t deleted because it doesn’'‘t exist.’
2021-02-27 23:21:03,942: DEBUG - + echo ‘’'‘/etc/nginx/conf.d/pleroma-cache.conf’'’ wasn’'‘t deleted because it doesn’'‘t exist.’
2021-02-27 23:21:03,942: DEBUG - + yunohost firewall list
2021-02-27 23:21:03,942: DEBUG - + grep -q ‘- 8095$’
2021-02-27 23:21:04,143: INFO - ‘/etc/nginx/conf.d/pleroma-cache.conf’ wasn’t deleted because it doesn’t exist.
2021-02-27 23:21:04,144: INFO - [###########++…] > Removing directories…
2021-02-27 23:21:04,146: DEBUG - + echo ‘[###########++…] > Removing directories…’
2021-02-27 23:21:04,147: DEBUG - + ynh_secure_remove --file=/etc/pleroma
2021-02-27 23:21:04,149: DEBUG - + local ‘forbidden_path= /var/www /home/yunohost.app’
2021-02-27 23:21:04,149: DEBUG - + ‘[’ 1 -ge 2 ‘]’
2021-02-27 23:21:04,149: DEBUG - + [[ -z /etc/pleroma ]]
2021-02-27 23:21:04,149: DEBUG - + [[ /var/www /home/yunohost.app =~ /etc/pleroma ]]
2021-02-27 23:21:04,150: DEBUG - + [[ /etc/pleroma =~ ^/[[:alnum:]]+$ ]]
2021-02-27 23:21:04,150: DEBUG - + [[ a = / ]]
2021-02-27 23:21:04,150: DEBUG - + ‘[’ -e /etc/pleroma ‘]’
2021-02-27 23:21:04,150: DEBUG - + ynh_print_info ‘–message=’'‘/etc/pleroma’'’ wasn’'‘t deleted because it doesn’'‘t exist.’
2021-02-27 23:21:04,151: WARNING - ynh_secure_remove called with empty argument, ignoring.
2021-02-27 23:21:04,153: DEBUG - + echo ‘’'‘/etc/pleroma’'’ wasn’'‘t deleted because it doesn’'‘t exist.’
2021-02-27 23:21:04,153: DEBUG - + ynh_secure_remove --file=
2021-02-27 23:21:04,154: DEBUG - + local ‘forbidden_path= /var/www /home/yunohost.app’
2021-02-27 23:21:04,155: DEBUG - + ‘[’ 1 -ge 2 ‘]’
2021-02-27 23:21:04,155: DEBUG - + [[ -z ‘’ ]]
2021-02-27 23:21:04,155: DEBUG - + ynh_print_warn ‘–message=ynh_secure_remove called with empty argument, ignoring.’
2021-02-27 23:21:04,156: DEBUG - + ynh_print_log ‘ynh_secure_remove called with empty argument, ignoring.’
2021-02-27 23:21:04,156: DEBUG - + echo -e ‘ynh_secure_remove called with empty argument, ignoring.’
2021-02-27 23:21:04,257: INFO - ‘/etc/pleroma’ wasn’t deleted because it doesn’t exist.
2021-02-27 23:21:04,258: INFO - [#############++…] > Removing the dedicated system user…
2021-02-27 23:21:04,259: WARNING - The user pleroma was not found
2021-02-27 23:21:04,260: DEBUG - + echo ‘[#############++…] > Removing the dedicated system user…’
2021-02-27 23:21:04,261: DEBUG - + ynh_system_user_delete --username=pleroma
2021-02-27 23:21:04,262: DEBUG - + ynh_system_user_exists pleroma
2021-02-27 23:21:04,265: DEBUG - + getent passwd pleroma
2021-02-27 23:21:04,265: DEBUG - + ynh_print_warn ‘–message=The user pleroma was not found’
2021-02-27 23:21:04,266: DEBUG - + ynh_print_log ‘The user pleroma was not found’
2021-02-27 23:21:04,266: DEBUG - + echo -e ‘The user pleroma was not found’
2021-02-27 23:21:04,266: DEBUG - + ynh_system_group_exists pleroma
2021-02-27 23:21:04,369: DEBUG - + getent group pleroma
2021-02-27 23:21:04,371: DEBUG - + echo ‘[###############+…] > Removal of pleroma completed’
Il se plaint qu’il n’arrive pas à virer les trucs qui ne sont déjà plus là, ce qui est compréhensible, mais je ne vois rien qui ait l’air de délirer à part ça…