Page 1 of 2

Disabled until Maintenance has run

Posted: Tue May 18, 2021 8:05 am
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?

Re: Disabled until Maintenance has run

Posted: Tue May 18, 2021 4:55 pm
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 6492 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 6492 times
This will tell you if it is failing or succeeding and what messages were returned with the result.

Re: Disabled until Maintenance has run

Posted: Wed May 19, 2021 1:22 pm
by mwilhelmi
I get:
Chocolatey EXE not found- Install failed

Re: Disabled until Maintenance has run

Posted: Wed May 19, 2021 3:51 pm
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?

Re: Disabled until Maintenance has run

Posted: Thu May 20, 2021 11:18 am
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?

Re: Disabled until Maintenance has run

Posted: Thu May 20, 2021 4:18 pm
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.

Re: Disabled until Maintenance has run

Posted: Mon May 31, 2021 5:21 am
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

Re: Disabled until Maintenance has run

Posted: Mon May 31, 2021 9:48 pm
by mwilhelmi
That´s what I see in commands:

Re: Disabled until Maintenance has run

Posted: Tue Jun 01, 2021 6:19 am
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?

Re: Disabled until Maintenance has run

Posted: Tue Jun 01, 2021 1:36 pm
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