augur
augur copied to clipboard
Troubles using Augur
Please help us help you by filling out the following sections as thoroughly as you can.
Description:
Hi. I am a researcher student trying to use Augur for research purposes. I followed the documentation and chose the path of installing all the components of Augur on my machine (PostgreSQL, Python, and Node). I ran the make install
and got no errors during the installation. But after the installation, I tried to access the database to see the schema on psql and it showed that there weren't any relations so I don't know how I will save the data from repositories. I tried to move on and added one small repository from Github. On the log, it showed no errors with the workers behaving correctly. But when I tried to use the API, I got no data and some endpoints like top-insights
did not work. Could someone help me with this problems?
How to reproduce: N/A
Expected behavior: It should work and return the endpoints
Screenshots N/A
Log files https://pastebin.com/47LP4vx0
Software versions:
- Augur: 0.15.2
- OS: Ubuntu 20.04.2 LTS
- Browser: (if applicable)
Hi @luchiago : This SOUNDS like an issue with database permissions for the augur user. Double check that you have followed the step:
CREATE DATABASE augur;
CREATE USER augur WITH ENCRYPTED PASSWORD 'password';
GRANT ALL PRIVILEGES ON DATABASE augur TO augur;
and that you can login as Augur using this command:
psql -h localhost -U postgres -p 5432
Then, after you are sure the augur user is created, make sure you can login using this command:
psql -h localhost -U augur -p 5432
Except for the last step, this is all documented here: https://oss-augur.readthedocs.io/en/master/getting-started/database.html
Some versions of postgres' install, on some operating systems, make it a little wonky. Let us know what OS you are on if you continue to have trouble.
THEN, delete the augur.config.json
file in your $/home/.augur directory.
THEN, try an installation using make install-dev
... this will put the config file in the root of your repo, and make it easier to work with for research and development.
Ok, @sgoggins I will try again and get the log to post here. Thanks for the response.
Hi, @sgoggins I tried again, but this time I followed the docker instructions because I need to test it right way the project. I followed all the instructions and added one repo (almost 2k of commits there) with the commands from db
and observed the log to see if something appears. Turns out, I noticed two things:
- When I enter in the database of the docker container and run the command
\dt
to see the installed schema, I get not relations - Even adding one repo, I can't see the results either in the frontend part of the project. It's like I didn't add the repo, but when I run with the CLI it shows that is added.
Maybe I'm missing something from the documentation, but I still don't know if I need to use some special command to get the workers running to collect the data.
Again, thanks for your attention and I hope I can run this project correctly 😄.
Hi @luchiago : I am assigning this issue to myself and our core developers. I know there is an issue with the Docker frontend right now. We are meeting today, and this will top the list.
@Ulincsys : I only assigned this to you because I have not added Isaac yet. This may be an issue @Dhruv-Sachdev1313 or one of the students who begins research credits can take on as well. Lets discuss this issue today. Its a "blocking issue".
@luchiago : There's another open issue right now regarding this Docker frontend. I'll be updating.