Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deployment error: No App found by the provided id #75

Open
pbaity opened this issue Aug 13, 2020 · 3 comments
Open

Deployment error: No App found by the provided id #75

pbaity opened this issue Aug 13, 2020 · 3 comments

Comments

@pbaity
Copy link

pbaity commented Aug 13, 2020

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.

@pbaity
Copy link
Author

pbaity commented Aug 18, 2020

Looks like the error is getting thrown from here, which reinforces my suspicion that the configuration.settings.provideSetting() change has something to do with it. When I reverted to a previous commit without that method call to add a setting, I am able to deploy. Furthermore, I am able to deploy --upgrade to the version with the method call to add a setting, but the setting does not appear in the UI.

Maybe I'm using configuration.settings.provideSetting() incorrectly, perhaps in the wrong method of the App class - I'm trying this out now

@preeesha
Copy link

preeesha commented Feb 7, 2024

Hey @pbaity, I would like to know if this issue is still there or not.

@pbaity
Copy link
Author

pbaity commented Feb 7, 2024

@preeesha I haven't tried again since then and I'm no longer using RocketChat.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants