-
Notifications
You must be signed in to change notification settings - Fork 210
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
I can't change postgresql port #459
Comments
There were some recent changes merged into the CHef Server nightlies that should correct this. Is it an option for you to grab a nightly and confirm? |
I forgot to include the actual location (assumes ubuntu): https://packagecloud.io/chef/current/packages/ubuntu/trusty/chef-server-core_12.2.0+20150730143118-1_amd64.deb |
I've tried with this package chef-server-core-12.2.0+20150730184117-1.el6.x86_64.rpm and no luck.
I've tried to specify the new port before running reconfigure the first time, and then (in a fresh instance) I ran reconfigure, modified the port and ran the reconfigure again with the same results. |
This files contain commands without port specify:
I changed it manually and it is work sometimes... chef-server 12.1.0 |
Bootstrap is definitely also broken for non-default ports, can make a PR soon: |
As I understand the code, postgresql['port'] used to specify external postgres instance, not chef embedded. |
This fix will be in the next package pushed to chef/current on packagecloud. |
I need to change the port where Chef's PostgreSQL is listening but it fails. I've added the options "postgresql['port'] = 6432" to the chef-server.rb. chef-server-ctl reconfigure fails, because there are some resources in the recipes that use the psql command without getting the port information from somewhere.
The text was updated successfully, but these errors were encountered: