Carbon `0.9.15` database migration command is incomplete for example cookbook.
Closed this issue · 2 comments
howdoicomputer commented
The current command does not create the right tables in the generated sqlite db.
However, I'm using this execute resource and it fixes the issue:
execute 'python manage.py migrate --noinput --settings=graphite.settings --run-syncdb' do
environment ({'PYTHONPATH' => '/opt/graphite/webapp' })
user node['graphite']['user']
group node['graphite']['group']
cwd "#{base_dir}/webapp/graphite"
creates "#{storage_dir}/graphite.db"
notifies :run, 'python[set admin password]'
end
lock commented
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.