Hi,
There is a small error in the doubler circuit. I have constructed the original circuit and a modified version in LTspice to illustrate the issue:

In the original circuit the second rectifier has its negative terminal grounded. We essential have two full wave rectifiers, the only difference is that the input on the top one is capacitive coupled to the transformer. We get two similar output voltages:

In the modified circuit the rectifiers are stacked. In this configuration the voltage on the second rectifier is added to the output of the bottom one. This gives the desired result:

This just shows how to configure the rectifiers, it does not help with the overvoltage condition on the LM317 if the 48V output is connected to ground.
Regards,
Jay_Diddy_B