How to update app without losing association storage
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- typescript
- Domain
- cli
Research direction
Start by tracing the deployment path that reports “App already exists” and the handling of RocketChatAssociationRecord storage. Determine whether an update path or version check exists; done means an update workflow preserves associated data, with its behavior documented.
Written by the indexing model from the issue text.
Description
I am developing an app which makes use of the RocketChatAssociationRecord for rooms.
When I try to deploy a new version, it fails with " › Error: ⟿ Error: Deployment error: App already exists.".
But if I uninstall the app first, it removes all associated storage.
How can I update an app without losing stored data?
Is there an "update" command, or a check for a new version number? Can't find either
- Dominant language
- TypeScript
- Stars
- 49
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from RocketChat/Rocket.Chat.Apps-cli
-
Feature Request: Add Boilerplate Templates to rc-apps createPossibly taken @ShubhamS2005 claimed this 243 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 55/100
RocketChat/Rocket.Chat.Apps-cli#181 · 1 comment ·
-
Windows: rc-apps deploy fails with File 'X.ts' not found while tsc compiles successfullyPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
RocketChat/Rocket.Chat.Apps-cli#177 · 3 comments ·
-
Bug: Infinite loop in rc-apps watchMay be free again A pull request for this issue was closed without being merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
-
`rc-apps pack` throws error with nodejs 24May be free again @okayxsh claimed this 231 days ago, and no pull request is open. Open
Difficulty 3/5 1-2 days Newbie friendliness 64/100
RocketChat/Rocket.Chat.Apps-cli#173 · 3 comments ·
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
All issues in RocketChat/Rocket.Chat.Apps-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
open-webui/tether#52 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
voidzero-dev/void#835 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
AykutSarac/jsoncrack.com#616 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
melgarafael/DeskcommCRM#4679 ·
Maintainers usually reply within 1 day