Giter Club home page Giter Club logo

Comments (9)

seliverstov-maxim avatar seliverstov-maxim commented on July 30, 2024

Same problem on Ubuntu 13.10 (Digital Ocean vps), but ok on Ubuntu 12.04 LTS (precise 64, vagrant box)

Recipe: postgresql::server
  * template[/var/lib/postgresql/9.1/main/postgresql.conf] action create
    * Parent directory /var/lib/postgresql/9.1/main does not exist.
================================================================================
Error executing action `create` on resource 'template[/var/lib/postgresql/9.1/main/postgresql.conf]'
================================================================================


Chef::Exceptions::EnclosingDirectoryDoesNotExist
------------------------------------------------
Parent directory /var/lib/postgresql/9.1/main does not exist.


Resource Declaration:
---------------------
# In /root/chef-solo/cookbooks-2/postgresql/recipes/server.rb

 62: template "#{node['postgresql']['dir']}/postgresql.conf" do
 63:   source "postgresql.conf.erb"
 64:   owner "postgres"
 65:   group "postgres"
 66:   mode 0600
 67:   notifies change_notify, 'service[postgresql]', :immediately
 68: end
 69: 



Compiled Resource:
------------------
# Declared in /root/chef-solo/cookbooks-2/postgresql/recipes/server.rb:62:in `from_file'

template("/var/lib/postgresql/9.1/main/postgresql.conf") do
  provider Chef::Provider::Template
  action "create"
  retries 0
  retry_delay 2
  path "/var/lib/postgresql/9.1/main/postgresql.conf"
  backup 5
  atomic_update true
  source "postgresql.conf.erb"
  cookbook_name :postgresql
  recipe_name "server"
  owner "postgres"
  group "postgres"
  mode 384
end

from postgresql.

AntelopeSalad avatar AntelopeSalad commented on July 30, 2024

It's not working for me either with 13.10 except now instead of installing and bugging out, it simply refuses to install with a "Not supported release by PGDG apt repository" error message.

It's been like 3 months since postgres 9.3 and ubuntu 13.10 have been out, can we please get support.

from postgresql.

sergiotapia avatar sergiotapia commented on July 30, 2024

RELATED: #108

It's a shame it's been two months and this is still down. I thought this is the defacto Postgresql recipe? I thought given Postgresql insane popularity and how much it's used by rails shops it would work straight out of the box.

from postgresql.

michaelkirk avatar michaelkirk commented on July 30, 2024

I am not able to reproduce this on latest - running kitchen test ubuntu-1204 passes all suites in test-kitchen. Is this still an issue @sergiotapia, @ermajn?

from postgresql.

krichtof avatar krichtof commented on July 30, 2024

Hello

I have also the issue with ubuntu 12.04 (vagrant box, opscode-ubuntu-12.04-i386)

from postgresql.

krichtof avatar krichtof commented on July 30, 2024

I solved the problem by setting LC_ALL env variables on ubuntu.
I made it by using this cookbook : https://github.com/mkorenkov/cookbook-lc_all

from postgresql.

sinfomicien avatar sinfomicien commented on July 30, 2024

I think it's a duplicate issue with #147 and #108. I propose the same patch to correct it:
#175

from postgresql.

slyness avatar slyness commented on July 30, 2024

I have merged #222 to the develop for testing.

from postgresql.

lock avatar lock commented on July 30, 2024

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

from postgresql.

Related Issues (20)

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.