umbraco / Umbraco.Deploy.Issues

1 stars 0 forks source link

Importing .Zip into Heartcore stalls and does not complete #227

Open Bakersbakebread opened 3 months ago

Bakersbakebread commented 3 months ago

I have managed to successfully export from a local instance into a .zip file, the file size is 1.1GB (as it contains media).

The intention is to import this export inside of a Heartcore instance, originally the first instance was on an invalid version causing us to create a new one so we get the latest version of Deploy.

After getting access to the new project (and thus the new version of Deploy) I am able to trigger an import, however, when triggering with the zip that was aforementioned exported - the prompt freezes and does not continue. image

I can see in the network tab that the file upload has started (but timing shows it has stalled).

I saw a previous issue: #214 but unfortunately as this is a Heartcore solution I am unable to create a composer, nor am I able to upload media directly.

Is there some mitigation my end that can be done to ensure this import succeeds? Do I need to be more patient, or is it destined to fail?

AndyButland commented 3 months ago

My guess is that you are hitting the limit described here for the size of upload.

If this is for an import into Heartcore where you won't be able to change these settings, I'd suggest reaching out to support to see if there's some other way they can help you get the media into the platform. Perhaps you can get the blob storage connection and use Azure Storage Explorer or some similar tool to upload the media files. Then, if they are in the expected place on the file system, if you just upload an export without the media in it - which will be much smaller - the media references in Umbraco should link up with the physical files.

ronaldbarendse commented 3 months ago

Umbraco Cloud does indeed have a maximum upload size of 500MB due to Cloudflare being in front of it, but I'm not sure what exact configuration Heartcore uses (it doesn't seem to configure the Umbraco:CMS:Runtime:MaxRequestLength setting, as the UI would otherwise already prevent you from trying to upload a bigger file)...

I would suggest manually splitting the ZIP archive if you want to do this yourself: