Push up on the plywood until the foam is touching the roof decking s underside.
Sagging roof ridge repair.
This may have been caused by any number of factors.
I pulled my own garage ridge back up to level with screw jacks on the ridge board and turnbuckled cables from opposing rafter ends.
You may find that several are in need of straightening and that some of the sheathing must be replaced.
If necessary jack up any sagging at the ridge.
If these already exist nail a 2x4 to them directly under the 2x4 plate you nailed down before.
Keep the plywood in place using a piece of lumbar strapping until you can get a roofing expert to repair it.
Ridge beam or ridge board sagging or damaged.
If your roof is sagging wavy or bowing there are six important things in the attic to check from a structural standpoint.
To permit mounting of the roof sag expander first bolt holes are drilled in corresponding positions near mid span for each pair of sagged rafters that are to be pushed apart and back to a more nearly straight position.
In a stick frame non truss sloped roof these issues usually cause the roof ridge to sag in the middle giving it a swayback look but can also cause one side of the roof to sag.
Once you have established how much the roof sag needs to be jacked up lay a 2x4 plate across the ceiling joists and nail directly under the ridge of the roof.
The roof took it all in stride just fine.
Bolstering the beams of your roof is another solution to repairing a sagging roof however it is often something that requires assistance from another able bodied person since beams can be extremely heavy.
Fixing a sagging roof by bolstering the beams.
Now add collar ties from one side of the rafter to the other.
Fixing a gusset plate.
Place the plywood and styrofoam side up against the damaged roof decking.
The first step is to find out how many rafters are sagging and if anything else is damaged.
Took about two weeks to very slowly encourage everything to move back into place.
The operative words here are gently and slowly.
Roofs may sag because a ridge beam or ridge board is cracked or damaged.