In an aquaponics system, the bacteria responsible for the conversion of ammonia to usable nitrates for plants form a biofilm on all solid surfaces throughout the system that are in constant contact with the water.
A good way to deal with solids buildup in aquaponics is the use of worms, which liquefy the solid organic matter so that it can be utilized by the plants and/or other animals in the system.