-
Notifications
You must be signed in to change notification settings - Fork 77
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
Problems running web UI on startup #276
Comments
That's a good question. Cursory googling suggests that it's from trying to log from a signal handler. I don't have any experience with If this is a machine where you can muck around a bit, in resque/resque#1493 the reporter of the issue stitched in backtrace reporting into the standard logging module, which would at least help us track down where in our code it's throwing. I imagine if we can figure out where it's throwing, we could probably figure out what signal it's receiving and then that might help to debug the |
I don't know if this is still an issue, but I found that running in Foreground mode, and suppressing the "open a browser" option help immensely. My unit file is:
|
Thank you @stephenreay, that |
So, now I have my own issue related to this while trying to deploy to a production environment - there is no apparent (and certainly none documented) way to pass a redis connection string/config to the qless-web script. It does accept a filename as the first argument, and will try to load it - but there is no real clue for non-ruby developers how to use this to configure a different connection than the default. The most annoying part of this: in the
Any suggestions? Does anyone use this in a non-toy environment without hosting it inside their own ruby app as documented in the README (https://github.com/seomoz/qless#web-interface) ?? For reference: I need to be able to set the hostname/IP, protocol (i.e. TLS, and thus CApath), and DB number. |
I've been trying unsuccessfully to get qless-web to run automatically on startup in Ubuntu 16.04 using either systemd or supervisord. I've tried all kinds of config tweaks but they all ultimately end with the service disappearing from the systemctl list or switching to
FATAL
status in supervisorctl. It works just fine if I run it manually from CLI.Here's my very simple systemd file:
Doing a daemon-reload && restart yields the following uninteresting syslogs:
I see the same file descriptor message when running manually, so I doubt that's it.
I found another log file
~/.vegas/qless_web/qless_web.log
which contains:Is something preventing the real underlying issue to be logged?
The only thing that might be different on this machine is it has Ruby 2.3.0 (via apt-get) installed. Could that be it?
How can I troubleshoot this further? Thanks!
The text was updated successfully, but these errors were encountered: