Last night, I did a diff between openfoodnetwork installed by ansible and the package I get from
Then there is no difference. That’s normal.
As I remember the first install I did was from github, by following the step explained on the
github page, and after some days to find all ruby packages needed. On this install, I was able to create enterprise.
I try to run bundle install on version I got from github, but I get an error message from ruby,
some package are missing. I checked the ruby version and I get ruby 1.8.7.
This version was installed from ansible by running playbook available on ofn_deployment.
The server is running Ubuntu 12.04. I use this version because this is a requirement written on github page.
I upgrade ruby to 1.9.3 and delete the openfoodnetwork directory and the database.
I run again the ansible playbook. When I log on and try to create a new enterprise, I get again ERR 500.
I suppose there is something wrong on the SQL transaction but can’t find what.
Is it possible to get “debug info” from postgresql ?