Hardware: old computer
YunoHost version: can`t check…
Error: YunoHost is not or not correctly installed. Please execute 'yunohost tools postinstall'
I have access to my server : Through SSH and also by direct access via keyboard
Description of my issue
i did a mistake and tried to install ssmtp. in the installation process, Debian uninstall a lot of yunohost packages. I think I’ve been able to recover all the packages that i removed by looking at /var/log/apt/term.log.
the list of packages:
dnsmasq dovecot-antispam dovecot-sieve dovecot-managesieved dovecot-lmtpd dovecot-imapd dovecot-ldap etckeeper fail2ban fake-hwclock python3-matplotlib python-matplotlib-data fonts-lyx mariadb-server mariadb-server-10.1 galera-3 glances haveged hddtemp iproute libjs-lodash javascript-common jq ldap-utils python3-numpy liblapack3 libblas3 libblas-common mariadb-client-10.1 libdbd-mysql-perl libconfig-inifiles-perl libdbd-ldap-perl libdbi-perl libgfortran3:amd64 libhavege1:amd64 ssowat nginx-extras libnginx-mod-nchan libhiredis0.13:amd64 libjq1:amd64 libjs-jquery-ui libjs-angularjs libjs-jquery opendkim-tools liblua5.1-0:amd64 rspamd libnginx-mod-http-lua libluajit-5.1-2:amd64 libluajit-5.1-common libmail-spf-perl libmemcachedutil2:amd64 libmemcached11:amd64 libnet-ip-perl libnet-dns-perl libnetaddr-ip-perl libnginx-mod-http-auth-pam libnginx-mod-http-cache-purge libnginx-mod-http-dav-ext libnginx-mod-http-echo libnginx-mod-http-fancyindex libnginx-mod-http-geoip libnginx-mod-http-headers-more-filter libnginx-mod-http-image-filter libnginx-mod-http-subs-filter libnginx-mod-http-perl libnginx-mod-http-ndk libnginx-mod-http-uploadprogress libnginx-mod-http-upstream-fair libnginx-mod-http-xslt-filter libnginx-mod-mail libnginx-mod-stream libnss-ldapd:amd64 libnss-myhostname:amd64 slapd libodbc1:amd64 libonig4:amd64 libopendbx1-sqlite3 libopendbx1 libopendkim11 libpam-ldapd:amd64 librbl1 libterm-readkey-perl libunbound2:amd64 libunwind8 libvbr2 python3-pil:amd64 libwebpdemux2:amd64 moulinette python-yaml libyaml-0-2:amd64 lua-bitop:amd64 metronome lua-event:amd64 lua-expat:amd64 lua-filesystem:amd64 lua-json lua-ldap:amd64 lua-lpeg:amd64 lua-rex-pcre:amd64 lua-sec:amd64 lua-socket:amd64 lua-zlib:amd64 php-ldap python-argcomplete python-jinja2 python-ldap python-markupsafe python3-dateutil python3-netifaces python3-pyasn1 python3-pyparsing python3-pystache socat unzip unscd dovecot-core libexttextcat-2.0-0:amd64 libexttextcat-data libstemmer0d:amd64 python3-websocket python3-tz python3-systemd python3-pyinotify python3-psutil python3-docker python3-cycler python3-crypto python3-pysnmp4 python3-bottle python-tz python-psutil python-miniupnpc python-greenlet python-gnupg python-gevent python-gevent-websocket python-bottle postsrsd postfix-sqlite php-mysql php-mcrypt php-intl php-fpm php-curl nslcd nslcd-utils nginx-common netcat-openbsd mariadb-common mariadb-server-core-10.1 mariadb-client-core-10.1 lua5.1
i tried to reinstall the packages but even after that, i couldn’t access the admin page (403 forbidden error) at local ip, and in the domain page i couldn’t log in.
next i tried to run this command
curl https://install.yunohost.org | bash
but it fails. the log: https://paste.yunohost.org/raw/iridokodah
i even tried to restore by the yunohost.backup, but it also failed
Traceback (most recent call last):
File "/usr/bin/yunohost", line 214, in <module>
timeout=opts.timeout,
File "/usr/lib/python2.7/dist-packages/moulinette/__init__.py", line 136, in cli
moulinette.run(args, output_as=output_as, password=password, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/moulinette/interfaces/cli.py", line 425, in run
ret = self.actionsmap.process(args, timeout=timeout)
File "/usr/lib/python2.7/dist-packages/moulinette/actionsmap.py", line 523, in process
return func(**arguments)
File "/usr/lib/moulinette/yunohost/backup.py", line 2147, in backup_restore
restore_manager = RestoreManager(name)
File "/usr/lib/moulinette/yunohost/backup.py", line 841, in __init__
self.info = backup_info(name, with_details=True)
File "/usr/lib/moulinette/yunohost/backup.py", line 2292, in backup_info
key_info["size"] = info["size_details"][category][name]
TypeError: list indices must be integers, not str
please help me to recover the server.