Is there an update problem (Windows)

Looking at Defold’s log, I’m seeing defold downloading updates but not extracting and informing me there’s an update available.

Last couple of updates I’ve downloaded and installed myself and all is well again until the next update becomes available. This is when the Windows 10 built in Virus and Threat protection goes mad and cranks the fan up while it scans for 10 mins.

3 times today it’s downloaded an update but not extracted (don’t know iof it’s the same update):

2018-09-24 09:38:22.270 16104 [Timer-0] INFO  com.defold.editor.Updater - new version found 8aa2c0779f39b1fb35220b2e1c420d1f71f8d92a
2018-09-24 09:38:22.272 16106 [Timer-0] INFO  com.defold.editor.Updater - downloading defold-8aa2c0779f39b1fb35220b2e1c420d1f71f8d92a.jar -> C:\Users\**username**\AppData\Local\Temp\3834666057821478535\801989465504132867.tmp
2018-09-24 09:40:31.711 145545 [Timer-0] INFO  com.defold.editor.Updater - downloading config -> C:\Users\**username**\AppData\Local\Temp\3834666057821478535\2575035906763237305.tmp
2018-09-24 09:40:32.107 145941 [Timer-0] INFO  editor.updater - {:line 46, :message "new version found: 8aa2c0779f39b1fb35220b2e1c420d1f71f8d92a"}


2018-09-24 10:52:49.388 4483222 [Timer-0] INFO  com.defold.editor.Updater - new version found ef408a664e852028c9f26d2f7fcef8c0ac9a1671
2018-09-24 10:52:49.393 4483227 [Timer-0] INFO  com.defold.editor.Updater - downloading defold-ef408a664e852028c9f26d2f7fcef8c0ac9a1671.jar -> C:\Users\**username**\AppData\Local\Temp\3834666057821478535\1864556416680552325.tmp
2018-09-24 10:55:30.939 4644773 [Timer-0] INFO  com.defold.editor.Updater - downloading config -> C:\Users\**username**\AppData\Local\Temp\3834666057821478535\4757407907132688903.tmp
2018-09-24 10:55:31.126 4644960 [Timer-0] INFO  editor.updater - {:line 46, :message "new version found: ef408a664e852028c9f26d2f7fcef8c0ac9a1671"}


2018-09-24 11:39:43.703 7297537 [Timer-0] INFO  com.defold.editor.Updater - new version found 586b6c2b75a78e192c94100c2442b3c8bd9e7343
2018-09-24 11:39:43.705 7297539 [Timer-0] INFO  com.defold.editor.Updater - downloading defold-586b6c2b75a78e192c94100c2442b3c8bd9e7343.jar -> C:\Users\**username**\AppData\Local\Temp\3834666057821478535\6513217825742467189.tmp
2018-09-24 11:42:06.383 7440217 [Timer-0] INFO  com.defold.editor.Updater - downloading config -> C:\Users\**username**\AppData\Local\Temp\3834666057821478535\4823466536694938533.tmp
2018-09-24 11:42:06.542 7440376 [Timer-0] INFO  editor.updater - {:line 46, :message "new version found: 586b6c2b75a78e192c94100c2442b3c8bd9e7343"}

After each update download the updater starts reporting no update found again:

2018-09-24 11:43:06.573 7500407 [Timer-0] INFO  editor.updater - {:line 43, :message "checking for updates"}
2018-09-24 11:43:06.573 7500407 [Timer-0] DEBUG com.defold.editor.Updater - checking for update url='https://d.defold.com/editor2/channels/editor-alpha/update.json'
2018-09-24 11:43:06.733 7500567 [Timer-0] INFO  editor.updater - {:line 52, :message "no update found"}
2018-09-24 11:44:06.733 7560567 [Timer-0] INFO  editor.updater - {:line 43, :message "checking for updates"}
2018-09-24 11:44:06.733 7560567 [Timer-0] DEBUG com.defold.editor.Updater - checking for update url='https://d.defold.com/editor2/channels/editor-alpha/update.json'
2018-09-24 11:44:06.966 7560800 [Timer-0] INFO  editor.updater - {:line 52, :message "no update found"}
2018-09-24 11:45:06.967 7620801 [Timer-0] INFO  editor.updater - {:line 43, :message "checking for updates"}

Is anyone else seeing this or is it just me :slight_smile:

Cheers

1 Like

Hi @approbo.games! Those are separate updates. You should get an “Update Available” message in the bottom right corner of the editor though?

Not just you. I’ve had imtermittent issues with updating on Windows for months. After clicking the “Update Available” text, Defold almost always hangs and has to be killed in Task Manager. That said, the update is usually applied though, thankfully, just doesn’t close and restart as expected.

Also Windows Defender seems to go nuts for about 5 minutes after attempting this.

For me updates work the way they should on two different Windows 10 computers.

1 Like

This is news to me! So you get the popup and choose to install the update, but the editor doesn’t restart?

Hi @Erik_Angelin,

No I’m not getting the “Update Available” message. I did, ever since starting using defold over 6 months ago, but I noticed that since version 1.2.136 2018-09-11 it stopped appearing (I think it was this version but could be a few days off).

I manually updated to 1.2.136 2018-09-19 Friday but I still don’t get the update available message on this either.

BR

1 Like

Alright, thanks. Created issue to track this: https://github.com/defold/editor2-issues/issues/2200

1 Like

That’s right. The update downloads and the “Update Available” message appears. After clicking that, Defold goes into a not responding state and has to be killed off manually. As I said though, the update is applied at some point as restarting Defold manually yields the latest verison.

1 Like

Possibly a separate issue, created https://github.com/defold/editor2-issues/issues/2201
Next time it happens, can you mail me the logs (erik.angelin@king.com) or attach relevant parts to the issue? Might be that something else is failing and preventing the editor to close.

1 Like

Hi @benjames171

This was also the case for me when the update worked. After clicking Update Available and confirming the install, Defold would become not responding and the window would fade.

After about 3 mins Defold would close and restart with the update applied. I just assumed it was unpacking the update? Maybe this is not the case then.

But can confirm this is a seperate issue than the Update Available message not appearing.

BR

We recently rolled out new auto-update system to editor-alpha channel, do you still experience this issue?

5 Likes

All works perfectly for me now. I like that it waits to download until after the “update available” button is pressed then the download progress is shown. Much better, thanks!

5 Likes