Open strus38 opened 3 years ago
Hi @strus38 and thanks for the issue !
The callback should take care of running the SQL migrations automatically by default and you should actually see the SQL migration messages. If you try to run commands without first recording a playbook or running ara-manage migrate
manually first, you might bump into that error.
Could you run the command python3 -m ara.setup.callback_plugins
manually and see if that returns the path to the callback plugin ?
Hi After running a playbook which does something, it works better indeed. However I think the tool could be enhanced to detect an empty sqlite3 file and display a more friendly error like: 'Empty database, please run a playbook to initialize the DB tables'. Thanks! Working like a charm now.
However I think the tool could be enhanced to detect an empty sqlite3 file and display a more friendly error like: 'Empty database, please run a playbook to initialize the DB tables'.
Yes, we could probably do something like that. I'll keep the issue opened so we can take care of it. Thanks for the feedback !
@strus38 FYI I've just created a troubleshooting documentation page where I include this issue: https://ara.readthedocs.io/en/latest/troubleshooting.html
We can figure out how to make the exception friendlier later.
What is the issue ?
Reading the install doc
and then running it, fails with:
What should be happening ?
It should simply list nothing or the executed playbooks as stated in the documentation.