To do as required/ to put back on the rails
Return it to its original position. Reestablish it or build it anew as before (the term means its fixed place, its foundation).
("And the heads of the fathers, when they came to the house of the Lord which was in Jerusalem, offered themselves to the house of God, to set it on its foundation" - Ezra 2:3, and so: "Rabbi Yehuda says, 'Even the builder of a house upon its foundation was not to return.' Rabbi Eliezer says, 'Even the builder of a house for the children of Saron was not to return.'" - Sota 8:3)
Translation
Expression (Hebrew)
הֶעֱמִיד עַל מְכוֹנוֹ
Definition (Hebrew)
הֶחֱזִיר אוֹתוֹ לְמַצָּבוֹ הַקּוֹדֵם. בִּסֵּס אוֹתוֹ אוֹ בָּנָה אוֹתוֹ בַּשֵּׁנִית כִּמְקֻדָּם (מְכוֹנוֹ מַשְׁמָע מְקוֹמוֹ הַקָּבוּעַ, הַיְּסוֹד שֶׁלּוֹ).
("וּמֵרָאשֵׁי הָאָבוֹת בְּבוֹאָם לְבֵית ה' אֲשֶׁר בִּירוּשָׁלִָם הִתְנַדְּבוּ לְבֵית הָאֱלֹהִים לְהַעֲמִידוֹ עַל מְכוֹנוֹ"- עֶזְרָא ב סָח, וְכֵן:"רַבִּי יְהוּדָה אוֹמֵר אַף הַבּוֹנֶה בַּיִת עַל מְכוֹנוֹ לֹא הָיָה חוֹזֵר רַבִּי אֱלִיעֶזֶר אוֹמֵר אַף הַבּוֹנֶה בֵּית לְבֵנִים בַּשָּׁרוֹן לֹא הָיָה חוֹזֵר"- סוֹטָה ח ג)