Category Archives: Fixes

Docker service fails to start when using devicemapper

This has tripped me up too many times now, I need to make a note for future reference. With Ubuntu 16.04 and devicemapper as the docker storage driver, occasionally after a system boot the docker service won’t startup. The logs (systemd status docker.service) show something like: Dec 05 15:18:23 xxx systemd[1]: Failed to start Docker Application […]

Posted in Fixes | Tagged , | Leave a comment

Make Docker play nicely with UFW

I’ve been spending a lot of time working with Docker over the last year, primarily in Ubuntu environments. So long in fact, that I seem to have forgotten this blog exists 🙂 Something it took me a while to figure out was how to stop Docker from bypassing UFW and exposing mapped ports to the […]

Posted in Fixes | Tagged , , | 14 Responses

C# compiler error CS0182 when building via TeamCity

When running a build via TeamCity, I started to get the following exception: CSC error CS0182: An attribute argument must be a constant expression, typeof expression or array creation expression of an attribute parameter type The same code built fine in Visual Studio 2012, and nothing had changed on the build server so clearly something […]

Posted in Fixes | Tagged , , | 34 Responses

TeamCity 7 upgrade “failed to install tomcat service”

I was just (somewhat belatedly) upgrading to TeamCity 7.0 from 6.5 on a Windows Server 2008 box when I got an error. I’ve upgraded numerous times in the past without any problem, but this time I got the message “failed to install tomcat service“. I was advised to check my permissions and settings and either […]

Posted in Fixes | Tagged | 6 Responses

TeamCity unable to load changes from Git due to an existing remote

I’ve recently been doing a lot of work in TeamCity, including switching over from SVN to Git (more to come on that in future blog posts). I’ve just had to deal with an odd issue which was entirely my fault but took a bit of head-scratching to figure out. I got the following exception (where […]

Posted in Fixes | Tagged , | Leave a comment