Military AI Works • "Something went wrong while updating Global Libraries"
Page 1 of 2

"Something went wrong while updating Global Libraries"

Posted: 05 Jan 2020, 20:52
by aujeffk
I get this message when trying to update the Global Libraries. The red circle indicates 5 updates. It goes and updates to 3.5 pretty quick. Then it downloads and unpacks 3.6, and after 99%, I get this message. It says to try again or contact the forums. I've tried several times. Any help is appreciated!

Re: "Something went wrong while updating Global Libraries"

Posted: 05 Jan 2020, 21:46
by aujeffk
I've attached the zip file of the .txt errors file in the appdata/local logs folder. Looks like some kind of exception error accessing a folder?

Re: "Something went wrong while updating Global Libraries"

Posted: 06 Jan 2020, 18:27
by Greg
Hi!

Many thanks for your report. There's an issue indeed with the zip file for update 3.6. I'll let you know it's fixed.

Re: "Something went wrong while updating Global Libraries"

Posted: 07 Jan 2020, 20:37
by Greg
A fix for this issue was pushed to our server. You should now be able to continue the update.

Re: "Something went wrong while updating Global Libraries"

Posted: 11 Jan 2020, 21:43
by aujeffk
That worked! Thanks for your hard work Greg!

Re: "Something went wrong while updating Global Libraries"

Posted: 15 Jan 2020, 20:56
by Greg
Glad I could help.

I wish I had time for more region updates but they'll have to wait until life settles down again.

Re: "Something went wrong while updating Global Libraries"

Posted: 21 Jan 2020, 15:50
by GuyH
Hi Greg,

Just experiencing the exact same issue. After trying it a few times it keeps saying the error : "Something went wrong while updating MAIW Global Libraries. Please try again or contact us on our forums"

And I keep getting this error with all the regions.

Can you help me out?

Re: "Something went wrong while updating Global Libraries"

Posted: 21 Jan 2020, 16:29
by Greg
Hi Guy,

Can you confirm you're on Matrix version 1.7.1? You can find it in the bottom left corner of the app.

If not, you should normally get a popup to update but you can also get the latest version from our Downloads section here and then install it on top of your current installation.

If you are in 1.7.1, then could you please go to %localappdata%\Military_AI_Works in explorer? There should be a folder in there starting with Matrix.exe containing a logs folder. Zip up the logs folder and attach it here.

Re: "Something went wrong while updating Global Libraries"

Posted: 15 Dec 2020, 10:14
by jmgc
Hi Greg,

Needing your help for the same problem!

I have the Matrix version 1.7.1I and I have been trying several times to install the Global Libraries, and always I am receiving the same error : "Something went wrong while updating MAIW Global Libraries. Please try again or contact us on our forums"

I am attaching u the file of the error that I found at the %localappdata%\Military_AI_Works.

Many thanks for your help and I am waiting for your response.

José maría González coca

Re: "Something went wrong while updating Global Libraries"

Posted: 16 Dec 2020, 21:55
by Greg
Hi José.

Thanks for contacting us. It looks like our CDN is throwing an access error for your download request but I'll need to dig a bit deeper to learn why.

I'll get back to you as soon as possible.

Re: "Something went wrong while updating Global Libraries"

Posted: 17 Dec 2020, 07:23
by jmgc
May thanks Greg for your answer.
waiting for your news.
Thanks again and best regards

Re: "Something went wrong while updating Global Libraries"

Posted: 29 Dec 2020, 00:15
by rworthnyc
Hi, I am having the same issue , Log :

2020-12-28 15:26:09.0452 - ERROR: Install Error
EXCEPTION: System.UnauthorizedAccessException: Access to the path 'C:\Program Files\Military AI Works' is denied.
at SevenZip.SevenZipBase.ThrowException(CallbackBase handler, Exception[] e)
at SevenZip.SevenZipBase.CheckedExecute(Int32 hresult, String message, CallbackBase handler)
at SevenZip.SevenZipExtractor.ExtractArchive(String directory)
at Matrix.Lib.Services.ZipService.<>c__DisplayClass1_0.<UnzipFile>b__0()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Matrix.Lib.Services.ZipService.<UnzipFile>d__1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
at Matrix.Wpf.MainWindow.<InstallPackage>d__38.MoveNext()

Re: "Something went wrong while updating Global Libraries"

Posted: 29 Dec 2020, 09:22
by Firebird
Whilst waiting for the great architect I will have a guess.
You have "Access to the path 'C:\Program Files\Military AI Works' is denied."

Anything under "C:\Program Files" is protected and unless you switch off your UAC you will very often find issues updating files there.
I will try moving "Military AI Works" to somewhere else such as the root of your C: drive, e.g. "C:\Military AI Works".

Re: "Something went wrong while updating Global Libraries"

Posted: 31 Dec 2020, 13:56
by Greg
Indeed, unless you're running Matrix with administrator rights or have UAC turned off in Windows, don't install your traffic in the Program Files folder. Go to the settings tab and change the folder. C:\ should work (or any other drive).

Re: "Something went wrong while updating Global Libraries"

Posted: 31 Dec 2020, 13:59
by Greg
jmgc wrote: 17 Dec 2020, 07:23 May thanks Greg for your answer.
waiting for your news.
Thanks again and best regards
Are you still experiencing this issue, José?

Re: "Something went wrong while updating Global Libraries"

Posted: 31 Dec 2020, 19:25
by jmgc
Yes Greg! I try and I get the same answer " Something went..."
Many thanks for your interest and have a nice new year 2021.
Waiting for your news and solutions.
<regards,
josé

Re: "Something went wrong while updating Global Libraries"

Posted: 31 Dec 2020, 20:37
by Firebird
Could you post the log of the latest failure for Greg to look at please.

Re: "Something went wrong while updating Global Libraries"

Posted: 01 Jan 2021, 09:23
by Greg
Please try again, José. It will most probably still throw the same error but I enabled some extra logging on our CDN to see why you're the only one getting 403 responses.

Re: "Something went wrong while updating Global Libraries"

Posted: 03 Jan 2021, 09:26
by jmgc
I have been trying again and no works, sorry!
I am attaching u the last file of the error.
Many thanks again for your help,

Re: "Something went wrong while updating Global Libraries"

Posted: 03 Jan 2021, 10:22
by Greg
Ah well you're now getting a different exception. This means that the error with CDN access is solved.

It looks like you're installing the traffic in a subfolder of C:\Program Files (x86) but that you also have User Access Control enabled that prevents this. The solution is to go to the settings page in Matrix and change the installation folder for your traffic. I have a dedicated F:\ drive for flight sim stuff so I select that and Matrix automatically creates F:\Military AI Works. But if you don't have a separate drive, C:\ should also work.