WARNING: No swap limit support when using Docker, Droplet, and Discourse
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x

I documented the bug here and was wondering if anybody would be interested in helping me to debug it.
https://github.com/eviltrout/discourse-droplet/issues/11

Is anybody else getting this error when using discourse-droplet?

Thanks in advance!

Digital Ocean default droplet images come without swap space, have you added it yet? https://www.digitalocean.com/community/articles/how-to-add-swap-on-ubuntu-12-04
weslly over 5 years ago
@weslley That's automatically handled in the deploy script on line 9...no? https://github.com/eviltrout/discourse-droplet/blob/master/deploy.rb#L9
akshatpradhan over 5 years ago
Found this error (and the solution) here: https://meta.discourse.org/t/docker-error-on-bootstrap/13657, seems like this will do the trick: sudo apt-get install cgroup-lite; sudo reboot
weslly over 5 years ago
@weslly I don't think I can add that to deploy.rb like that. https://github.com/eviltrout/discourse-droplet/blob/master/deploy.rb#L125 Where would I put that?
akshatpradhan over 5 years ago
Can you try this? https://gist.github.com/weslly/b143bdb4d215a934d663
weslly over 5 years ago
@weslley Here's the error I get: https://gist.github.com/akshatpradhan/9796896
akshatpradhan over 5 years ago
Looks like a DNS error. Can you try again commenting the line 145?
weslly over 5 years ago
@weslley now this https://gist.github.com/akshatpradhan/9797552
akshatpradhan over 5 years ago
hi @weslly I was wondering when you use discourse-droplet, do you get the error in the bounty?
akshatpradhan over 5 years ago
@akshatpradhan Just tried it and got the same error. I'll try to fix it.
weslly over 5 years ago
@weslly I'm here all day to help test out your fixes too.
akshatpradhan over 5 years ago
@weslly would you be able to write up a small summary of your findings and submit it to https://github.com/eviltrout/discourse-droplet/issues/11 Since other people are seeing this issue, I believe @eviltrout would find the debugging you did very helpful to him.
akshatpradhan over 5 years ago
@weslly This really looks like a developer bug. If you can submit a summary of your findings to Issue #11 and then paste a link to the GH issue in the Solution, I can just award you the $25.
akshatpradhan over 5 years ago
@akshatpradhan i'm creating a new account on DO to test it now :)
weslly over 5 years ago
I couldn't make it work here but I tried it again today and it worked with the new update by the repository owner.
weslly over 5 years ago
Its fine, I'd rather the money go to you than charity!
akshatpradhan over 5 years ago
thanks :)
weslly over 5 years ago
awarded to weslly

Crowdsource coding tasks.