Hi Marjan,
sorry to hear that your first bag didn’t grow properly. I’d be happy to try and help troubleshoot and work out what went wrong – do you have any photos that might help to work it out?
The easiest way to upload/share them is to use http://imgur.com/ Just click the green ‘New Post’ button at the top and upload your image(s), and then use the link they give you to paste in here.
It’s possible that the green mould was present inside the bag, but not visible, and then when the bag was opened and sprayed it began to take over.
It’s normal for the substrate to go solid when colonised – this is the mycelium binding all the ingredients together. And it doesn’t sound like you put the bag in a bad environment – the mushrooms don’t need much light at all, but if they didn’t start to grow after full colonisation, it could be a sign of low humidity or problems inside the substrate with the mould.
Did you use fresh coffee and good quality spawn?
best wishes,
Adam