# Yunohost broken after update

**URL:** <https://forum.yunohost.org/t/yunohost-broken-after-update/5817>\
**Category:** Support\
**Tags:** french, english\
**Created:** [September 21, 2018, 3:35pm UTC](https://forum.yunohost.org/t/yunohost-broken-after-update/5817 "2018-09-21T15:35:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![freezix](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/f/53a042/32.png) [@freezix](https://forum.yunohost.org/u/freezix)\
**Post date:** [September 21, 2018, 3:35pm UTC](https://forum.yunohost.org/t/yunohost-broken-after-update/5817/1 "2018-09-21T15:35:26Z")

</div>

Hey,

I tried to update yunohost from the admin interface, it crashed with no explicit error message…  
I connected via ssh, I`apt-get update` then `upgrade` but mysql-community-server was “broken or partially installed” I tried `dpkg-reconfigure`, `apt-get install -f`, `apt-get install --reinstall` but nothing worked, I finally apt-get removed it, I’ve been proposed to migrate toward mariaDB, I replied “why not ?”.

Now when I do apt-get install I have P aramétrage de libnginx-mod-http-auth-pam (1.12.2-1~dotdeb+8.1) …  
nginx: [emerg] unknown directive “access\_by\_lua\_file”  
and cascading errors

`Nginx -V` says `--add-dynamic-module=/usr/src/builddir/debian/modules/nginx-lua`

but `ls /usr/src` return nothing !

I feel like it would be a good idea to take a fresh start…  
Is there a way to backup all that with a yunohost command ?

---

<div class="post-metadata">

**Author:** ![ppr](https://forum.yunohost.org/letter_avatar_proxy/v4/letter/p/8c91f0/32.png) [@ppr](https://forum.yunohost.org/u/ppr)\
**Post date:** [September 21, 2018, 3:47pm UTC](https://forum.yunohost.org/t/yunohost-broken-after-update/5817/2 "2018-09-21T15:47:07Z")

</div>

Hi @freezix ,

The command in order to backup from CLI -and more- is here in the doc’ : [YunoHost • index](https://yunohost.org/#/backup_en)

Edit @freezix :

> apt update && apt dist-upgrade && apt install -f

ppr

---

<div class="post-metadata">

**Author:** ![Aleks](https://forum.yunohost.org/user_avatar/forum.yunohost.org/aleks/32/1704_2.png) [@Aleks](https://forum.yunohost.org/u/Aleks)\
**Post date:** [January 18, 2023, 8:19pm UTC](https://forum.yunohost.org/t/yunohost-broken-after-update/5817/3 "2023-01-18T20:19:47Z")

</div>

Closed on January 18, 2023, 8:19pm UTC


