Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Nov 26 2018 18:09
    @ferventcoder banned @Mikewazovsk1
Paul Broadwith
@pauby
@Heteroculturalism Try over at gitter.im/choco
Heteroculturalism
@Heteroculturalism
@pauby I accidentally hit enter too soon, I edited my post which clarifies this is a boxstarter issue.
Paul Broadwith
@pauby
@Heteroculturalism Can you show me the output you get?
Heteroculturalism
@Heteroculturalism
  • Boxstarter starting Calling Chocolatey to install --installargs. This may take several minutes to complete...
  • Boxstarter starting Calling Chocolatey to install --installargs. This may take several minutes to complete...
    Installing the following packages:
    cmake;ADD_CMAKE_TO_PATH=System
    By installing you accept licenses for the packages.
    cmake v3.15.2 already installed.
    Use --force to reinstall, specify a version to install, or try upgrade.
    ADD_CMAKE_TO_PATH=System not installed. The package was not found with the source(s) listed.
    If you specified a particular version and are receiving this message, it is possible that the package name exists but the version does not.
    Version: ""
    Source(s): "https://chocolatey.org/api/v2/"
Paul Broadwith
@pauby
Have you tried choco install -y cmake --installargs="ADD_CMAKE_TO_PATH=System" (note the equal sign after --installargs)
Heteroculturalism
@Heteroculturalism
Weird, that actually works. If using a space works on the command line, I'd expect it to also work in a script. Isn't that the way it should work?
Paul Broadwith
@pauby
Yes and No. Boxstarter doesn't use choco directly but instead parses the choco command line. However, you would expect it to work the same and that's likely a bug in the parsing. Can you raise an issue for this over at https://github.com/chocolatey/boxstarter ?
Heteroculturalism
@Heteroculturalism
Will do, thanks
Paul Broadwith
@pauby
@/all We're performing maintenance on https://chocolatey.org - bear with us while the site is offline. Back shortly! Status page https://status.chocolatey.org #chocolatey
Paul Broadwith
@pauby
@/all ... and we're back. Maintenance on https://chocolatey.org completed. Thanks for bearing with us! Status page https://status.chocolatey.org #chocolatey Twitter
Erik Karlsson
@McDoit
Hello boxstarters
I have a recent problem with
Install-Module -Name PendingReboot -Force -AllowClobber
which gives me this error:
ERROR: A parameter cannot be found that matches parameter name 'AllowClobber'.
The command works fine in a normal PS console, anyone got any idea what can be wrong?
Paul Broadwith
@pauby
@/all We're performing maintenance on https://chocolatey.org - bear with us while the site is offline. Back shortly! Status page https://status.chocolatey.org #chocolatey - https://twitter.com/chocolateynuget/status/1173860963990278146
Paul Broadwith
@pauby
@/all ... and we're back. Maintenance on https://chocolatey.org completed. Thanks for bearing with us! Status page https://status.chocolatey.org #chocolatey - https://twitter.com/chocolateynuget/status/1173880780407418880
Rob Reynolds
@ferventcoder

@/all Howdy Chocolatey community folks - this is a heads up, our new website has shipped. Some links have moved around a tiny bit, so read the post to know where things are now! https://chocolatey.org/blog/chocolatey-website-redesign

Super pumped with the organization tab on the packages page. Build your config mgmt script - https://twitter.com/ferventcoder/status/1175536558742626305?s=20

