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

Debug Mode? #709

Closed
Christian-CFP opened this issue Jul 3, 2020 · 5 comments
Closed

Debug Mode? #709

Christian-CFP opened this issue Jul 3, 2020 · 5 comments
Labels
bug Something isn't working discovery Issues reported without enough information

Comments

@Christian-CFP
Copy link

Christian-CFP commented Jul 3, 2020

Need to enable the debug mode.

hoobs -d / sudo hoobs -d
stop service before does also do nothing...

Error: listen EADDRINUSE: address already in use :::80
at Server.setupListenHandle [as _listen2] (net.js:1313:16)
at listenInCluster (net.js:1361:12)
at Server.listen (net.js:1449:7)
at Function.serverListen [as listen] (/usr/local/lib/node_modules/@hoobs/hoobs/node_modules/express-ws/lib/index.js:42:40)
at API.start (/usr/local/lib/node_modules/@hoobs/hoobs/server/api.js:191:17)
at module.exports (/usr/local/lib/node_modules/@hoobs/hoobs/server/cli.js:172:21) {
code: 'EADDRINUSE',
errno: 'EADDRINUSE',
syscall: 'listen',
address: '::',
port: 80
}
/usr/local/lib/node_modules/@hoobs/hoobs/bin/hoobs bridge -u /root/.hoobs/etc -p /root/.hoobs/node_modules -r -d
[HOOBS] Stopping server.

And I need access to the debug file. I dont know where its located.

@Christian-CFP Christian-CFP added bug Something isn't working discovery Issues reported without enough information labels Jul 3, 2020
@askovi
Copy link
Member

askovi commented Jul 6, 2020

In order to launch HOOBS in debug mode, you have to stop the HOOBS service first. Run the following via ssh:

sudo hoobs service stop

then

hoobs -D

@Christian-CFP
Copy link
Author

Got it but I have to run the commands in terminal ssh connection. Inside HOOBS terminal, HOOBS stop working.

@askovi
Copy link
Member

askovi commented Jul 6, 2020

Correct. The HOOBS UI terminal cannot run without the HOOBS service running.

@Christian-CFP
Copy link
Author

Maybe I missed this info on your help site or it is not mentioned?

@askovi
Copy link
Member

askovi commented Jul 6, 2020

Added this information to the documentation notes here: https://support.hoobs.org/docs/5e764e72e87d1e02b6c19d4c

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

No branches or pull requests

2 participants