You are not alone, often when the system is opened up or has sat for a long time it can be a little difficult to bleed it.
Was the truck running before you did this work or come from the PO with it used to run till………? Thus you bought it not running?
Some additional thoughts to the above.
1) Did you refill the fuel filter with diesel or atf or just put it on empty?
2) Did you replace the starter, cables, and batteries because it would not turn over or would not start? To IDIBronco’s comment above it has to turn at a fairly good clip to start. I will assume it does after all that unless you state otherwise.
3) Although you did some glow plug work did you test after to see if they are working? Generally if your wait to start light goes on and stays on for 8-15 seconds they are working. If it does not come on or just for one second it is not working.
4) You replaced the fuel shut off solenoid. So double check it is getting power and it clicks when it does. If it does not open it’s not going to start. (Your injector lines will never bleed properly as nothing or little to nothing is going to them.)
5) Bleeding the lines can take some time. So do it when you have time and are in a good mood.
a) Hook a battery charger to your batteries to keep them charged.
b) Fill up your fuel filter or do it again.
c) Test by turning over the engine for pressure on a gauge or test by opening the schrader valve to see if the lift pump or electric pump is working. It should squirt diesel or show 3-7psi. A bad lift pump or stuck tank transfer switch is very common. Since the truck is new to you do not assume they work!
d) If no on the pressure test, now pressure test the fuel line between the lift pump and fuel tank to see if it is blocked. Use the rubber hose off the lift pump to the gas tank with a vacuum pump to pull diesel or via 5psi of compressed air to blow to see if you hear bubbles in the tank. That rules out a blockage. Some run a hose to a 5 gallon fuel can and to the lift pump. That takes the supply side of the lift pump out of the equation. But no pressure and no blockage likely a bad lift pump too.
e) So everything you tested seems to be working then it’s time to bleed the system. Wear safety glasses. I crack all the lines at the injectors, but pull up on the line, just loosening the nut a little does not always break open the line. Now I crank for 10 seconds on, 20 second off, 6 times. If I start to see diesel leaking out/shooting out I may do it one more time. If not I would do it another 6 times and check. If you have a assistant you can just watch till they start to leak diesel. Then make them all snug tight, hulk tight will damage them. Now if the lift pump, glow plugs, IP solenoid, IP, and injectors are all working it should start. It will run poorly for a minute or so, then as the air bleeds out start to idle normally.
f) In a recent thread someone used a vacuum pump with a brake bleeder attachment, and hooked a shader valve fitting to vacuum side to hook up to the schrader valve on the fuel filter housing and suck the air out of the fuel filter. That sucked diesel from the tank and thus primed the supply lines and fuel filter. I thought that would help when you replace a fuel filter. So food for thought.
Let us know what you find and attach some pics.
Often when you buy a new truck and do a bunch of work it can be challenging to get it running as you have changes so much it is hard to know if a repair did not get done right or if the truck had other unknown issues. But this membership is here to help you figure it out.
Welcome to the club Shiner!