Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

[Bug] Unable to start Gauzy Server on Ubuntu Linux #7735

Open
wilkyboy opened this issue Apr 6, 2024 · 4 comments
Open

[Bug] Unable to start Gauzy Server on Ubuntu Linux #7735

wilkyboy opened this issue Apr 6, 2024 · 4 comments
Assignees
Labels
type: bug 🐛 Something isn't working
Milestone

Comments

@wilkyboy
Copy link

wilkyboy commented Apr 6, 2024

Automatic error report for Gauzy Server App 0.467.7

Description 🐊

UnhandledRejection AppError: Cannot read properties of undefined (reading 'replace')
   at initializeConfig (/opt/Gauzy Server/resources/app.asar/index.js:215:15)
   at IpcMainImpl.<anonymous> (/opt/Gauzy Server/resources/app.asar/index.js:332:11)
   at IpcMainImpl.emit (node:events:517:28)
   at IpcMainImpl.emit (node:domain:489:12)
   at WebContents.<anonymous> (node:electron/js2c/browser_init:2:86338)
   at WebContents.emit (node:events:517:28)
   at WebContents.emit (node:domain:489:12)

To Reproduce 🧵

Run installer, default settings (no SSL, sqlite DB), click save

Screenshots 📸

image

Additional Information ⚓️

Clean install of Ubuntu Desktop 22.04.4 with all updates installed. Same issue reoccurs on restart after crash.
Same issue present in 0.467.4

Configuration 🛠

App Version ⛓: 0.467.7
Platform 🖥: linux x64
Release 📦: 6.5.0-26-generic

@evereq
Copy link
Member

evereq commented Apr 7, 2024

@wilkyboy thank you for reporting, we will ask one of our engineers to test it on Ubuntu.

@dendycodes can you try to install https://github.com/ever-co/ever-gauzy-server/releases/tag/v0.467.7 on your Ubuntu PC and let us know if you can reproduce the same issue? Please keep all default settings etc. Also, if it fails, please attach the log files from the server and record at which point the error popups.

@dendycodes
Copy link

Yep, sure, i will take care @evereq

@evereq evereq transferred this issue from ever-co/ever-gauzy-server Apr 7, 2024
@evereq evereq changed the title Automatic error report for Gauzy Server App 0.467.7 [Bug] Unable to start Gauzy Server on Ubuntu Linux Apr 7, 2024
@evereq evereq added the type: bug 🐛 Something isn't working label Apr 7, 2024
@evereq evereq added this to the v0.9 milestone Apr 7, 2024
@evereq
Copy link
Member

evereq commented Apr 7, 2024

Reproduced by @dendycodes

image

image

evereq added a commit that referenced this issue Apr 7, 2024
evereq added a commit that referenced this issue Apr 18, 2024
* feat: nav menu builder service & types

* feat: base nav component & common nav module

* wip: dynamically add main nav section and items

* feat: added main nav menu section

* fix: if menu items want to removed

* fix: translate main nav menus when language changed

* wip: dynamic sidebar main nav menu

* fix: improved get tasks statistics queries

* feat: finds the employeeId associated with a given userId

* feat: applied mikro orm query for get tasks statistics

* fix: make code consistent for statistic service

* fix: removed that unnecessary InjectRepository

* chore: add more logging for #7735

* chore: revert .env local

* wip: working for total duration for given time frame

* fix: updated column defintion

* fix: task statistics for time tracking for Mikro ORM

* fix: enabled query log for task statistic

* fix: report enabled/disabled for specific organization

* fix: add organization & tenant mapping condition in leftJoin

* fix: dynamic menus add & remove based organization selection

* fix: add change detection

* fix: removed unnecessary previous organization

* fix: default selected menu item by navigation URL

* fix: enabled my tasks menu only for employee

* feat(plugin): job post plugin basic structure

* fix(env): reverted env local file

* chore(deps): added dependencies for @gauzy/job-post-plugin

* fix: export integration tenant module for job post plugin

* feat: employee job post plugin (browsing jobs from AI)

* fix: rename job-post to job-search plugin

* fix: docker build

* fix: added missing job search plugin package for server & desktop

* feat(plugin): job proposal template plugin basic structure

* feat: moved employee proposal template to plugins folder

* feat: inclusion of job proposal template plugin in APIs

* fix: docker build

* fix: added missing await/async

* fix: removed duplicate plugins

