Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[BUG] Install Issue: Cannot Connect After Installation #139

Closed
1 of 2 tasks
tmswr opened this issue Jan 28, 2019 · 5 comments
Closed
1 of 2 tasks

[BUG] Install Issue: Cannot Connect After Installation #139

tmswr opened this issue Jan 28, 2019 · 5 comments
Labels

Comments

@tmswr
Copy link

tmswr commented Jan 28, 2019

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:

Trudesk will not start after restarting from initial setup.

What did you expect to happen:

Trudesk to launch

How to reproduce it (as minimally and precisely as possible):

Setup Trudesk and MongoDB as described, setup, and wait for reload.

Anything else we need to know?:

This is an install on my machine locally, to fully test the functionality.

Log:

0|trudesk  | 1/28 13:02:18 [6000] - info:     .                              .o8                     oooo
0|trudesk  | 1/28 13:02:18 [6000] - info:   .o8                             "888                     `888
0|trudesk  | 1/28 13:02:18 [6000] - info: .o888oo oooo d8b oooo  oooo   .oooo888   .ooooo.   .oooo.o  888  oooo
0|trudesk  | 1/28 13:02:18 [6000] - info:   888   `888""8P `888  `888  d88' `888  d88' `88b d88(  "8  888 .8P'
0|trudesk  | 1/28 13:02:18 [6000] - info:   888    888      888   888  888   888  888ooo888 `"Y88b.   888888.
0|trudesk  | 1/28 13:02:18 [6000] - info:   888 .  888      888   888  888   888  888    .o o.  )88b  888 `88b.
0|trudesk  | 1/28 13:02:18 [6000] - info:   "888" d888b     `V88V"V8P' `Y8bod88P" `Y8bod8P' 8""888P' o888o o888o
0|trudesk  | 1/28 13:02:18 [6000] - info: ==========================================================================
0|trudesk  | 1/28 13:02:18 [6000] - info: trudesk v1.0.5 Copyright (C) 2014-2019 Chris Brame
0|trudesk  | 1/28 13:02:18 [6000] - info:
0|trudesk  | 1/28 13:02:18 [6000] - info: Running in: development
0|trudesk  | 1/28 13:02:18 [6000] - info: Server Time: Mon Jan 28 2019 13:02:18 GMT-0600 (Central Standard Time)
0|trudesk  | 1/28 13:02:19 [6000] - info: Connected to MongoDB
0|trudesk  | 1/28 13:02:22 [6000] - info: TruDesk is now listening on port: 8118
0|trudesk  | 1/28 13:02:22 [6000] - info: SocketServer Running
0|trudesk  | 1/28 13:02:23 [6000] - debug: Checking Default Settings...
0|trudesk  | 1/28 13:02:23 [6000] - debug: Windows platform detected. Downloading MongoDB Tools
0|trudesk  | ReferenceError: internalBinding is not defined
0|trudesk  |     at internal/util/inspect.js:31:15
0|trudesk  |     at req_ (c:\trudesk\node_modules\natives\index.js:140:5)
0|trudesk  |     at require (c:\trudesk\node_modules\natives\index.js:113:12)
0|trudesk  |     at util.js:25:21
0|trudesk  |     at req_ (c:\trudesk\node_modules\natives\index.js:140:5)
0|trudesk  |     at require (c:\trudesk\node_modules\natives\index.js:113:12)
0|trudesk  |     at fs.js:42:21
0|trudesk  |     at req_ (c:\trudesk\node_modules\natives\index.js:140:5)
0|trudesk  |     at Object.req [as require] (c:\trudesk\node_modules\natives\index.js:54:10)
0|trudesk  |     at Object.<anonymous> (c:\trudesk\node_modules\unzip\node_modules\graceful-fs\fs.js:1:99)
0|trudesk  |     at Module._compile (internal/modules/cjs/loader.js:689:30)
0|trudesk  |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
0|trudesk  |     at Module.load (internal/modules/cjs/loader.js:599:32)
0|trudesk  |     at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
0|trudesk  |     at Function.Module._load (internal/modules/cjs/loader.js:530:3)
0|trudesk  |     at Module.require (internal/modules/cjs/loader.js:637:17)
0|trudesk  |     at require (internal/modules/cjs/helpers.js:22:18)
0|trudesk  |     at Object.<anonymous> (c:\trudesk\node_modules\unzip\node_modules\graceful-fs\graceful-fs.js:3:27)
0|trudesk  |     at Module._compile (internal/modules/cjs/loader.js:689:30)
0|trudesk  |     at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
0|trudesk  |     at Module.load (internal/modules/cjs/loader.js:599:32)
0|trudesk  |     at tryModuleLoad (internal/modules/cjs/loader.js:538:12)

Environment:

  • Trudesk Version: 1.0.5
  • OS (e.g. from /etc/os-release): Windows 10
  • Node.JS Version: 10.15.0
  • MongoDB Version: 4.0.5
  • Is this hosted on cloud.trudesk.io: No
@tmswr tmswr changed the title Install Issues Install Issue: Cannot Connect After Installation Jan 28, 2019
@polonel
Copy link
Owner

polonel commented Jan 28, 2019

Do you have the windows build tools installed?

Did it show an error when building the native modules with yarn install?

@tmswr
Copy link
Author

tmswr commented Jan 28, 2019

I just uninstalled and reinstalled Windows Build Tools to check and see if that was the issue, I'm still not getting any connectivity.

I did not get any errors while building modules either.

@polonel polonel changed the title Install Issue: Cannot Connect After Installation [BUG] Install Issue: Cannot Connect After Installation Jan 28, 2019
@polonel
Copy link
Owner

polonel commented Jan 28, 2019

It has to do with an outdated dep. Working on a fix.
In the meantime you can comment out these 3 lines and restart the server and it should work.

NOTE: The backup system will not work on windows after commenting this out.

@tmswr
Copy link
Author

tmswr commented Jan 28, 2019

Issue fixed.

Thank you for your superior support. I was overthinking this, glad to have it figured out!

polonel added a commit that referenced this issue Jan 28, 2019
@polonel polonel added the bug label Jan 28, 2019
polonel added a commit that referenced this issue Feb 2, 2019
## [1.0.6](v1.0.5...v1.0.6) (2019-02-02)

### Bug Fixes

* **attachments:** uploading office mime-types [#140](#140) ([b47da40](b47da40))
* **chat:** chat boxes under some buttons ([c337c76](c337c76))
* **dates:** overdue on dashboard ([921e258](921e258))
* **groups:** issue preventing save ([7208253](7208253))
* **ldap:** crash if no results are returned ([8ff63ba](8ff63ba))
* **login:** username whitespaces ([282d725](282d725))
* **messages:** remove ajax link from start conversation ([988dfa9](988dfa9))
* **notifications:** unable to clear all notifications ([4f24c8c](4f24c8c))
* **reports:** invalid date format ([808a740](808a740))
* **reports:** invalid date string ([0914d91](0914d91))
* **socket:** high memory usage on notification updates ([b647d4c](b647d4c))
* **ticket:** priority not updating in realtime ([721f42d](721f42d))
* **unzip:** out dated dependency [#139](#139) ([b0aab01](b0aab01))
* **url:** invalid parse ([1738287](1738287))
* **validation:** email validation for modern tlds [#130](#130) ([febcbdf](febcbdf))
polonel added a commit that referenced this issue Feb 2, 2019
## [1.0.6](v1.0.5...v1.0.6) (2019-02-02)

### Bug Fixes

* **attachments:** uploading office mime-types [#140](#140) ([b47da40](b47da40))
* **chat:** chat boxes under some buttons ([c337c76](c337c76))
* **dates:** overdue on dashboard ([921e258](921e258))
* **editor:** crash on invalid directory ([bc60899](bc60899))
* **groups:** issue preventing save ([7208253](7208253))
* **ldap:** crash if no results are returned ([8ff63ba](8ff63ba))
* **login:** username whitespaces ([282d725](282d725))
* **messages:** remove ajax link from start conversation ([988dfa9](988dfa9))
* **notifications:** unable to clear all notifications ([4f24c8c](4f24c8c))
* **reports:** invalid date format ([808a740](808a740))
* **reports:** invalid date string ([0914d91](0914d91))
* **socket:** high memory usage on notification updates ([b647d4c](b647d4c))
* **ticket:** priority not updating in realtime ([721f42d](721f42d))
* **unzip:** out dated dependency [#139](#139) ([b0aab01](b0aab01))
* **url:** invalid parse ([1738287](1738287))
* **validation:** email validation for modern tlds [#130](#130) ([febcbdf](febcbdf))
polonel added a commit that referenced this issue Feb 2, 2019
* **attachments:** uploading office mime-types [#140](#140) ([b47da40](b47da40))
* **chat:** chat boxes under some buttons ([c337c76](c337c76))
* **dates:** overdue on dashboard ([921e258](921e258))
* **editor:** crash on invalid directory ([bc60899](bc60899))
* **groups:** issue preventing save ([7208253](7208253))
* **ldap:** crash if no results are returned ([8ff63ba](8ff63ba))
* **login:** username whitespaces ([282d725](282d725))
* **messages:** remove ajax link from start conversation ([988dfa9](988dfa9))
* **notifications:** unable to clear all notifications ([4f24c8c](4f24c8c))
* **reports:** invalid date format ([808a740](808a740))
* **reports:** invalid date string ([0914d91](0914d91))
* **socket:** high memory usage on notification updates ([b647d4c](b647d4c))
* **ticket:** priority not updating in realtime ([721f42d](721f42d))
* **unzip:** out dated dependency [#139](#139) ([b0aab01](b0aab01))
* **url:** invalid parse ([1738287](1738287))
* **validation:** email validation for modern tlds [#130](#130) ([febcbdf](febcbdf))
@polonel
Copy link
Owner

polonel commented Feb 2, 2019

This was fixed in 1.0.6

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants