RocketChat / Rocket.Chat

The communications platform that puts data protection first.
https://rocket.chat/
Other
40.39k stars 10.51k forks source link

New Docker Installation having "The application GUI just crashed." in Setup Wizard #30495

Open iamfasal opened 1 year ago

iamfasal commented 1 year ago

Description:

I've deployed a latest new RocketChat instance using Docker Compose and the Setup Wizard is showing "Application Error The application GUI just crashed." . I tried loading from different browsers and even from private windows to rule out cache issues. I've used the below Docker Compose file to deploy the installation:

version: '3.4'
services:
  rocketchat:
    image: registry.rocket.chat/rocketchat/rocket.chat:6.3.7
    restart: always
    volumes:
      - ./data/uploads:/app/uploads
    environment:
      PORT: 3000
      ROOT_URL: "http://chat.mydomain.com:3000"
      MONGO_URL: "mongodb://mongodb:27017/rocketchat?replicaSet=rs0"
      MONGO_OPLOG_URL: "mongodb://mongodb:27017/local?replicaSet=rs0"
      DEPLOY_METHOD: docker
      DEPLOY_PLATFORM: ${DEPLOY_PLATFORM:-}
      REG_TOKEN: ${REG_TOKEN:-}

    depends_on:
      - mongodb
    ports:
      - 127.0.0.1:3000:3000

  mongodb:
    image: docker.io/bitnami/mongodb:6.0
    restart: always
    volumes:
      - ./data/mongodb:/bitnami/mongodb
    environment:
      MONGODB_REPLICA_SET_MODE: primary
      MONGODB_REPLICA_SET_NAME: ${MONGODB_REPLICA_SET_NAME:-rs0}
      MONGODB_PORT_NUMBER: ${MONGODB_PORT_NUMBER:-27017}
      MONGODB_INITIAL_PRIMARY_HOST: ${MONGODB_INITIAL_PRIMARY_HOST:-mongodb}
      MONGODB_INITIAL_PRIMARY_PORT_NUMBER: ${MONGODB_INITIAL_PRIMARY_PORT_NUMBER:-27017}
      MONGODB_ADVERTISED_HOSTNAME: ${MONGODB_ADVERTISED_HOSTNAME:-mongodb}
      MONGODB_ENABLE_JOURNAL: ${MONGODB_ENABLE_JOURNAL:-true}
      ALLOW_EMPTY_PASSWORD: ${ALLOW_EMPTY_PASSWORD:-yes}

Expected behavior:

The Setup Wizard should open correctly to proceed with the deployment, but it is not working in my case.

Actual behavior:

Getting "Application Error The application GUI just crashed." in Setup Wizard UI.

Server Setup Information:

Client Setup Information

Additional context

Relevant logs:

I can see a lot of errors in the browser console about some Syntax errors and some modules not found. An example:

etc.

filefi commented 1 year ago

I confirm, ran into this issue too on v6.3.5. Web console log Uncaught Error: Cannot find package "konecty:user-presence". Try "meteor add konecty:user-precence".