[SOLVED] Dendrite installation failed

Hardware: VPS bought online ( Contabo )
YunoHost version: 11.0.9.14 (stable)
I have access to my server : Through SSH and browser
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

was trying to install dendrite but an error occured

2022-10-01 08:59:43,825: DEBUG - + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2022-10-01 08:59:43,825: DEBUG - + ynh_wait_dpkg_free
2022-10-01 08:59:43,954: DEBUG - + return 0
2022-10-01 08:59:43,955: DEBUG - + LC_ALL=C
2022-10-01 08:59:43,955: DEBUG - + DEBIAN_FRONTEND=noninteractive
2022-10-01 08:59:43,955: DEBUG - + apt-get --assume-yes --quiet -o=Acquire::Retries=3 -o=Dpkg::Use-Pty=0 --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2022-10-01 08:59:44,022: DEBUG - Reading package lists...
2022-10-01 08:59:44,256: DEBUG - Building dependency tree...
2022-10-01 08:59:44,257: DEBUG - Reading state information...
2022-10-01 08:59:44,520: DEBUG - 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2022-10-01 08:59:44,522: DEBUG - + [[ -n /tmp/tmp.Usph7xl3mq ]]
2022-10-01 08:59:44,522: DEBUG - + rm --recursive --force /tmp/tmp.Usph7xl3mq
2022-10-01 08:59:44,524: DEBUG - + ynh_package_is_installed dendrite-ynh-deps
2022-10-01 08:59:44,536: DEBUG - + ynh_wait_dpkg_free
2022-10-01 08:59:44,650: DEBUG - + return 0
2022-10-01 08:59:44,651: DEBUG - + grep --count 'ok installed'
2022-10-01 08:59:44,651: DEBUG - + dpkg-query --show '--showformat=${Status}' dendrite-ynh-deps
2022-10-01 08:59:44,667: DEBUG - + ynh_die '--message=Unable to install dependencies'
2022-10-01 08:59:44,687: DEBUG - Unable to install dependencies
2022-10-01 08:59:44,687: DEBUG - + ynh_exit_properly
2022-10-01 08:59:45,189: DEBUG - + ynh_clean_setup
2022-10-01 08:59:45,190: DEBUG - + ynh_clean_check_starting
2022-10-01 08:59:45,190: DEBUG - + '[' -n '' ']'
2022-10-01 08:59:45,190: DEBUG - + '[' -n '' ']'
2022-10-01 08:59:46,192: ERROR - Unable to install dendrite: An error occurred inside the app installation script

find full log here.

any help appreciated. :heart_decoration:

 unknown system user 'matrix-synapse' in statoverride file; the system user got removed

hmpf i think i saw this bug a few times before in other context, i think it’s debian’s package system somehow derping …

Do you get exactly the same error if you retry ?

it seems like i do.

Does sudo id matrix-synapse return anything ?

(In fact I’m kinda puzzled that the message is about synapse somehow, but we’re trying to install dendrite x_X)

it gives me this:

~$ sudo id matrix-synapse
id: ‘matrix-synapse’: no such user

i had synapse before, which i uninstalled to then install dendrite.
something when wrong during one of these passages perhaps?

This thread suggest that you can run

sudo nano /var/lib/dpkg/statoverride

and remove the file related to matrix-synapse (and blank lines)

it worked!!! thank you!

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.