RocketChat / RocketChat/Rocket.Chat

Hitting update button on App Details page does not update app

Open
#12,427 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feat: apps type: bug
Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

Clicking "Update to 0.0.3" in the App Details page of the Jitsi Slash Command (and other apps) doesn't update the app successfully.

Steps to reproduce:
  1. Go to Administration \ Apps
  2. Go to an app that needs to be updated
  3. Click Update
Expected behavior:

App should update and show the latest version

Actual behavior:

Button looks like it is updating but then returns to the previous state.
app-update-broken mov

Server Setup Information:
  • Version of Rocket.Chat Server: 0.70.4 dbff6ee20ff756d5654bc36da66de4999ff7cd9c
  • Operating System: Centos 7
  • Deployment Method: tar zxvf , npm install, service start.
  • Number of Running Instances: 1
  • NodeJS Version: v8.9.3
  • MongoDB Version:
Relevant logs:
I20181025-16:14:15.434(-4) The App 3b387ba9-f57c-44c6-9810-8c0256abd64c is unregistering the command: "jitisi" 
I20181025-16:14:15.459(-4) The App 3b387ba9-f57c-44c6-9810-8c0256abd64c is checking if "jitisi" command exists. 
I20181025-16:14:15.481(-4) The App 3b387ba9-f57c-44c6-9810-8c0256abd64c is registering the command: "jitisi" 
I20181025-16:14:15.705(-4) Getting 3b387ba9-f57c-44c6-9810-8c0256abd64c's settings.. 
I20181025-16:14:21.624(-4) Getting 3b387ba9-f57c-44c6-9810-8c0256abd64c's apis.. 
I20181025-16:14:21.748(-4) Getting 3b387ba9-f57c-44c6-9810-8c0256abd64c's settings.. 
I20181025-16:14:23.814(-4) Updating 3b387ba9-f57c-44c6-9810-8c0256abd64c's status... manually_disabled 
I20181025-16:14:23.822(-4) The App 3b387ba9-f57c-44c6-9810-8c0256abd64c is unregistering the command: "jitisi" 
I20181025-16:14:25.094(-4) Updating: 3b387ba9-f57c-44c6-9810-8c0256abd64c 
I20181025-16:14:27.496(-4) The App 3b387ba9-f57c-44c6-9810-8c0256abd64c is checking if "jitisi" command exists. 
I20181025-16:14:27.513(-4) The App 3b387ba9-f57c-44c6-9810-8c0256abd64c is registering the command: "jitisi" 
I20181025-16:14:27.769(-4) Getting 3b387ba9-f57c-44c6-9810-8c0256abd64c's settings.. 
I20181025-16:14:29.936(-4) Updating: 3b387ba9-f57c-44c6-9810-8c0256abd64c 
I20181025-16:14:32.440(-4) The App 3b387ba9-f57c-44c6-9810-8c0256abd64c is unregistering the command: "jitisi" 
I20181025-16:14:32.467(-4) The App 3b387ba9-f57c-44c6-9810-8c0256abd64c is checking if "jitisi" command exists. 
I20181025-16:14:32.483(-4) The App 3b387ba9-f57c-44c6-9810-8c0256abd64c is registering the command: "jitisi" 
I20181025-16:14:32.763(-4) Getting 3b387ba9-f57c-44c6-9810-8c0256abd64c's settings.. ```

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the update flow from Administration > Apps on the App Details page and compare the displayed version with the server logs provided. Trace the update action through the App Details entry point and verify that clicking Update completes successfully and shows the latest version.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.