Comments (4)
Running choco upgrade prometheus-blackbox-exporter --version 0.5.0.20170621 -y
I got the following:
C:\ProgramData\chocolatey\lib\prometheus-blackbox-exporter\tools
ERROR: Cannot process argument transformation on parameter 'fileFullPath'. Cannot convert value to type System.String.
The upgrade of prometheus-blackbox-exporter was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\prometheus-blackbox-exporter\tools\chocolateyinstall.ps1'.
See log for details.
Chocolatey upgraded 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures
- prometheus-blackbox-exporter (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\prometheus-blackbox-exp
orter\tools\chocolateyinstall.ps1'.
See log for details.
from au-packages.
Hmm, what did the log report? I ran the install process on the chocolatey test vagrant box but I didn't run through an upgrade.
from au-packages.
It might be the case that during $File = Get-ChildItem -File -Path $env:ChocolateyInstall\lib\$packageName\tools\ -Filter *.tar
it found multiple .tar files. That would account for the conversion to string error, since Get-ChildItem would return an array.
from au-packages.
Uninstalled and reinstalled and it worked without errors, hopefully that was just an issue on my side. Thanks for sending the pull request!
from au-packages.
Related Issues (14)
- Problem with service registration HOT 2
- Update logstash choco package HOT 2
- Kafka Package install error "A parameter cannot be found that matches parameter name 'File'." HOT 1
- kibana service does not start due to invalid path HOT 1
- logstash > Choco package does not add logstash to PATH
- Updated prometheus
- Not possible to parse tar.gz through https://prometheus.io/download/ anymore
- Admin tag needed for Kafka and Kibana packages
- Minimum version number needs to be specified for package dependencies
- Use chocolateyBeforeModify.ps1 for stopping and deleting services so that it isn't repeated in install and uninstall HOT 1
- Set kibana service to be Automatic and autostart it HOT 3
- Change install directory to something easier to find HOT 1
- Update url that is used to Download Kafka to target stable apache url instead of a mirror
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from au-packages.