RocketChat / Rocket.Chat

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

Hitting update button on App Details page does not update app #12427

Open wreiske opened 5 years ago

wreiske commented 5 years ago

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:

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.. ```
wreiske commented 5 years ago

Just as a note, deleting the app (not hitting update) will allow you to then install the latest version.

Armadill0 commented 5 years ago

Still an issue with 1.2.1 with all apps.

paulopera commented 3 years ago

Running on v3.9.2 and I can't update any App. As I hit update button it shows "Internal error occurred" and the following error in logs:

server.js:204 API ➔ debug POST: /api/apps/684202ed-1461-4983-9ea7-fde74b15026c server.js:204 Rocket.Chat Apps ➔ error Error getting the App from the Marketplace: { code: 475, error: 'app not ready yet', errorId: 'a3019839-3678-4672-bf6c-35d9ae691c08', status: 500 }

workdojos commented 3 years ago

Running on v3.9.2 and I can't update any App. As I hit update button it shows "Internal error occurred" and the following error in logs:

server.js:204 API ➔ debug POST: /api/apps/684202ed-1461-4983-9ea7-fde74b15026c server.js:204 Rocket.Chat Apps ➔ error Error getting the App from the Marketplace: { code: 475, error: 'app not ready yet', errorId: 'a3019839-3678-4672-bf6c-35d9ae691c08', status: 500 }

Hi there, did you ever figure out what causes that error? I got the same when trying to install DialogFlow integration app. Thanks

paulopera commented 3 years ago

Right now I'm running Version 3.13.3 and we're updating the app's we use without problem as far as I know. I went to the administration page to see if we have any app out of date but all of them were ok. If I'm not wrong, about 1 month later my post the problem was solved. But I did have to reconnect my installation with the rocket.chat Workspace in Connectivity Services. Give it a try.