How to update app without losing association storage

Open
#99 10 comments 0 reactions 0 assignees View on GitHub

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

:raising_hand_man: help wanted

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
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.