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

Gathio won't start, missing start.js #182

Open
Paavi20 opened this issue Jan 19, 2025 · 1 comment
Open

Gathio won't start, missing start.js #182

Paavi20 opened this issue Jan 19, 2025 · 1 comment

Comments

@Paavi20
Copy link

Paavi20 commented Jan 19, 2025

On Debian 12 I have attempted to install gathio and it seems to have run so far so good, but when I try to get the systemd daemon up and running I get the following output on "sudo systemctl status gathio":
`

× gathio.service - Gathio
     Loaded: loaded (/etc/systemd/system/gathio.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Sun 2025-01-19 15:12:36 CET; 17min ago
   Duration: 22ms
    Process: 15063 ExecStart=/home/paavi/.local/share/pnpm/pnpm start (code=exited, status=203/EXEC)
   Main PID: 15063 (code=exited, status=203/EXEC)
        CPU: 9ms

Jan 19 15:12:36 xxx.xxx.net systemd[1]: gathio.service: Main process exited, code=exited, status=203/EXEC
Jan 19 15:12:36 xxx.xxx.net systemd[1]: gathio.service: Failed with result 'exit-code'.
Jan 19 15:12:36 xxx.xxx.net systemd[1]: gathio.service: Scheduled restart job, restart counter is at 5.
Jan 19 15:12:36 xxx.xxx.net systemd[1]: Stopped gathio.service - Gathio.
Jan 19 15:12:36 xxx.xxx.net systemd[1]: gathio.service: Start request repeated too quickly.
Jan 19 15:12:36 xxx.xxx.net systemd[1]: gathio.service: Failed with result 'exit-code'.
Jan 19 15:12:36 xxx.xxx.net systemd[1]: Failed to start gathio.service - Gathio.

`

When I check what actually goes wrong with the used command it seems to be a missing file:
`

$ pnpm start

> [email protected] start /srv/gathio
> node dist/start.js

node:internal/modules/cjs/loader:1137
  throw err;
  ^

Error: Cannot find module '/srv/gathio/dist/start.js'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1134:15)
    at Module._load (node:internal/modules/cjs/loader:975:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.19.0
 ELIFECYCLE  Command failed with exit code 1.

`
I've got no idea how to fix this, since I do not know how to program. This is on the most current version installed following the installation doc at https://docs.gath.io/running-gathio/installation/

@UnknownOrange314
Copy link

What happens when you run the command pnpm run start?

The results of that command should be give more information about the state of your setup and what the next steps should be.

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

No branches or pull requests

2 participants