FOG 1.6 Client autoupdate issue


  • Testers

    Clients started to update and throw errors

    alt text

    fog.log

    PS P:\> get-content -wait \\PC3151\c$\fog.log
     12/16/2019 11:30 PM Log Unhandled exception caught
     12/16/2019 11:30 PM Log     Terminating: True
     12/16/2019 11:30 PM Log     Hash code: System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
       at FOG.FOGSystemService.Load()
       at Zazzles.AbstractService.BootStrapModules()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
    
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    
     12/16/2019 11:31 PM Main Overriding exception handling
     12/16/2019 11:31 PM Main Bootstrapping Zazzles
     12/16/2019 11:31 PM Controller Initialize
     12/16/2019 11:31 PM Controller Start
    
     12/16/2019 11:31 PM Service Starting service
     12/16/2019 11:31 PM Log Unhandled exception caught
     12/16/2019 11:31 PM Log     Terminating: True
     12/16/2019 11:31 PM Log     Hash code: System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)
    File name: 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
       at FOG.FOGSystemService.Load()
       at Zazzles.AbstractService.BootStrapModules()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
    
    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
    

  • Developer

    @Greg-Plamondon Any news on this topic? While I am still not exactly sure how this could happen I still haven’t found anything in the fog-client code that would convince me it’s something we can fix. I have worked a lot on that code in the last two weeks.


  • Developer

    @Greg-Plamondon Manually testing to install 0.11.16 while 0.11.17 was already installed I found out that this is actually possible and causing the described issue. Obviously something our previous fog-client developer never considered. I will look into how we can prevent from this happening within the installer.

    But I am still fairly sure this cannot happen through the auto updater! So I really wonder what other means of automatic deployment you use? GPO, sysprep, PDODeploy?


  • Testers

    @Sebastian-Roth I am positive we do not deploy the fog client with group policy.
    Even with group policy, it wouldn’t install over the existing without removing the old unless the installer permits it.


  • Developer

    @Greg-Plamondon I’ve tested and checked the code. From my point of view it’s impossible that a switch to an old server (or manual adjustment of the fog-client version number) can cause a downgrade! My assumption was wrong. So question remains. Are you absolutely sure you don’t have some kind of GPO in place that pushes out a fog-client install??


  • Developer

    @Greg-Plamondon said in FOG 1.6 Client autoupdate issue:

    I still don’t see how the fog installer would allow a downgrade install?

    Definitely shouldn’t happen! I will look into this.


  • Testers

    @Sebastian-Roth I think this was caused by me. I was having issues with fog on the working 1.6 so I rolled back to an older snaphot of the VM. I then went back to Working 1.6 after 2 days. I still don’t see how the fog installer would allow a downgrade install?


  • Developer

    @Greg-Plamondon Yeah, good catch. I saw this but didn’t really think about it. Now that you mention it… would it be possible the machine updated to 0.11.17 and for some unknown reason contacted an older version FOG server and received 0.11.16 again? Can you check the event log on one of these machines as well?

    We definitely need the full client log to figure this one out. Please see if you can grab the log from one of these machines.


  • Testers

    @Sebastian-Roth
    The strange thing is looking at the install dates, Version 11.17 was installed on the 12-13 and an older version installed on 12-16?

    Strange.

    alt text


  • Developer

    @Greg-Plamondon said in FOG 1.6 Client autoupdate issue:

    Yes, I have started the long process of re-installing on all of the affected workstations.

    Ohh no! Too bad. Hope we can find some more evidence on what went wrong and fix this soon.

    I have tested autoupdate from 0.11.16 to 0.11.17 a couple of times and it never failed on my test system.


  • Testers

    @Sebastian-Roth

    Yes, I have started the long process of re-installing on all of the affected workstations.
    I am sure I can find another PC that has the same issue and post more of the log file.


  • Developer

    @Greg-Plamondon Can you please post more of that log? On first sight this looks like something went wrong with updating from 0.11.16 to 0.11.17 and that you now use 0.11.16 FOGService.exe binary with 0.11.17 libraries. I have not seen this happening before so we need to get more information on this.

    I think a quick fix would be to uninstall both versions and re-install 0.11.17 manually. Though this is definitely not the preferred way!

    Do you see this issue happening on one machine or several ones?


Log in to reply
 

368
Online

6.5k
Users

13.9k
Topics

131.3k
Posts