umbraco / Umbraco.Cloud.Issues

Public issue tracker for Umbraco Cloud
26 stars 2 forks source link

Warn about project disk usage in portal #721

Open bjarnef opened 8 months ago

bjarnef commented 8 months ago

Issue description

On a migrated Umbraco Cloud project from Umbraco 8 to 10, started as clean Umbraco 10 project, which has been running on Umbraco 10 for a while and no issues with deployment to Development and to Live environment.

I upgraded to latest v10, which also went well.

I have upgraded to latest v12 locally and push to Development, which also went well, but deployment of Umbraco 12 changes to live environment fails.

I have been in touch with Umbraco Cloud support team, and it seems it is an issue with disk usage. However I don't see any warnings in projects overview or project usage view.

I think the Media Usage only check for storage in blob container, but any eventually files in local wwwroot/media folder.

Potentially there could be a lot of static files in wwwroot folder, App_Plugins files and other stufff filling disk usage.

Because of the full disk usage it also seems I can't delete the git remote branches on live environment besides master branch.

I think it would be great to show in the portal how much of disk is being used and warn about it when it is close to the limit.

It is possible to find disk usage in Kudo under System info, but it doesn't indicate what take up the disk space.

image

bjarnef commented 8 months ago

I came across this blog post: https://feng.lu/2017/02/23/Review-and-manage-your-web-site-space-in-Azure/

It is possible to install the "Azure Web Apps Disk Usage" extension via Kudo?

It also demonstrate a Disk Space dashboard by using Application Insight and Azure web site API.

sajumb commented 8 months ago

Hi @bjarnef, Thank you for bringing this feature request to our attention and for your proactive communication through the support ticket.

We're glad to report that the issue you encountered appears to be a rare and isolated case. Our support team has successfully resolved it by clearing out a few GB of unnecessary data. At Umbraco Cloud, we prioritize efficient management of resources. Our system is designed to actively monitor and perform clean-up operations on unused data, ensuring optimal performance without requiring our customers to monitor app service disk space themselves. This process is typically seamless and does not impact user experience.

Nevertheless, we appreciate your input and have duly recorded your feature request.