* fix: refactor  constructor function or class type

* fix: organization contact don't access proposal directly

* feat: get target repository from active transactional entity manager

* feat: get raw connection from typeorm data source

* wip: custom fields for taggable for proposals

* chore(deps): bump mysql2 from 3.9.3 to 3.9.4

Bumps [mysql2](https://github.com/sidorares/node-mysql2) from 3.9.3 to 3.9.4.
- [Release notes](https://github.com/sidorares/node-mysql2/releases)
- [Changelog](https://github.com/sidorares/node-mysql2/blob/master/Changelog.md)
- [Commits](sidorares/node-mysql2@v3.9.3...v3.9.4)

---
updated-dependencies:
- dependency-name: mysql2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* fix: missing proposal update command handler

* feat: custom fields proposals for tag entity

* feat: custom fields for employee entity

* fix(deepscan): removed unused import

* fix: if AI integration delete hide job browse & matching menu

* fix: removed deprecated typeorm connection (use instead of entity manager)

* fix: displayed rollback pipeline transaction error

* fix: added some postfix for random emails generated by faker

* fix: appends a postfix before the "@" symbol

* refactor: switch from faker email() to exampleEmail()

* [Feat] Job Browse/Matching (Job Search Plugin) (#7749)

* fix: if AI integration delete hide job browse & matching menu

* fix: job search plugin description

* fix: removed unnecessary inverse relationships

* fix: use custom repository for job preset

* fix: columns definition for many to many relations

* feat(plugin): job matching plugin basic structure

* fix: refactor  constructor function or class type

* fix: organization contact don't access proposal directly

* fix: job matching module moved on plugin folder

* fix: added missing packages

* fix: custom embedded fields for employee entity

* fix: refactor register custom embedded entity field function

* feat: moved employee job preset to plugins folder

* fix: return employee jobPresets from custom entity fields

* fix: trying to save custom/embedded entity fields for employee entity

* feat(migration): alter custom fields for employee [table] for SQLite

* feat: add fake column for custom fields

* feat(migration): alter custom fields for employee [table] for PostgreSQL

* feat(migration): alter custom fields for employee [table] for MySQL

* fix: return updated employee job presets

* fix: added missing job matching build command

* fix: moved job matching plugin inside job search plugin

* fix: export @gauzy/core connection entity manager provider

* fix: seeding jobs data inside plugin

* fix: added public export for custom entity fields

* fix: added missing seeder module

* fix: import/export entities for plugins

* fix: will add factory reset feature for plugins

* fix: updated job preset entities

* fix: use typeorm string utils instead of lodash js

* fix: swagger defintions for employee preset APIs

* [Feat] Job Proposal Plugin (#7750)

* feat(plugin): job proposal template plugin basic structure

* feat(wip): job proposals plugins structure

* fix: duplicate identifier 'ApiProperty'

* feat: proposal update command handler

* fix: proposal module moved on plugin folder

* Revert "fix: proposal module moved on plugin folder"

This reverts commit ccdd9ff.

* fix: missing proposal update command handler

* feat: custom fields proposals for tag entity

* feat: job proposals build command

* fix: cannot find module '@core/entities/internal'

* feat(wip): job proposal plugins structure

* fix: missing proposal seeder service & module for plugin

* feat(migration): alter custom fields for tag [table]

* fix: proposal module moved on plugin folder

* fix: removed console

* feat: job proposal plugin include in API

* fix: proposal template module moved on proposal plugin folder

* fix: job proposal plugin seedable

* fix(deepscan): removed unused import

* chore(deps): bump @mikro-orm/core from ^6.1.12 to ^6.2.1

* fix: convert custom types for mikro-orm/core

* feat: embedded column decorator for custom fields (typeorm)

* fix: docker compose builds

* fix: mapped employees to the specific users

* fix: ⚠ Component ID generation collision detected

* fix: users management page API

* chore: improvements to docker compose

* chore: remove version from Docker Compose (obsolete) and add min required version to README

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: RAHUL RATHORE <41804588+rahul-rocket@users.noreply.github.com>
Co-authored-by: Rahul R <rahulrathore576@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@evereq
Copy link
Member

evereq commented Apr 29, 2024

@dendycodes I think it's fixed, can you check if you can run Gauzy Server in your Ubuntu using latest pre-release build https://github.com/ever-co/ever-gauzy-server/releases/tag/v0.475.8 please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants