Umbraco.Forms.Issues icon indicating copy to clipboard operation
Umbraco.Forms.Issues copied to clipboard

v7 disable auto-updates

Open c9mb opened this issue 11 months ago • 2 comments

I understand that v7 is no longer supported, but we have a significant number of sites running v7 with site owners that have no immediate plans to upgrade.

One nuisance issue I am having is its regular attempts to update from 'nightly.umbraco.org' which fails and results in a large error-log entry. Presumably this end-point is no longer in service.

Is there any way to disable its attempt to AutoUpdate ?

c9mb avatar Feb 26 '24 21:02 c9mb

Just had a dig through the V7 source. There's not a config to disable this, but you could modify one of the JavaScript files to to so. As far as I can tell it's only called from the Forms dashboard for admin users. There's method that looks like this:

        $scope.loadStatus = function () {
            ...
            updatesResource.getUpdateStatus().then(function (response) {
                $scope.version = response.data;
            });

            updatesResource.getVersion().then(function (response) {
                $scope.currentVersion = response.data;
            });
            ....
        };

If you remove the call to getUpdateStatus() (and replace it with setting $scope.version to a hard coded value) - looks to me that would remove the attempt to check for upgrades.

AndyButland avatar Feb 27 '24 05:02 AndyButland

@AndyButland - Cheers and thanks for that - I'll check it out now I know what's triggering it (probably me checking sites) and where to look.

c9mb avatar Feb 27 '24 19:02 c9mb

Closing this one now given Forms 7 won't receive further updates.

AndyButland avatar May 16 '24 08:05 AndyButland