The purpose of this article, the second of a series on this subject, is to develop a viscosity theory for degenerate complex Monge–Ampère flows on compact Kähler manifolds. Our general theory allows in particular to define and study the (normalized) Kähler–Ricci flow on varieties with canonical singularities, generalizing results of Song and Tian.