Disabled until Maintenance has run

Support and questions for using and managing Chocolatey NuGet inside of Labtech
mwilhelmi
Posts: 37
Joined: Thu Nov 19, 2020 7:16 am
3

Disabled until Maintenance has run

Post by mwilhelmi »

Hi,

when adding computer to choclatey we always see the message: This feature is disabled until chocolatey maintenace has run.
We reduced the maintenance to run every hour, but it´s still teh same.
How can we fix this?
Attachments
2021-05-18 10_07_39-Window.png
2021-05-18 10_07_39-Window.png (47.43 KiB) Viewed 6345 times

User avatar
Cubert
Posts: 2456
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Disabled until Maintenance has run

Post by Cubert »

The reason for the message is the framework for Chocolatey has yet to be installed so there is no control of chocolatey yet.

Capture.PNG
Capture.PNG (58.44 KiB) Viewed 6334 times

The bigger question is why is the framework not installing for you.

Either the agent was disabled somewhere in the chain of the plugin (global, client, location or agent) or agent offline during every maintenance run (unlikely) or Maintenance is failing / not scheduling.

So the first thing we want to look at is the script logs for the agent.

Capture1.PNG
Capture1.PNG (36.94 KiB) Viewed 6334 times
This will tell you if it is failing or succeeding and what messages were returned with the result.

mwilhelmi
Posts: 37
Joined: Thu Nov 19, 2020 7:16 am
3

Re: Disabled until Maintenance has run

Post by mwilhelmi »

I get:
Chocolatey EXE not found- Install failed

mwilhelmi
Posts: 37
Joined: Thu Nov 19, 2020 7:16 am
3

Re: Disabled until Maintenance has run

Post by mwilhelmi »

It looks like we got banned from choclatey.org:

Error 1006 Ray ID: 651e793c794ad463
Access Denied / Possible Temporary Block Due to Excessive Use (Your Action Required)

For some time we set mainteanance to every hour, now it´s back to 24h hours, but teh ban still is in place.

How can we fix this?

mwilhelmi
Posts: 37
Joined: Thu Nov 19, 2020 7:16 am
3

Re: Disabled until Maintenance has run

Post by mwilhelmi »

I just found this post: viewtopic.php?f=62&t=5864&sid=83423f1bc ... 72cbfd248b

We started using Habitat as well and the 3rd party patching was enabled on our internal client.
Is it possible, that our ban on chocolatey was caused by Habitat and this issue is just a follow up?

User avatar
Cubert
Posts: 2456
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Disabled until Maintenance has run

Post by Cubert »

This could very well be.

We are actively working on this banning issue in the next builds of Habitat (1.0.0.75+) And will be looking to add to Chocolatey after Habitat shows that this resolves the issues.

mwilhelmi
Posts: 37
Joined: Thu Nov 19, 2020 7:16 am
3

Re: Disabled until Maintenance has run

Post by mwilhelmi »

I disabled Habitat and the ban is gone.

But we still have the issue with chocolatey waiting for the maintenance.
In the Scripts I see
Attachments
2021-05-31 07_21_59-integrate-it - ASG-RemoteDesktop 2019.png
2021-05-31 07_21_59-integrate-it - ASG-RemoteDesktop 2019.png (9.24 KiB) Viewed 6007 times

mwilhelmi
Posts: 37
Joined: Thu Nov 19, 2020 7:16 am
3

Re: Disabled until Maintenance has run

Post by mwilhelmi »

That´s what I see in commands:
Attachments
2021-05-31 23_48_57-integrate-it - ASG-RemoteDesktop 2019.png
2021-05-31 23_48_57-integrate-it - ASG-RemoteDesktop 2019.png (78.88 KiB) Viewed 5975 times

mwilhelmi
Posts: 37
Joined: Thu Nov 19, 2020 7:16 am
3

Re: Disabled until Maintenance has run

Post by mwilhelmi »

Looks like we still get banned.
I disabled Habitat 3rd party for clients and servers und set all chocolatey maintenance to 24h. What do we need to do to get rid of that ban?

User avatar
Cubert
Posts: 2456
Joined: Tue Dec 29, 2015 7:57 pm
8
Contact:

Re: Disabled until Maintenance has run

Post by Cubert »

We are about to release 1.0.0.75 that adds in several new features to help prevent banning. With the long holiday weekend behind us we should be able to get this out to you all this week.


Here is a excerpt of the release notes for 1.0.0.75:
Update App Manager- adding new Snail scheduler to offset how often Updates are installed, (Weekly and Monthly) updates.
Updated App Manager adding in a new Delay that will stagger agent updates.
Updated App Manager adding in a new update, install and versioning loop sleeper into the Automate script to slow execution against chocolatey.org

Post Reply

Return to “Chocolatey For Labtech”