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

Hosted method still dosen't work(linux) #14

Open
Sohail-XD opened this issue Mar 22, 2023 · 3 comments
Open

Hosted method still dosen't work(linux) #14

Sohail-XD opened this issue Mar 22, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@Sohail-XD
Copy link

Sohail-XD commented Mar 22, 2023

[email protected] register_linux
node backend/register.cjs linux

Using default mode: systemd
Registering the service
Installing service on /etc/systemd/system/chevron.service
node:events:491
throw er; // Unhandled 'error' event
^

Error: EACCES: permission denied, open '/etc/systemd/system/chevron.service'
Emitted 'error' event on daemon instance at:
at init. (/usr/lib/node_modules/node-linux/lib/daemon.js:491:42)
at init.emit (node:events:513:28)
at /usr/lib/node_modules/node-linux/lib/systemd.js:199:36
at node:fs:2171:7
at FSReqCallback.oncomplete (node:fs:192:23) {
errno: -13,
code: 'EACCES',
syscall: 'open',
path: '/etc/systemd/system/chevron.service'
}

@Sohail-XD
Copy link
Author

I did run it with sudo

@kholmogorov27 kholmogorov27 added the bug Something isn't working label Mar 24, 2023
@noir-Z
Copy link

noir-Z commented Apr 20, 2023

I have the same issue, is there anything I can do to help?

@kholmogorov27
Copy link
Owner

I don't know yet what creates this error, it could be a problem with node-linux library that chivron uses. One way or another, you can compile the application yourself.

  • Clone this repository
  • Build
  • Run
npm run compile

it will create an executable file which starts Chevron server. You can add this file to autorun or make it a service on your OS.

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

No branches or pull requests

3 participants