Bug 162648 - With env variable LIBO_UPDATER_TEST_ENABLE set, MAR update checks but download fails
Summary: With env variable LIBO_UPDATER_TEST_ENABLE set, MAR update checks but downloa...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Installation (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 163940 (view as bug list)
Depends on:
Blocks: MAR_update_framework
  Show dependency treegraph
 
Reported: 2024-08-27 12:08 UTC by V Stuart Foote
Modified: 2024-11-18 00:46 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:


Attachments
multi-week updating.log from profile (non-priv) with failed downloads across installs (15.43 KB, text/plain)
2024-08-27 12:22 UTC, V Stuart Foote
Details
update.log from LO 24.2.0.3 /a admin install and update to 24.2.4.2 but no further (2.64 KB, text/plain)
2024-09-17 11:17 UTC, V Stuart Foote
Details

Note You need to log in before you can comment on or make changes to this bug.
Description V Stuart Foote 2024-08-27 12:08:45 UTC
Win10 with LIBO_UPDATER_TEST_ENABLE variable set.
Version: 24.2.5.1 (X86_64) / LibreOffice Community
Build ID: 2ccb78ad6bdfe3f3356a7a7f294ec388775c5816
CPU threads: 8; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded
Comment 1 V Stuart Foote 2024-08-27 12:15:11 UTC
From 24.2.5.1 install would expect MAR updt to 24.2.5.2 at this point, or now even 24.2.6.1. Log full of checks and download failure "warning: error by the updaterdownload did not succeed:

Likewise for a /a admin install of 24.8.0.3 on Win10, 

Would expect MAR updt to 24.8.1.1, but that may be too soon.

=-Log snippets-=

Update Check Time: 4659010
Update check: https://update-mar.libreoffice.org/update/check/1/LibreOffice 24.2.5.1/2ccb78ad6bdfe3f3356a7a7f294ec388775c5816/Windows_X86_64/LOOnlineUpdater
Download: https://update-mar.libreoffice.org/update/check/1/LibreOffice 24.2.5.1/2ccb78ad6bdfe3f3356a7a7f294ec388775c5816/Windows_X86_64/LOOnlineUpdater
warning: error by the updaterdownload did not succeed

same warning for weeks, every launch of LO, even across manual updates as I applied via MSI (which changed the build ID logged).

Likewise on an /a admin install of 24.8.0.3, each launch checks but fails.

Update Check Time: 3647674
Update check: https://update-mar.libreoffice.org/update/check/1/LibreOffice/0bdf1299c94fe897b119f97f3c613e9dca6be583/Windows_X86_64/LOOnlineUpdater
Download: https://update-mar.libreoffice.org/update/check/1/LibreOffice/0bdf1299c94fe897b119f97f3c613e9dca6be583/Windows_X86_64/LOOnlineUpdater
warning: error by the updaterdownload did not succeed
Comment 2 V Stuart Foote 2024-08-27 12:22:04 UTC
Created attachment 196042 [details]
multi-week updating.log from profile (non-priv) with failed downloads across installs

updating.log attached

@cloph, is there a packaging issue as per your prior note?  https://bugs.documentfoundation.org/show_bug.cgi?id=68274#c83
Comment 3 Maverick 2024-08-29 09:55:46 UTC
I never got pass 24.2.4.2

but in my case, it doesn't even start the update process. It just starts Libreoffice normally like there is no new versions available...
Comment 4 Maverick 2024-09-12 14:39:50 UTC
@Stephan Bergmann

Any clue on how we can fix this (if we can even do anything at all...) ???

Either with -env:LIBO_UPDATER_TEST_ENABLE (or -env:LIBO_UPDATER_ENABLE for that matter) or without it and just starting normally



It just doesn't work!



And this happens for several versions already...

thank you!
Comment 5 Ming Hua 2024-09-12 14:53:03 UTC
I'm having the same problem with admin /a installed 24.2.4 on Windows 11 23H2. Just regular MAR configuration through UI (enable experimental features, turn on autoupdate), no env variable involved.

-- Snippet from updating.log --
Update Check Time: 66398116
Update check: https://update-mar.libreoffice.org/update/check/1/LibreOffice/51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2/Windows_X86_64/LOOnlineUpdater
Download: https://update-mar.libreoffice.org/update/check/1/LibreOffice/51a6219feb6075d9a4c46691dcfe0cd9c4fff3c2/Windows_X86_64/LOOnlineUpdater
warning: error by the updaterdownload did not succeed
Comment 6 Maverick 2024-09-16 12:14:11 UTC
just to be sure, if one wants to force update on 24.8

what we have to run is:


soffice.exe -env:LIBO_UPDATER_ENABLE=1


no commas, no _TEST, just like it is...

can anyone confirm?
Comment 7 V Stuart Foote 2024-09-16 14:14:31 UTC
(In reply to Maverick from comment #6)
>...
> soffice.exe -env:LIBO_UPDATER_ENABLE=1
> 
> 
> no commas, no _TEST, just like it is...
> 
> can anyone confirm?

Nope, there has been no change in source to the env varaibles

LIBO_UPDATER_TEST_ENABLE
LIBO_UPDATER_TEST_UPDATE
LIBO_UPDATER_TEST_RUNNING

Though, don't set any but the LIBO_UPDATER_TEST_ENABLE "1"--or what ever that env gets adjusted to--LO won't launch otherwise.

The URL for update-mar.libreoffice.org resolves in DNS (aliased from  gimli.documentfoundation.org where the SDK docs reside).

The MAR updates just do not seem to be rolling/posting. 

@Cloph?


=-PS-=
QA appology--setting NEW myself as I also continue to be unable to update with MAR packaging.
Comment 8 V Stuart Foote 2024-09-17 11:17:36 UTC
Created attachment 196504 [details]
update.log from LO 24.2.0.3 /a admin install and update to 24.2.4.2 but no further

@cloph, are the MAR incrementals somehow misconfigured? Or even being built beyond 24.2.4.2?

Attached log from a clean /a admin install on Win10 with LIBO_UPDATER_TEST_ENABLE  set enabled.

On first launch the install cycles through a MAR update, but stops at 24.2.4.2

Subsequent launches log the update check but show error:

"warning: error by the updaterdownload did not succeed"
Comment 9 V Stuart Foote 2024-09-30 14:03:07 UTC
Just checked, and both 24.2.0.3 and 24.8.0.3 /a admin installs are receiving their full MAR update sequence to current release build. Log visible in the user profile 'updates' directory.
Comment 10 Maverick 2024-10-01 09:39:38 UTC
It's been, apparently, working in the last few days because i've got a few machines updating...

however, i have a few other points:

1. i have a few other machines that got updated to 24.2.5 but that are not updating to 24.2.6 (even with the variable set/forced to)...

2. i have another one i'm using for testing this that had 24.8.0.3 and updated to 24.8.1.1 but not to 24.8.1.2

3. I was also expecting it to make the jump from 24.2 to 24.8 (since the latter is available ans is "supperior")... 
Will that ever happen automatically (maybe when 24.8.3 is out / after the EOL of 24.2) ???

can anyone clarify some of this points?

Thanks
Comment 11 Maverick 2024-10-01 10:42:39 UTC
OK, i've found a solution to 1. by resetting LO definitions.
So it might have been "something" i did or "something", somehow, got broken with usage... anyway, resetting fixed it.

2. and 3. however, remain...
Comment 12 Maverick 2024-10-07 14:51:12 UTC
LibreOffice has not updated to 24.8.2 either (even with it being out for a while now)

When a new version is out doesn't the MAR files get generated automatically???

If yes, i think someone should really fixed it because it does not seem to be working
Comment 13 V Stuart Foote 2024-11-18 00:46:34 UTC
*** Bug 163940 has been marked as a duplicate of this bug. ***