RocketChat / RocketChat/Rocket.Chat

Backup problem

Open
#26,229 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

I try to backup but it gives me this error.

root@chat:~# rocketchatctl backup
/usr/local/bin/rocketchatctl: line 1106: run: command not found
Can't write in the backup directory: /tmp

Server Setup Information:
  • Version of Rocket.Chat Server: 4.8.1
  • Operating System: Ubuntu 20.04
  • Deployment Method:
  • Number of Running Instances: 1
  • DB Replicaset Oplog:
  • NodeJS Version: v14.18.3
  • MongoDB Version: 5.0.6 / wiredTiger (oplog Enabled)

Contributor guide

Open the contributing guide

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.

Research direction

Start by reproducing the failure with rocketchatctl backup on the reported Ubuntu 20.04 setup, then inspect /usr/local/bin/rocketchatctl around line 1106. Check why run is not found and why /tmp cannot be used as the backup directory. Done means the backup command completes and writes its output successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.