ttrss-fast-deployment
ttrss-fast-deployment copied to clipboard
After following instructions, with no errors reported, "Unable to connect to database (as to , database ttrss):"
Alas! I'm getting the exact same error as I got when I tried to set it up on an EC2 instance. But here, my own user input was so minimal that I'm baffled as to what I could be doing wrong.
After adding my public key in the management console, I literally just ran:
rhc app create ttrss php-5 postgresql-8 --from-code=git://github.com/who-me/ttrss-fast-deployment.git rhc cartridge add cron-1.4 -a ttrss
but the entirety of my created application is a page stating
Unable to connect to database (as to , database ttrss):
Yep, seeing this problem myself now. Will probably whip up a script to auto-generate the config.php file. In the meantime, replacing all the getenv('global variable name here') statements with $_ENV['global variable name here'] should get you up and running.
I chose to use getenv because the other way did not work. RedHat better make up their minds :)
Heh. Yeah, $ENV[] makes it work fine for me.
It works but only for the web application.
The update cron doesn't work with $_ENV, it needs getenv !
ICONS_DIR defined in config.php is not writable (chmod -R 777 icons).