We need some more details. Could you post a picture of the enclosure? The substrate you want to use is coco fiber not coco husk, expanded with dechlorinated water.

You mentioned that he isn't pooping. Does he have a hard lump on his right side? Or is not pooping because he hasn't been eating much?

Most likely he will need to go to a vet.