Hi @rtardelli
Let's see if we can sort these one by one.
First: Updating table adx_webfile with record id:GUID FAILED due to Subject With Id = GUID Does Not Exist
Do you have a lookup to a Subject entity from the webfile? I don't recognize that one but seems to be failing the upload because the subject records aren't on the destination environment. Never tried this but you might be able to use the include_entities parameters of the download command to include that entity if you really need it.
Second: Updating table annotation with record id:GUID FAILED due to The attachment is either not a valid type or is too large. It cannot be u
Should be a simple one, don't think this is a file size issue. It might be trying to upload javascript files, that's the classic example, and they are by default on the restricted attachment list. But just to be sure find the adx_webfile it refers to and confirm the file type.
Then follow this guide to get to the list of restricted files, you should see that file extension there, remove it, save it and try again.
Regarding the duplicate website records. I'm a bit surprised, the download and upload is based on the main website record GUID, uploading to the same environment should just update the same records... really not sure what happened there. But if you want to delete one of them that should be simple, go to the Websites view, select the duplicate and hit delete, that should cascade the delete down to all the website records.
But please do confirm first if you are actually deleting the duplicate records and not your website! Like I said, I'm a bit surprised it created a duplicate in dev.
Lastly, you might have guessed it already but you need to change Authentication profile before uploading the portal. Should be:
- pac auth create -u <dev environment url>
- pac download --path "C:..." -id <portal guid> -o true
- pac auth create -u <test/prod environment url>
- pac upload --upload "C:..."
Hope these suggestions help