I'm no expert with SMPS but there are few basic steps that can help with trouble shooting.
No particular order:
1. Identify controller and find datasheets, often "typical application" examples are closely copied by manufacturers in their designs.
2. Power on with a
Dim Bulb tester in series with the mains supply, it will limit inrush current are preserve fuses. Google it.
You set the supply current value by selection of the bulb wattage.
3. Power only the controller from a bench PSU and check for the correct waveforms without risk from mains voltages.
Simple failures you should check for:
Resistor/s, or chain of, that supply current to the controller from rectified mains for startup.
Local bulk cap to the controller, ~20-50 uF, gone high ESR or drifted in value.
Flyback diode that supplies controller operating current for continious operation.
UVLO values