Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install Failure #380

Open
Respect-Our-Waters opened this issue Feb 1, 2019 · 5 comments
Open

Install Failure #380

Respect-Our-Waters opened this issue Feb 1, 2019 · 5 comments

Comments

@Respect-Our-Waters
Copy link

I am VERY new to coding and have been following the Wiki in hopes of creating our own "adopt a storm drain" web page for our organization.

I was installing the prereqs with Chocolately:

choco install ruby rubygems ruby2.devkit postgresql mingw

and the prompts were moving forward smoothly until I reached this error:

The install of mingw was successful.
Software installed to 'C:\ProgramData\chocolatey\lib\mingw\tools\install'

Chocolatey installed 8/10 packages. 2 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

Installed:

  • mingw v8.1.0
  • ruby2.devkit v4.7.2.2013022403
  • ruby v2.6.1.1
  • postgresql v10.6.0.20190131
  • chocolatey-core.extension v1.3.3
  • vcredist2013 v12.0.40660.20180427
  • 7zip.commandline v16.02.0.20170209
  • 7zip.portable v18.6

Packages requiring reboot:

  • vcredist2013 (exit code 3010)

The recent package changes indicate a reboot is necessary.
Please reboot at your earliest convenience.

Failures

  • postgresql10 (exited 1) - Error while running 'C:\ProgramData\chocolatey\lib\postgresql10\tools\chocolateyInstall.ps1'.
    See log for details.
  • rubygems - rubygems not installed. The package was not found with the source(s) listed.
    Source(s): 'https://chocolatey.org/api/v2/'
    NOTE: When you specify explicit sources, it overrides default sources.
    If the package version is a prerelease and you didn't specify --pre,
    the package may not be found.
    Please see https://chocolatey.org/docs/troubleshooting for more
    assistance.
    PS C:\WINDOWS\system32> cd C:\tools\ruby22\DevKit2
    cd : Cannot find path 'C:\tools\ruby22\DevKit2' because it does not exist.
    At line:1 char:1
  • cd C:\tools\ruby22\DevKit2
  •   + CategoryInfo          : ObjectNotFound: (C:\tools\ruby22\DevKit2:String) [Set-Location], ItemNotFoundException
      + FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.SetLocationCommand
    
    

PS C:\WINDOWS\system32>

Any thoughts?

@jszwedko
Copy link
Member

jszwedko commented Feb 2, 2019

Hi @Respect-Our-Waters,

Thanks for your interest! I'm happy to see this project continue to be redeployed.

It seems that the rubygems package no longer exists in Chocolatey in lieu of it being packaged with the ruby package so I think we can ignore that failure (I'll update the wiki once we get it working for you).

For the postgres package installation failure can you post a comment here with the contents of C:\ProgramData\chocolatey\logs\chocolatey.log?

@Respect-Our-Waters
Copy link
Author

chocolatey - log.txt

I have attached the log to the this message. Thank you VERY much for the quick response!

@Respect-Our-Waters
Copy link
Author

Hey there. Wanted to quickly follow-up before I take a crack at this myself. I know it's only been a few days but we are very eager to get started on a Adopt-A-Drain program in Milwaukee! Love this stuff and very excited to see where it goes.

@jszwedko
Copy link
Member

jszwedko commented Feb 9, 2019

Hi @Respect-Our-Waters ,

Apologies, just had a chance to look at the log now. It looks like it thinks that port 5432 on your computer was already occupied. Is it possible that you have previously installed postgresql my another mechanism?

If not, as a first step, I'd recommend restarting and trying to reinstall just the postgresql package:

choco install postgresql

Let me know how it goes!

@Respect-Our-Waters
Copy link
Author

I apologize for pressuring! You were right. There was a previously installed version. I believe it was installed directly from the website and not from the bundle. I tried uninstalling but I get a message that it is still installed. I think I would like to restart the whole process and delete everything and start the bundle install process over again. What are your thoughts on that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants