As Razzle pointed out, doctors don't actually know what causes sarcoidosis, but it can be a nasty disease. There are also skin-only versions, such as lupus pernio (which is not related to lupus, so I don't know where the name came from).
Here's a great blog by a wonderful writer who happens to have sarcoidosis:
chronicville.wordpress.com/