Coder Social home page Coder Social logo

choco-packages's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

choco-packages's Issues

(apache-httpd) Uninstallation deletes whole unzipLocation - possibly dangerous

Because of the Apache24 subdirectory created in the unzipLocation path, it may tempt to change the path to more general like C:\tools so Apache will be placed directly among other programs. But this is quite dangerous, because the uninstallation will remove the unzipLocation path completely event with all other apps in it.

Would it be possible to default the server-jre8 to Machine with User as an option

Since a lot of the packages that depend on the server-jre pull it without adding any parameters and many of them need to run as a service, with the way that it currently only installs JAVA_HOME to the User's Environment and adds %JAVA_HOME%/bin to the User's PATH, this doesn't end up actually working for most of those server packages because if they run as a service via the SYSTEM account, they can't find Java.exe in the PATH or see JAVA_HOME.

I'll see about making a pull request from my fork with this change, but I wanted to document some of the reasoning behind the change and I'll have to explore how to detect/clean up the User variables so that it doesn't break existing installs that were intentionally NOT system wide.

Getting 404 from Oracle server

Getting the following error message when trying to install server-jre8:

Installing the following packages:
server-jre8
By installing you accept licenses for the packages.
Progress: Downloading server-jre8 8.0.152... 100%

server-jre8 v8.0.152 [Approved]
server-jre8 package files install completed. Performing other installation steps.
ERROR: Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (404) Not Found."```

(server-jre8) Installation behind proxy

Expected Behaviour

I am trying to install elasticsearch on a system that sits behind a proxy. This fails to install it's dependecy server-jre8. So I tried to install that first manually via

choco install server-jre8 -y  --proxy="'<REMOVED>:8080'"

This is the output:

Chocolatey v0.10.7
Installing the following packages:
server-jre8
By installing you accept licenses for the packages.
Progress: Downloading server-jre8 8.0.131.20170420... 100%

server-jre8 v8.0.131.20170420 [Approved]
server-jre8 package files install completed. Performing other installation steps.
ERROR: Exception calling "DownloadFile" with "2" argument(s): "The remote server returned an error: (407) Proxy Authentication Required."
The install of server-jre8 was NOT successful.
Error while running 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1'.
 See log for details.

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

Failures
 - server-jre8 (exited -1) - Error while running 'C:\ProgramData\chocolatey\lib\server-jre8\tools\chocolateyInstall.ps1'
.
 See log for details.

You can find the log file here: https://pastebin.com/xtdSgwH1

It looks like the download of the package is sucessfull (proxy settings are corectly loaded) but the chocolateyInstall.ps1 script that downloads the actual software completely ignores the proxy settings.

Expected Behaviour

Since I provide a --proxy flag to the command I expect the chocolateyInstall.ps1 script to use these proxy settings as well. If I omit the --proxy flag chocolatey correctly uses my global system settings but the install script fails nonetheless.

(apache-httpd) add option to include additional modules

It would be helpful to have an option to include additional modules in the install.

Expected behavior

a string/array parameter that lists different optional modules provided by apachehaus to be installed with Apache
after installing Apache this parameter would be parsed to download/install the specified modules

Example

choco install apache-httpd --params "'/modules:mod_fcgid,mod_security,mod_maxminddb'"

would download and install the following

  • mod_fcgid
  • mod_security
  • mod_maxminddb

module files are available on the downloads page

(apache-httpd) htdocs folder is removed on uninstall

When Apache-httpd is uninstalled the htdocs folder is removed in the uninstall.

As a default, if there is content in the htdocs folder; the folder should not be removed during the uninstall process.

Expected

The htdocs folder should not have been removed on uninstall as there was content in the folder beyond the default index.html file and the apache icon file.

Actual

The htdocs folder was completely removed on uninstall

/cc @rgra @AdmiringWorm @ferventcoder

(apache-httpd) httpd.conf defaults to port 80 often causing port conflicts

Many services attempt to default to Port 80 in windows, Skype is on of the most notorious for hog-tieing port 80.

As a best practice, Apache should not be configured to port 80 on install via chocolatey to avoid obvious port conflicts.

Expected

IPV4 and IPV6 Listen and ServerName values do not default to obvious port conflict values like port 80

Additionally, it would be helpful to pass a specified port number to the choco install of apache-httpd
such as choco install apache-httpd --port 8585

Actual

The Listen and ServerName values in httpd.conf are set to port 80

/cc @rgra @AdmiringWorm @ferventcoder

(apache-httpd) Error on service start during installation

There is a problem when the service is started during installation because the ServerRoot is set to /Apache24 so it doesn't match the actual install path. This will throw a not fatal error during installation, however the installation finishes successfully. I'm not sure if this is easily fixable.

(apache-httpd) add option to select VC version

It would be helpful to have an option to select the VC version for the package.

Expected behavior

a string/array parameter that allows selecting one of the 3 VC versions that work with apache-httpd
this will download the appropriate dependency and the corresponding apache-httpd package.

options

  • VC 14
  • VC 11
  • VC 9

Example

choco install apache-httpd --params "'/vc:11'"

files are available on the downloads page

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.