Skip to content

file upload fails when multiple distinct instances run on same server caused by non local /tmp/ufs directory #13395

@Jerome-mi

Description

@Jerome-mi

Description:

the aim is not increase performance but providing diffrent rocket.chat on same machine, so I don't want to replicate databases :
when installing 2 distinct instances (distinct domaine names, distinct databases), on same server, (same mongod server)
file upload fails in second instance
file download still works fine on both
I'm using GridFS

Steps to reproduce:

any attempt to upload a file into a channel, progress bar remains at 0

Expected behavior:

correct upload as databases are different
why don't use /tmp/ufs/<user> instead of /tmp/ufs ? same for rocket.chat_importer
the question is : is it possible to install different isolated instances of rocketchat on a same machine ???

Actual behavior:

Error_RocketChat_requires_oplog_tailing_when_running_in_multiple_instances

Error_RocketChat_requires_oplog_tailing_when_running_in_multiple_instances_details

Server Setup Information:

  • Version of Rocket.Chat Server: 0.74.2
  • Operating System: ubuntu 16.04
  • Deployment Method: tar / ansible role
  • Number of Running Instances: 2 instances listening, 2 distinct databases on different ports behind same nginx
  • DB Replicaset Oplog: None
  • NodeJS Version: 8.11.4

Additional context

:

Relevant logs:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions