Certified GKH Gardening Expert
This can be due to overwatering, or overly thick soils. Fungicides may help, but well draining soil is going to be key. If you are certain that your mix drains, quickly, then I would back off on watering until the soil is dry down to about 5-8 cm, completely. A soil meter may be necessary.
These articles will help:
https://www.gardeningknowhow.com/garden-how-to/soil-fertilizers/testing-moisture-in-plants.htm
https://www.gardeningknowhow.com/garden-how-to/soil-fertilizers/testing-soil.htm
https://www.gardeningknowhow.com/garden-how-to/soil-fertilizers/soil-ph-plants.htm
https://www.gardeningknowhow.com/garden-how-to/soil-fertilizers/making-sure-soil-drains-well.htm
https://www.gardeningknowhow.com/edible/vegetables/spinach/how-to-grow-spinach.htm