irritants and leaky gut
Agreed with glittergal, pause re-feed and new fasts with pristine diet in between may be necessary.
In regards to the green mucus: green usually means presence of microorganism.
It can be summarized that way:
Dysbiosis and or Irritants (gluten - 10 thousand of different fragments, while only 6-10 are now investigated, and in non-conventional labs, gliadin, pesticides, BT-toxin, contaminants) poking wholes in the GIT -> Leaky Gut -> undigested macromolecules (and or microorganisms) leaking in the blood stream and deposited in joints or other body parts -> alteration of body's antigen properties due to binding with foreign molecules (IgE and or eosinophils eleavated and or markers like RF, anti-dsDNA etc) with auto-immune reaction and OR neutrophils elevated to fight the invaders (microorganisms)
... all this translated in pain, dysfunction and secretions, and cry of the Body to stop the offending factors/deeds
Ref greenmedinfo.com and NIH not so known articles.