Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • David Whiteford 26 posts 79 karma points
    Dec 17, 2014 @ 12:01
    David Whiteford
    1

    Disable Umbraco Upgrade Notification in V7

    Hi,

    Where has this setting moved to in V7? The old setting that was in webconfig is no longer there.

    Thanks in advance.

    Cheers

  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    Dec 17, 2014 @ 12:28
    Dennis Aaen
    0

    Hi David,

    One way that you could do it is by find this file in your Umbraco installtion \Umbraco\Views\directives\umb-notifications.html and the remove this:

    <a ng-href="{{notification.url}}" target="_blank">
        <strong>{{notification.headline}}</strong>
        <span ng-bind-html="notification.message"></span>
    </a>

    Just be aware that is not recommended modify the core, because if you upgrade your Umbraco installation, then you need to remember to do again.

    A better idea is to make a feature request so this could example be a setting in the webconfig or in the UmbracoSettings.config. You can make the feature request here: http://issues.umbraco.org/

    And as I remember you only see this upgrade notification message if you have an status of an administrator account.

    If anybody knows another way to do this please add your thoughts.

    Perhaps you could use the low key solution for now.

    Hope this helps,

    /Dennis

  • Greg 25 posts 103 karma points
    May 14, 2015 @ 21:43
    Greg
    2

    Can't you just add the key in the webconfig to stop it?

    <add key="umbracoVersionCheckPeriod" value="0" />
    
  • Dennis Aaen 4499 posts 18254 karma points admin hq c-trib
    May 14, 2015 @ 22:12
    Dennis Aaen
    2

    Hi Greg,

    Yes you can just set the umbracoVersinChedkPeriod value to 0, just see this documentation https://our.umbraco.org/documentation/Using-Umbraco/Config-files/webconfig7#umbracoVersionCheckPeriod

    /Dennis

  • Simone Chiaretta 134 posts 541 karma points c-trib
    Jul 05, 2016 @ 10:10
    Simone Chiaretta
    0

    The key umbracoVersionCheckPeriod is not in web.config in the latest 7.4.3. If I add it manually I still cannot install Umbraco on a server which doesn't have internet access. How do I disable it?

        2016-07-05 11:58:58,673 [P13912/D2/T15] ERROR Umbraco.Web.Install.InstallHelper - An error occurred in InstallStatus trying to check upgrades
    System.Net.WebException: Unable to connect to the remote server ---> 
    System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 93.90.118.243:80
       at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
       at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
    
  • Dave S 13 posts 77 karma points
    Feb 22, 2018 @ 15:41
    Dave S
    0

    Hi Simone, did you get anywhere on this? I'm looking to disable the upgrade check on our sites as they're behind a proxy and the request is s l o ........ w

    :)

  • Dan Diplo 1554 posts 6205 karma points MVP 5x c-trib
    Feb 23, 2018 @ 13:06
    Dan Diplo
    0

    Not sure if it's any help but InstallHelper calls the CheckForUpgrade web-service that checks for upgrades.

    The actual .asmx file that is called is in Umbraco\Webservices\CheckForUpgrade.asmx and just contains:

    <%@ WebService Language="C#" CodeBehind="CheckForUpgrade.asmx.cs" Class="umbraco.presentation.webservices.CheckForUpgrade" %>
    

    It might be possible hack that - maybe change where the CodeBehind looks so it points to an empty class of your own?

Please Sign in or register to post replies

Write your reply to:

Draft