Closed josephnarai closed 1 year ago
Your manifest DeviceProxy
has not been updated when your script is executed automaticlly(Start Device Proxy Update at 07/27/2023 03:00:03
), so it will not be updated on your machine.
I don't quite understand, it's the same script executed either manually or automatically. How can I update the manifest automatically?
Apologies if this is a dumb question, I've not looked at this for over a year!
Thanks for helping, much appreciated.
Joseph Narai • Zenso
From: HUMORCE @.> Sent: Tuesday, August 8, 2023 8:59:13 PM To: ScoopInstaller/Scoop @.> Cc: Joseph Narai @.>; Author @.> Subject: Re: [ScoopInstaller/Scoop] not finding update when run from task scheduler (Issue #5603)
Your manifest DeviceProxy has not been updated when your script is executed automaticlly(Start Device Proxy Update at 07/27/2023 03:00:03), so it will not be updated.
[Screenshot 2023-08-08 105625]https://user-images.githubusercontent.com/4353480/259077732-647bded1-e601-416f-bfc9-77f7d2c7917e.png
— Reply to this email directly, view it on GitHubhttps://github.com/ScoopInstaller/Scoop/issues/5603#issuecomment-1669397119, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADMH5ITOKQM5TURKHFJEMZLXUILYDANCNFSM6AAAAAA3IABIFQ. You are receiving this because you authored the thread.Message ID: @.***>
Oh, I see, what you are saying is the auto update task only ran back on 27/7... I'll find out why it isn't running every day!!
Thanks
Yes, unless your machine is a time machine.
Bug Report
I have created my own scoop bucket. Has been working happily for nearly a year. I've just released a new version of the app and my machines are not automatically updating themselves.
Our repo is located here: https://github.com/Design2Production/dp-scoop.git
I have an automated ps1 script that runs every day at 3am, which does ` try {
Execute the Update
} catch { Write-Output "Update Exception:$_.Exception.Message" } `
Current Behavior
When running the script automatically as a task under task scheduler it seems to update scoop, but does NOT update my app When running the script manually under a power shell terminal it updates scoop and my app
If you look at the log outputs below, you'll see that when I run it manually, it says that the update for my app was pushed 25 hours ago: 4b262aa Push PRX1.7.6.0 25 hours ago
So it should have been picked up the scheduled update the day before...
Expected Behavior
Should run normally under both cases
Additional context/output
When running under task scheduler:
Transcript started, output file is C:\ProgramData\DP\DeviceProxy\log\DeviceProxy-10000440-UpdateLog.txt
When running manually in power shell admin terminal:
Transcript started, output file is C:\ProgramData\DP\DeviceProxy\log\DeviceProxy-10000440-UpdateLog.txt
System details
Windows version: [10/11]
OS architecture: 64bit
Scoop Configuration