RocketChat / RocketChat/Rocket.Chat

Invalid config type when starting application

Open
#24,245 3 comments 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

Hi I cloned your repository and run it whith meteor npm install and meteor npm start and I get this errors.

I20220121-11:54:42.555(3.5)? [2022-01-21T08:24:42.533Z] ERROR (System/41420 on amir-alamian): Invalid setting code SMS_Mobex_from_number: Setting SMS_Mobex_from_number is of type int but got string
I20220121-11:54:42.555(3.5)? [2022-01-21T08:24:42.534Z] ERROR (System/41420 on amir-alamian): Invalid setting stored SMS_Mobex_from_number: Setting SMS_Mobex_from_number is of type int but got string
I20220121-11:54:44.294(3.5)? LocalStore: store created at 
I20220121-11:54:44.294(3.5)? LocalStore: store created at 
I20220121-11:54:44.295(3.5)? LocalStore: store created at 
I20220121-11:54:44.361(3.5)? [2022-01-21T08:24:44.361Z] ERROR (System/41420 on amir-alamian): Invalid setting code Cloud_Workspace_Client_Secret_Expires_At: Setting Cloud_Workspace_Client_Secret_Expires_At is of type int but got string
I20220121-11:54:44.362(3.5)? [2022-01-21T08:24:44.361Z] ERROR (System/41420 on amir-alamian): Invalid setting stored Cloud_Workspace_Client_Secret_Expires_At: Setting Cloud_Workspace_Client_Secret_Expires_At is of type int but got string
I20220121-11:54:46.384(3.5)? [2022-01-21T08:24:46.383Z] USERLVL (Migrations/41420 on amir-alamian): Not migrating, already at version 252
I20220121-11:54:46.429(3.5)? [2022-01-21T08:24:46.428Z] ERROR (System/41420 on amir-alamian): Invalid setting code LDAP_Port: Setting LDAP_Port is of type int but got string
I20220121-11:54:46.429(3.5)? [2022-01-21T08:24:46.429Z] ERROR (System/41420 on amir-alamian): Invalid setting stored LDAP_Port: Setting LDAP_Port is of type int but got string
I20220121-11:54:46.596(3.5)? [2022-01-21T08:24:46.596Z] ERROR (System/41420 on amir-alamian): Invalid setting code CAS_popup_width: Setting CAS_popup_width is of type int but got string
I20220121-11:54:46.596(3.5)? [2022-01-21T08:24:46.596Z] ERROR (System/41420 on amir-alamian): Invalid setting stored CAS_popup_width: Setting CAS_popup_width is of type int but got string
I20220121-11:54:46.597(3.5)? [2022-01-21T08:24:46.596Z] ERROR (System/41420 on amir-alamian): Invalid setting code CAS_popup_height: Setting CAS_popup_height is of type int but got string
I20220121-11:54:46.597(3.5)? [2022-01-21T08:24:46.596Z] ERROR (System/41420 on amir-alamian): Invalid setting stored CAS_popup_height: Setting CAS_popup_height is of type int but got string
I20220121-11:54:46.606(3.5)? [2022-01-21T08:24:46.605Z] ERROR (System/41420 on amir-alamian): Invalid setting code SAML_Custom_Default_allowed_clock_drift: Setting SAML_Custom_Default_allowed_clock_drift is of type int but got boolean
I20220121-11:54:46.606(3.5)? [2022-01-21T08:24:46.606Z] ERROR (System/41420 on amir-alamian): Invalid setting stored SAML_Custom_Default_allowed_clock_drift: Setting SAML_Custom_Default_allowed_clock_drift is of type int but got boolean
I20220121-11:54:46.616(3.5)? Loaded the Apps Framework and loaded a total of 0 Apps!
=> Started your app.

=> App running at: http://127.0.0.1:3005
I20220121-11:54:46.919(3.5)? +----------------------------------------------+
I20220121-11:54:46.920(3.5)? |                SERVER RUNNING                |
I20220121-11:54:46.920(3.5)? +----------------------------------------------+
I20220121-11:54:46.920(3.5)? |                                              |
I20220121-11:54:46.920(3.5)? |  Rocket.Chat Version: 4.4.0-develop          |
I20220121-11:54:46.920(3.5)? |       NodeJS Version: 14.18.2 - x64          |
I20220121-11:54:46.921(3.5)? |      MongoDB Version: 5.0.5                  |
I20220121-11:54:46.921(3.5)? |       MongoDB Engine: wiredTiger             |
I20220121-11:54:46.921(3.5)? |             Platform: linux                  |
I20220121-11:54:46.921(3.5)? |         Process Port: 28439                  |
I20220121-11:54:46.922(3.5)? |             Site URL: http://127.0.0.1:3005  |
I20220121-11:54:46.922(3.5)? |     ReplicaSet OpLog: Enabled                |
I20220121-11:54:46.922(3.5)? |          Commit Hash: f92db4fa59             |
I20220121-11:54:46.922(3.5)? |        Commit Branch: develop                |
I20220121-11:54:46.922(3.5)? |                                              |
I20220121-11:54:46.922(3.5)? +----------------------------------------------+

although it says that application is statred but nothing shows at http://127.0.0.1:3005.

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 report with meteor npm install and meteor npm start, then inspect the startup output for the listed invalid settings and check http://127.0.0.1:3005. Determine whether the type errors prevent the application from loading; done means the development server starts without these errors and the local page renders.

Written by the indexing model from the issue text.

Assessment

Tech stack
mongodb, node.js, typescript
Domain
backend, web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.