-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Sourcing top-level config files fails if files are not readable #3033
Comments
Syslog during push with ACL (
|
As the ACL plugin is not official, you'll need to file an issue in it's issue tracker. Sorry. |
@josegonzalez tracing is not working at all (please read carefully once again). I was just giving you the context (about the ACL). |
Ah gotcha. What happens when you disable the plugin, so you get output? With that plugin enabled, does it just exit immediately? You can turn on the events log (on a phone so can't link you but it's on your docs site) to see what plugin triggers are hit during a run, which may be able to yield more details. |
Unfortunately, I still don't get the output when during i.e. Also enabling events looks weird (check this output):
So it looks like the logger has been enabled but then the I've been using Dokku for more than year but I've never encountered such issue (especially apps and databases are running fine). PS. Dokku has been installed and upgraded via |
Also when I disable plugin ( |
Did this suddenly start happening or did you change anything about your system? I might have to ask you to hop on our slack channel for interactive debugging later (getting on a flight now) as this is an... Odd issue to say the least. |
@josegonzalez thanks. I will try to catch you on Slack when you are available (btw. have a safe landing!). I upgraded dokku and docker a week ago but I haven't noticed any issues (everything is working fine - push, deployment, redis, mysql, postgres, etc.). Today I was configuring the ACL plugin and noticed that something is wrong (tracing, logging, etc.). |
@josegonzalez I was able to track the issue - there was a problem with permissions on the Check how they looked like (as
I've updated them to:
and inside
@josegonzalez could you confirm if permissions are correct now? Everything seems to be working fine. I suspect upgrade must have corrupted the permissions. Maybe it would be good to check permissions when running dokku commands and show info to the user? WDYT? |
Our upgrade doesn't change permissions, though we should check if the file(s) are readable. Good catch! |
@josegonzalez you are right - it wasn't caused by an upgrade but typo in one of our Ansible playbooks. I'm sorry about incorrect info. Anyway, it would be good to check those permissions to avoid such debugging in the future :). |
If the files are unreadable, exit immediately so developers take notice. Closes #3033
Closing as there is a pull request available. |
Description of problem:
I have encountered a really weird problem. I've noticed it when I was configuring ACL plugin. It turned out the ACL is not respect the commands correctly. I wanted to turned on
trace
but it don't work for me.When I enable tracing (via
dokku trace on
) and try to run the command over SSH orgit push
it simply does not show any additional output.If I ssh to the server and run (as
dokku
user):dokku --trace apps
I can see the trace. Any additional way to track this issue? I'm running out of ideas.I tried to check the events log (tail -f /var/log/dokku/events.log) but they are not being refreshed - they are updated only when I restart the VPS.
Here is
dokku report
ouput:Environment details (AWS, VirtualBox, physical, etc.): OVH VPS
How was Dokku installed?: via
apt-get
Steps to Reproduce:
dokku trace on
Actual Results: no additional output
Expected Results: additional output displayed
The text was updated successfully, but these errors were encountered: