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

Check the logs #21

Closed
espoal opened this issue Jul 18, 2014 · 10 comments
Closed

Check the logs #21

espoal opened this issue Jul 18, 2014 · 10 comments

Comments

@espoal
Copy link

espoal commented Jul 18, 2014

After restarting the host, my redmine installation is giving some errors, inviting to check the logs.

But how do I read them? Is there a way to run the container so that I can access the shell? Or maybe to add SSH access?

I was thinking about cloning the container rerunning with the /bin/bash command, and then start redmine manually.

@sameersbn
Copy link
Owner

@servermeta please take a look at https://github.com/jpetazzo/nsenter on getting shell access to a running container.

@petiepooo
Copy link
Contributor

docker logs redmine

Substituting redmine above for whatever you've named your container, of course. Isn't that what they mean?

@sameersbn
Copy link
Owner

@petiepooo I am not able to understand the context of your above comment

@espoal
Copy link
Author

espoal commented Aug 26, 2014

@sameersbn It works GREAT! thank you very much.

I works so well it allowed me to spot a new bug :D

@sameersbn
Copy link
Owner

@servermeta so issue is resolved? if yes, close the bug to let me know 😃

@espoal
Copy link
Author

espoal commented Aug 26, 2014

ok sorry :D

@espoal espoal closed this as completed Aug 26, 2014
@sameersbn
Copy link
Owner

@servermeta btw, if you found a new bug please open an issue and/or publish a PR. thanks.

@espoal
Copy link
Author

espoal commented Aug 26, 2014

@sameersbn already done ;)

#30

keep up the great work

@espoal
Copy link
Author

espoal commented Aug 26, 2014

Btw, I think nsenter should be linked in the wiki or something, it's VERY useful, to fix things down the road.

Maybe it's more related to a general docker guide, but it's very nice here too.

@elderone
Copy link

@servermeta hg clone https://bitbucket.org/haru_iida/redmine_logs /redmine/plugins/redmine_logs

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

4 participants