Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

augur backend start makes terminal freeze up #1671

Closed
JacksonHaskamp opened this issue Mar 27, 2022 · 2 comments
Closed

augur backend start makes terminal freeze up #1671

JacksonHaskamp opened this issue Mar 27, 2022 · 2 comments

Comments

@JacksonHaskamp
Copy link

Description:
Running augur backend start on AWS EC2 t2.micro instance prepares the housekeeper jobs, but the process kills itself while running.
How to reproduce:

  1. Go to root augur directory after activating virtual environment
  2. Run augur backend start
  3. After command completed, terminal froze up.

Expected behavior:
We expected the command to produce a number similar to the one shown in this screenshot. (however it still froze after this too, so the expected behavior would for it to not freeze up my terminal.
image
However, we weren't sure what this number meant.

Screenshots

image

After this happened the server was frozen up and i could no longer input anything in terminal

Log files
"housekeeper.log" :
[1108] augur.housekeeper [INFO] Booting housekeeper
[1108] augur.housekeeper [INFO] Scheduling update processes

"augur.log" :
[1108] augur [INFO] Augur application initialized
[1108] augur [INFO] Using config file: /home/ubuntu/augur/augur.config.json
[1108] augur.housekeeper [INFO] Booting housekeeper
[1108] augur.housekeeper [INFO] Scheduling update processes
[1108] augur [INFO] Booting facade_worker #1
[1108] augur [INFO] Booting github_worker #1
[1108] augur [INFO] Booting insight_worker #1
[1108] augur [INFO] Booting linux_badge_worker #1
[1108] augur [INFO] Booting pull_request_worker #1
[1108] augur [INFO] Booting repo_info_worker #1
[1108] augur [INFO] Booting gitlab_issues_worker #1
[1108] augur [INFO] Booting release_worker #1
[1108] augur [INFO] Starting Gunicorn webserver...
[1108] augur [INFO] Augur is running at: http://127.0.0.1:5000
[1108] augur [INFO] Gunicorn server logs & errors will be written to logs/gunicorn.log
[1108] augur [INFO] Housekeeper update process logs will now take over.
~
Both trhe housekeepr and augur .err files were empty.

Software versions:

  • Augur: (you can use pip show augur to find your version)
  • OS: Mac OS ssh-ed into an amazon ec2 t2.micro instance of ubuntu 20.04
@sgoggins
Copy link
Member

@JacksonHaskamp : Augur is a background process. If you start the backend at a terminal, you need to run it in the background.

I won't claim our documentation is better than anyone else's ... but its come a long way. Still ... This should probably be at the bottom of the "Quikstart" page: https://oss-augur.readthedocs.io/en/main/getting-started/collecting-data.html

@sgoggins
Copy link
Member

@JacksonHaskamp : Augur is a background process. If you start the backend at a terminal, you need to run it in the background.

I won't claim our documentation is better than anyone else's ... but its come a long way. Still ... This should probably be at the bottom of the "Quikstart" page: https://oss-augur.readthedocs.io/en/main/getting-started/collecting-data.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants