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

Bug Report: Silent Fails on Permission Issues #1090

Open
CobbleVision opened this issue Jul 4, 2020 · 3 comments
Open

Bug Report: Silent Fails on Permission Issues #1090

CobbleVision opened this issue Jul 4, 2020 · 3 comments

Comments

@CobbleVision
Copy link

CobbleVision commented Jul 4, 2020

Please also see update and double post below:

Title: "forever start xy.json" silently fails on permission issues

Description: Forever fails without writing any logs or returning any console output when encountering permission issues. This is painful as debugging on servers might be difficult. Permission Errors do not seem to be handled well in logs overall.

File Description / Terminal Output: Forever log remains empty at 0B. Forever start returns something along "Forever processing file 'app.js'".

Fix Suggestion & Possible Source: On first look it seems as if forever is missing some error handlers and functions to cover these scenarios.

Recreate: Try to chmod 700 /usr/bin/env as root and attempt to "forever start" a config file as "ubuntu" user.

@CobbleVision
Copy link
Author

CobbleVision commented Jul 6, 2020

Update on 06 - July:

Update Report: I cannot fully account for permission issues. However, sometimes when invoked through bash, the forever script does not launch any node service, does not return any log and does not output any error.

Possible Causes: Maybe there is CPU shortages or similar issues killing forever in the process of starting the service. Due to time constraints I cannot fully replicate the difference between a successful launch and a launch, which does not return any output. I could also assume that conflicts with other services or packages might cause this issue.

@shwq774791378
Copy link

``

@shwq774791378
Copy link

هلا

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