YunoHost-Apps / rocketchat_ynh

Rocket.Chat package for YunoHost
https://rocket.chat/
GNU General Public License v3.0
16 stars 22 forks source link

Uninstall leaves 'husk' mongod service. #187

Closed orhtej2 closed 11 months ago

orhtej2 commented 1 year ago

Describe the bug

After uninstalling Rocket.Chat, which is the only app that uses MongoDB, broken 'mongod' service is present in WebUI.

Service is added in ynh_install_mongo and would be deprovisioned in ynh_remove_mongo if it wasn't for the fact that with packaging v2 this script runs before apt is deprovisioned.

Context

Steps to reproduce

  1. Install app
  2. Remove app

Expected behavior

All provisioned services removed.

Logs

https://paste.yunohost.org/raw/lihuliporo

stilobique commented 1 year ago

True, I have this issue since uninstall this app.

orhtej2 commented 1 year ago

You can always sudo yunohost service remove mongod.

ericgaspar commented 11 months ago

should be fixed