question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I didn’t see this in the readme and I think it could be useful to others. I followed your setup instructions on a fresh Ubuntu box, and besides a few dependency problems (the sqlite version was incompatible with the node version), the only real problem I have is that the server doesn’t stay “online”. I don’t know if you have a recommendation for this but if you have any tips on how to get this to stay up I’d love to hear it. I don’t know if maybe I did something wrong, maybe I need to set up some kind of uptime daemon, or what, but I constantly have to ssh into the box and run node index to start the server up again. Also, it defaulted to port 5000 and I couldn’t find in the readme where to change this default port. Any tips for these 2 issues?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
Dan458commented, Jan 18, 2017

To answer your first two questions.

In index.js the last section:

app.listen(5000 || process.env.PORT, function(){ console.log(“The magic is happening on port 5000”);

You can change the port there.

I use pm2 to keep my application live 😃

Hope it helps

Dan

0reactions
nshntaroracommented, Jan 19, 2017

@BanshaTang The “Pool is destroyed” error occurs when the app faces some trouble connecting/interacting with the database. Does the user running the app has write access to the db directory? Please check permissions and let me know.

Edit: So I see you’ve created a separate issue for this. Let’s move this conversation there.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fix Wi-Fi connection issues in Windows - Microsoft Support
Connection problems can be due to a variety of reasons—problems with the website, your device, the Wi-Fi router, modem, or your Internet Service...
Read more >
No Internet Connection? How to Troubleshoot Internet Issues
For Windows 10, click to Start > Settings > Update & Security > Troubleshoot, and then select the troubleshooter for Internet Connections.
Read more >
Fix internet connection problems on Android devices
If you can't access the Internet on your Android device, either through an app or a website, try these troubleshooting steps. Signs of...
Read more >
Fix your Printer's Wireless Connection Issues | HP® Support
Having a problem with wireless printing? If you are suddenly having issues with a wireless print job and aren't sure how to resolve,...
Read more >
Troubleshooting Connection Issues - Verizon
Learn more about solutions for solving common connection issues. Verizon Small Business Support offers Fios internet connection troubleshooting tips and ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found