Closed shawngraham closed 8 years ago
Followed above steps (getting into vagrant via vagrant ssh
), but while search populates it does nothing and just hangs there..
Hey @ianmilligan1 can you post the contents of /var/log/uwsgi/docnow.log
when you have a moment?
Cheers
Certainly – I've gist'ed it here. Thanks for your help and hope this is helpful!
HI,
The search feature wasn't working at all. PUzzling through it with Ed, it seems as if the database wasn't formed correctly (vagrant, on a Mac). There was no data directory created:
I
cd /home/docnow/dnflow
and thensqlite3 db.sqlite3
with the result:sqlite> SELECT * FROM searches; Error: no such table: searches
so we:
sudo -u docnow -s ; sqlite3 db.sqlite3 < schema.sql
but I had to re-enter the
sqlite3 db.sqlite3 < schema.sql
to get it to take. And then the search in the webapp performed as expected.