LukeB
@lukebal
Will Boxstarter work with no user logged in? For example, when I'm building a new vm with something like vCenter I'm installing Chocolatey & Boxstarter via the System account with no user logged in. But Boxstarter never seems to kick off the "Install-BoxstarterPackage" step unless a user is logged in and issues that command.
Kim J. Nordmo
@AdmiringWorm
@lukebal I think you need to have boxstarter running under a logged in users account, I could be wrong though.
Manfred Wallner
@mwallner
hey @lukebal - you need to pass boxstarter credentials of a user that's able to pull up a graphical session on the host (either local or remote) - so imo it probably won't work with the system account
Marco Lackovic
@lackovic
doesInstall-WindowsUpdatehave an option to install optional cumulative updates? https://imgur.com/a/jmSMpT0
Paul Broadwith
@pauby
@lackovic get-help Install-WindowsUpdate - This uses the windows update service to search, download and install updates. By default, only *critical updates* are included and a reboot will be induced if required.
My suggestion would be to raise an issue on Boxstarter GitHub.
Marco Lackovic
@lackovic
@pauby thanks! I actually went there first and was redirected to here as the issue creation stated STOP RIGHT HERE - DO NOT CREATE A TICKET FOR A QUESTION ON THIS REPOSITORY :-)
Paul Broadwith
@pauby
@lackovic What I was meaning is raise it as a feature request on Boxstarter :smile:
bhaizlett123
@bhaizlett123
hello
i am trying to install boxstarter on a fresh fully updated windows 10 box, and i keep getting this error and can't figure out why

By installing you accept licenses for the packages.
Boxstarter not installed. An error occurred during installation:
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
Boxstarter package files install completed. Performing other installation steps.
The install of Boxstarter was NOT successful.
Boxstarter not installed. An error occurred during installation:
The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.

Chocolatey installed 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Failures

  • Boxstarter (exited 1) - Boxstarter not installed. An error occurred during installation:
    The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel.
    Import-Module : The specified module 'C:\ProgramData\boxstarter\boxstarter.chocolatey\boxstarter.chocolatey.psd1' was not loaded because no
    valid module file was found in any module directory.
    At C:\Users\admin\Desktop\BOXSTARTER\Boxstarter.2.12.0\bootstrapper.ps1:41 char:9
    • Import-Module "$env:ProgramData\boxstarter\boxstarter.chocola ...
    • ~~~~~~~~~~~~~
      • CategoryInfo : ResourceUnavailable: (C:\ProgramData...chocolatey.psd1:String) [Import-Module], FileNotFoundException
      • FullyQualifiedErrorId : Modules_ModuleNotFound,Microsoft.PowerShell.Commands.ImportModuleCommand
