Deployment error: No App found by the provided id

Aberta
#75 3 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
typescript
Domínio
api, cli

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
TypeScript
Estrelas
49
Forks
40
Métricas de merge de PRs
Nenhum PR com merge em 30d

Preparar o ambiente

Este projeto não oferece contêiner de desenvolvimento, Dockerfile nem guia de contribuição, então a configuração fica por sua conta: comece pelo README e veja nosso guia da primeira contribuição para os passos gerais.

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de RocketChat/Rocket.Chat.Apps-cli

Todas as issues de RocketChat/Rocket.Chat.Apps-cli

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.