RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.09k stars 10.35k forks source link

Uninstall App has an unexpected/incorrect behavior #22032

Open felipetomm opened 3 years ago

felipetomm commented 3 years ago

Description:

When i uninstall an App, the server gives the confirmation popup however the App keeps switching between three stages without following the correct flow:

Peek 13-05-2021 10-25 - UI APPS Bug

After start uninstall, i try to view the logs of App. Sometimes the logs of App is in screen, or display "not found" Peek 13-05-2021 10-28 - UI APPS Bug

Steps to reproduce:

  1. Go to Administration / Apps
  2. Click on Uninstall option of specific App

Expected behavior:

Uninstall App and don't appear in front-end when app is uninstalling

Actual behavior:

When click on Uninstall, the App keeps switching between that three stages. The faulty behavior lasted around 1:30 hour.

Server Setup Information:

Client Setup Information

johncrisp commented 3 years ago

Thanks for the detailed report.

IS there anything in the logs?

felipetomm commented 3 years ago

Thanks for the detailed report.

IS there anything in the logs?

I simulated again an Uninstall process. See log below. No errors apparently. LogremoveApp.txt

Today morning, i recorded the moment at i open the admin panel 12h post start uninstall process. https://user-images.githubusercontent.com/13468070/118322778-0e3fdf00-b4d6-11eb-90bc-37d7f3fc9404.mp4

The behavior are the same. This has "normalized" after restart server. When try install/uninstall an App, the problem start again.

felipetomm commented 3 years ago

@johncrisp, do you have any info about this issue? I think that's similar to behavior on this issue in Apps-Engine: https://github.com/RocketChat/Rocket.Chat.Apps-engine/issues/293.

In RocketChat 3.16.0, the behavior has an significant improvement, because the status of Apps when uninstall or upgrade is ok. But, the version's still in change between older and newer.

Thank's for any response on this.