brianbroderick / chef_postgres Goto Github PK
View Code? Open in Web Editor NEWRecipes for installing PG on Ubuntu. Design choices based on needs of chef solo and standard AWS Opsworks
Recipes for installing PG on Ubuntu. Design choices based on needs of chef solo and standard AWS Opsworks
We're moving the data directory to a separately mounted AWS EBS drive.
The chef scripts were fine with this until 2 days ago, but then when trying to run psql -U postgres -d postgres
with the default ubuntu user (using "trust" in pg_hba") (Ubuntu 16.04), it would display "Error: invalid data directory". It was fine when using a tcp host (-h), or if running it as sudo.
The issue boiled down to the postgresql.conf file had 640 permissions (rw-r-----) so the "everyone" didn't have read. However, this was fine prior to 2 days ago. Changing the permissions to 644 fixed it, but I'm not sure what else on the server caused this to break in the first place.
At least these ones:
address_standardizer,address_standardizer_data_us,btree_gin,btree_gist,chkpass,citext,cube,dblink,dict_int,dict_xsyn,earthdistance,fuzzystrmatch,hstore,hstore_plperl,intagg,intarray,ip4r,isn,ltree,pgaudit,pgcrypto,pgrowlocks,pgstattuple,pg_buffercache,pg_freespacemap,pg_hint_plan,pg_prewarm,pg_stat_statements,pg_trgm,plcoffee,plls,plperl,plpgsql,pltcl,plv8,postgis,postgis_tiger_geocoder,postgis_topology,postgres_fdw,sslinfo,tablefunc,test_parser,tsearch2,tsm_system_rows,tsm_system_time,unaccent,uuid-ossp
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.