Hi,
my yunhost is brokn since I tried to update Nextcloud. The API does not respond any more. The command yunohost
returns yunohost: command not found
and this systemctl status yunohost-api
gives
Loaded: masked (/dev/null; bad)
Active: inactive (dead)
Finally I get this in the api logs if I run tail -n 300 /var/log/yunohost/yunohost-api.log
:
2021-01-18 09:20:03,915 DEBUG yunohost.hook <lambda> - [3831.6] 41976 + cp /tmp/nextcloud-ynh-deps.control /tmp/tmp.hCHsFu5JIb/control
2021-01-18 09:20:03,915 DEBUG yunohost.hook <lambda> - [3831.6] 41976 + cd /tmp/tmp.hCHsFu5JIb
2021-01-18 09:20:03,915 DEBUG yunohost.hook <lambda> - [3831.6] 41976 + LC_ALL=C
2021-01-18 09:20:03,915 DEBUG yunohost.hook <lambda> - [3831.6] 41976 + equivs-build ./control
2021-01-18 09:20:05,027 DEBUG yunohost.hook <lambda> - [3831.6] 43090 + dpkg --force-depends --install ./nextcloud-ynh-deps_15.0.5~ynh3_all.deb
2021-01-18 09:20:05,027 DEBUG yunohost.hook <lambda> - [3831.6] 43091 dpkg: error: dpkg status database is locked by another process
2021-01-18 09:20:05,028 DEBUG yunohost.hook <lambda> - [3831.6] 43091 + ynh_package_install --fix-broken
2021-01-18 09:20:05,028 DEBUG yunohost.hook <lambda> - [3831.6] 43092 + ynh_apt --no-remove --option Dpkg::Options::=--force-confdef --option Dpkg::Options::=--force-confold install --fix-broken
2021-01-18 09:20:05,028 DEBUG yunohost.hook <lambda> - [3831.6] 43092 + ynh_wait_dpkg_free
2021-01-18 09:20:05,028 DEBUG yunohost.hook <lambda> - [3831.6] 43092 + local try
2021-01-18 09:20:05,028 DEBUG yunohost.hook <lambda> - [3831.6] 43092 + set +o xtrace
2021-01-18 09:20:05,229 DEBUG yunohost.hook <lambda> - [3831.6] 43293 apt is already in use...
2021-01-18 09:20:06,334 DEBUG yunohost.hook <lambda> - [3831.6] 44399 apt is already in use...
2021-01-18 09:20:10,558 DEBUG yunohost.hook <lambda> - [3831.6] 48617 apt is already in use...
2021-01-18 09:20:19,688 DEBUG yunohost.hook <lambda> - [3831.6] 57753 apt is already in use...
I don’t know how to fix this !
Thanks in advance !
Mathieu