Deployment error: No App found by the provided id

Open
#75 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reproducing the uninstall-then-reinstall flow with rc-apps deploy and inspect the /apps REST endpoint response. Trace how the CLI handles the provided app id after an app is uninstalled; done means a previously deployed app can be reinstalled successfully without --upgrade.

Written by the indexing model from the issue text.

Description

When I try to deploy my app, I get this:

# rc-apps deploy --url http://localhost:3000 -i <userid> -t <token>
packaging your app... packaged!
deploying your app... !
    Error: Deployment error: No App found by the provided id: <id>

I got this error after doing the following:

  1. I successfully deployed and updated my app several times
  2. I added a setting to the configuration with configuration.settings.provideSetting() but didn't see it show up in the UI after an update, so...
  3. I uninstalled the app via the UI
  4. I tried to re-install it with the command pasted above (no --upgrade flag)

This is where I've hit the error. I've tried using the --upgrade flag, authenticating with username and password instead of ID and token, using -f to force (though I know that's for the Typescript compiler), restarting my Rocket.Chat server (it's a snap), etc - nothing has worked. I've also tried searching through issues and even code for where this is coming from - I see the error is returned by the /apps REST endpoint, but I can't find much more than that.

Dominant language
TypeScript
Stars
49
Forks
39
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from RocketChat/Rocket.Chat.Apps-cli

All issues in RocketChat/Rocket.Chat.Apps-cli

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.