i tried to install it using the following command
{Invoke-WebRequest -useb http://boxstarter.org/bootstrapper.ps1} | Invoke-Expression; Get-Boxstarter -Force -debug -verbose
Paul Broadwith
@pauby
@bhaizlett123 You also raised a chocolatey/boxstarter#406. I'll answer there.
bhaizlett123
@bhaizlett123
ok no problem, thanks
didn't mean to doublepost, just trying to get this resolved quickly
Paul Broadwith
@pauby
@bhaizlett123 No problem.
Paul Broadwith
@pauby
@/all Services will be unavailable for 6 hours on Saturday 26 October between 3am and 9am UTC. See this blog post for more information.
Paul Broadwith
@pauby
@/all REMINDER: Services will be unavailable for 6 hours on Saturday 26 October between 3am and 9am UTC. See this blog post for more information.
Paul Broadwith
@pauby
@/all We have started the infrastructure upgrades. Site will be down for approximately the next 6 hours. See this blog post for more information . Keep checking the status page for any updates.
Paul Broadwith
@pauby
@/all Thanks for your patience! The infrastructure upgrades are now complete and the site is back online. Please let us know if you experience any site issues by using the Chocolatey.org Gitter channel.
Paul Broadwith
@pauby
@/all We currently have issues with slow and intermittent connections to the website and we are taking it offline to investigate further. See https://status.chocolatey.org for more information.
Paul Broadwith
@pauby
@/all The site is now stable and back online. We appreciate your patience. See https://status.chocolatey.org for more information.
Paul Broadwith
@pauby
@/all We currently have issues with slow and intermittent connections to the website. See the status page for more information.
Rob Reynolds
@ferventcoder

@/all We deployed out some changes to help stabilize the site at 12:15 UTC (6:15 AM UTC), but unintentionally we caused all dependencies to stop working. So if you use the community repository (https://chocolatey.org/api/v2), you will have seen some "Unable to resolve dependency" errors (https://github.com/chocolatey/chocolatey.org/issues/765). We've backed out the affected code, redeployed, and verified it's working again.

Our plan is to reintroduce the use index changes to the community production site once we ensure that the skip token is working correctly. Please continue to monitor https://status.chocolatey.org as we continue to provide updates.

roysubs
@roysubs

I have a general query about automating box setup with Boxstarter and I don't know if it is possible. Hopefully Boxstarter experts here can advise. I'm guessing that if it is possible, then some Boxstarter experts must have done this as it seems an obvious application of the kind of automation that Boxstarter is for, which is, I want to have a single script that I can call from a vanilla Windows 7 box (using iex to call it from a Gist URL) that will do the following:

  1. Install latest PowerShell v5.1 + .NET 4.0 / 4.5 etc + Boxstarter (box is currently Windows 7 with PowerShell v2 so all commands have to be v2 compatible at this point). Collect Get-Credentials to use to reboot and relogon etc.

  2. Reboot the box and (this is the tricky bit) when the system comes up (with PowerShell v5.1 now the default PowerShell) it should logon and the old script will continue or a new script will take over (maybe run from registry RunOnce?) that can continue to add the Boxstarter module in PowerShell v5.1 and then can fully utilise all Boxstarter functionality (i.e. installing packages, automating reboots etc) and so everything can continue from throwing a single script at a vanilla Windows 7 box to then automate everything.

The problem is this part that is in PowerShell v2 before PowerShell v5.1 and Boxstarter are installed. Are there any solutions that folk have built to get over that initial PowerShell v2 to v5.1 hump so that everything else can flow?

Manfred Wallner
@mwallner
heya @roysubs - I've basically solved this by splitting up the logic of the package I want to install into two separate powershell files.
first - chocolateyinstall.ps1 - is PoSh v2 compatible
second - chocolateyinstallEx.ps1 is PoSh v5 only - this is called from within chocolateyinstall.ps1
you can add powershell > 5.1 and .netfx to you depedendencies in the nuspec of your package
if you pass credentials, use "Install-BoxstarterPackage" or the bootstrapper wrapper "boxstarter.bat" you should be fine :-)
oh, btw - if you want to use "boxstarter as bootstrapper" - for installing chocolatey and other packages without anything pre-installed on the target machine, take a look here - especially the "Running an Install from a network share or external media" part
roysubs
@roysubs
Thanks Manfred, sent you a reply on your website. Cheers! :)
Manfred Wallner
@mwallner
:thumbsup: - already got that msg, hopefully will find some time to look at it this evening ;-)
Paul Broadwith
@pauby
@/all The long running issue, opened on December 18th, is now resolved! Thank you to EVERYONE for their patience. Be under no illusions that we are committed to continuing the work. See https://status.chocolatey.org
Rob Reynolds
@ferventcoder
@/all PSA: Last night around 23:10 UTC we deployed a change that caused asking for packages by version to stop working for the #Chocolatey community repository. After reports from users, that was fixed by 13:54 UTC. Apologies we didn't see the issue sooner.
Paul Broadwith
@pauby
@/all To perform essential infrastructure maintenance the site will be unavailable for between 1 and 2 hours. We apologise for the inconvenience. Please see https://status.chocolatey.org
Paul Broadwith
@pauby
@/all .. and we're back! Much quicker than we had planned Thanks for your patience. See https://status.chocolatey.org for updates.
Gary Ewan Park
@gep13
@/all we have just published a blog post with some information regarding the intermittent issues with the website at the end of December last year. You can find it here: https://chocolatey.org/blog/chocolatey-community-repository-issues-December-2019 Please let us know if you have any questions.
Paul Broadwith
@pauby
@/all We will be removing support for older TLS protocols on 3 Feb. If you are not using TLS 1.2 when connecting to chocolatey.org then it's time to update.
Find out more in our blog post.