Unable to run fresh clone of prod?
# help-with-umbraco
m
I am setting up a new dev environemtn so I cloned down a copy of production. The clone and build do not throw any errors but I get the below error on the "Initilizing website" page An error occurred The source environment has thrown a Umbraco.Deploy.Core.Exceptions.EnvironmentException with message: Could not find parent with id 1062. The technical details may contain more information. Time: Tue Jul 04 2023 17:05:19 GMT-0400 (Eastern Daylight Time) I can get into the backoffice of the local and see that nothign was downloaded, no doc types, no media types, no page nodes, nothing. I presume because it is not downloading anything it can't find the page 1062 which would be my home page (I am guessing). How do I force it to download EVERTHING?
I tried a workspace restore and it fails cause it can't find part id 1088. I tried to let the page do the webiste iniizliation again and it give the same error referencing id 1088 this time.
I just deleted the whole project folder and checked via git bash again and the same issue is happening
c
I have a similar issue cloning down the Dev env. It says everything under the Vendr shop node has the wrong parent when it restores. Now in my 5th day of waiting for UC support to respond. Btw, this should probably be in the Cloud channel 😉
m
So I just went to the live environt ment, exported the schema and downloaded the uda files. Did a clean on the local dev then is arched for the .uda files locally. Deleted the current ones and replaced for live. This got me a lot father, it initalozed thw site and failed to aync data due to a template miss matach but the doctypes and such are now showing. I have to stop breack but will try to get further and update from there
Ok, what kind of freaking dark magic is happening on the backend of Umbraco? I just launched my local to do more testing and this time it restored with no issues and now I have a working local copy. So if anyone reads this the solultion: Export schema from live, download files, run a "clean solution" on local, find all local .uda files and delte them, copy downloaded schema uda files. Run site, pray.
c
Might make a little sense to me... that the doctypes etc. doesn't show means that the "Deploy" action hasn't run (or failed trying). Maybe on the second reboot of your site, it decided to run a deploy first...?
c
Had mine sorted today by UC Support. See this message for details: https://discord.com/channels/869656431308189746/1126036419291394079/1126578496647475270