-
-
Notifications
You must be signed in to change notification settings - Fork 128
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
Can't install and run server with systemd, CentOS 7.5 x64 #852
Comments
@newGermes do you have something in impress |
Based on your logs |
2018-07-20T17:37:20.838Z [system] Server started |
I installed three times:
|
And what is the error for the script? (deploy/centos7x64.sh) If it was something like 'not executable' or 'not found' could you try to |
I'm sorry. I don't remember. I can do this from scratch one more time if you give me advice in which way it would be more preferable. Thank you! P.S. File centos7x64.sh was executable |
Well, then just try to run |
Ok. Thank you! |
I have installed with an approach: "sudo ./centos7x64.sh"
Impress Application Server 0.6.2 fs.js:141 TypeError [ERR_INVALID_CALLBACK]: Callback must be a function
-- Logs begin at Вск 2018-07-22 21:39:29 EEST, end at Вск 2018-07-22 22:43:41 EEST. -- P.S. When I have installed first time was the same error. Server is working now :-) |
Thanks, that's a bug in Impress. We will fix it and get a new version available soon. For anyone interested: https://github.com/metarhia/impress-cli/blob/master/cli.js#L182 in |
Thank you for this product ;-) I will be waiting for update. |
Starting with Node.js v10.0.0 `callback` argument in `fs.unlink()` is no longer optional. Refs: metarhia/impress#852
Starting with Node.js v10.0.0 `callback` argument in `fs.unlink()` is no longer optional. Refs: metarhia/impress#852 PR-URL: #35
As per this nodejs/node#12562 node PR callback in async fs functions is no longer optional. This commit fixes remaining usages in impress. Refs: #852 PR-URL: #856
impress and impress-cli are published to npm |
@newGermes have you tried installing the new version of |
@belochub no, not yet. I might as well get this over with... tonight. I'll report you. |
@belochub result is
Stopped
P.S. The IAS is running. Then I tried:
сер 02 15:11:24 webgopro systemd[1]: Starting Impress Application Server... P.S. As I understand, I can control the launch and behavior IAS through SystemD commands? |
@newGermes In the first part how did you stop impress (
Yes you should be able to as impress adds appropriate |
@lundibundi I have three variant how to launch, stop or get status of IAS process (all with 'sudo'):
Result:
P.S. As I understood if I run "impress.service", "impress start" run too, but if I run "impress start", "impress.service" dosen't run as well |
This may be a bug, should be investigated further
That's true, you will only get systemd service if you start it from systemctl, otherwise, systemd doesn't know about it. Also |
Also, do any of the stop commands not stop the impress from running like you reported here? |
@lundibundi No, in that case, the problem was only with status. |
Ok then, I'll open a new issue for this. |
Hello! I installed Impress on CentOS 7.5 x64. I was able to run the server just under the root, "impress start" gave a port error, so I ran it through the "node server &", the error got out too, but the server was working. The server is working now, but how can I track the process (stop) and "systemctl status impress" shows
● impress.service - Impress Application Server
Loaded: loaded (/etc/systemd/system/impress.service; enabled; vendor preset: disabled)
Active: inactive (dead)
лип 20 20:20:46 rider systemd[1]: Starting Impress Application Server...
лип 20 20:20:46 rider systemd[1]: impress.service: control process exited, code=exited status=127
лип 20 20:20:46 rider sh[25591]: /bin/sh: impress: command not found
лип 20 20:20:46 rider systemd[1]: Failed to start Impress Application Server.
лип 20 20:20:46 rider systemd[1]: Unit impress.service entered failed state.
лип 20 20:20:46 rider systemd[1]: impress.service failed.
Thank you for any help!
The text was updated successfully, but these errors were encountered: