Closed rykahsay closed 1 month ago
@rykahsay I am setting up the main API. Ran into an issue in Step 3 [https://github.com/glygener/glygen-backend-api/tree/2.0#step-3-initialize-and-populate-your-mongodb-database].
I ran python3 populate_all_collections.py -s prd -v 2.0.3 -m full
and received error message "Usage:
populate_all_collections.py [options]
populate_all_collections.py: error: no such option: -m"
@rykahsay For the frontend module, I followed https://github.com/glygener/glygen-frontend/blob/master/server-installation.md but the docker-glygen-frontend.service file is missing in the repo.
@rykahsay I ran python3 populate_collections.py -s $DEP -v $VER
but got error in the screenshot below:
@rykahsay For the frontend module, which branch are we using? Master or ver_2.0?
Yes, use 2.0 branch.
For the logs, create the logs dir:
mkdir logs
@rykahsay For the main API:
sudo systemctl start docker-glygen-api-prd.service
. See screenshot: For Frontend:
sudo make -f MakeFile prod
and received some errors:
Also, for the API, I ran python3 update-search-init.py -s tst
, received Failed to establish a new connection, see screenshot:
We need to look into these issues on webex -- please set up a meeting on Friday after the group meeting.
@rykahsay Sent an email invitation for Friday's meeting.
Successfully created the frontend on the server
@rykahsay Tried to map it to a public domain of aws.glygen.org in the /etc/httpd/conf.d/awsdata.conf. However, it seems to be not connected correctly and aws.glygen.org still shows not found.
@rykahsay For the main API implementation, also ran into issues with populating the mongodb database. See screenshot: showing FileNotFoundError
@rykahsay
For dataset-api, had an issue with populating mongodb database: python3 load_current_release.py -s prd -v 2.0.3 -m full:
Connection refused.
For the second last comment you made, I have already gave you a solution --> scroll up and find it.
For the last comment, it is working now:
Running the last step of API testing, ran sudo python3 run_api_test.py -m 1 -g protein -s prd
, received error:
Also, you mentioned modifying config.json, not sure what exactly I should modify. @rykahsay
@rykahsay
sudo python3 create_api_container.py -s prd
, some steps are shown as CACHED and making directory in the /date/shared path
@rykahsay
python3 load_cur rent_release.py -s {DEP} -v {VER}
, encountered an error, see screenshot:
It should work now, but before you get to do that, you had to load the data. I have started the loading using the command given below.
python3 load_current_release.py -s prd -v 2.1.1
It is loading to the last container (c_records) which takes some time.
Thanks, @rykahsay
So I created and started the docker container for the APP but the https://aws.data.glygen.org/ is shown as a blank page. How should I troubleshoot?
I have fixed the problem --> there needs to be additional customization of the app/conf/config.json file as shown below:
aws.glygen.org domain has been created but the certificate is invalid. Should I send an email to Dacian or @rykahsay you will handle it?
So far, you have successfully installed
Next step is to set up the following modules