-
Notifications
You must be signed in to change notification settings - Fork 22
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
Trying to work in docker local config #749
Comments
From the error you've posted looks like there was something running on port 8080 already and you would need to kill that process before running the docker. For dataload part you would need to see the logs of docker to see exactly whats happening? Usually dataload fails if your ontology is not in the correct format and logs specify what exactly is failing. I would suggest just to run your local ontologies you can follow the steps starting from here: https://github.com/EBISPOT/ols4?tab=readme-ov-file#development-running-ols4-using-docker and use the following command to run everything up:
you don't need to copy your ontologies to testcases folder until unless you want to run our testcases on them |
Ok. I will try your explanation and give you an feedback. Thanks @haideriqbal |
@erfelipe Please can you post your config |
So if you put |
Hi @jamesamcl thanks for your attention. In fact, I'm just copy the .json from efo.json and, change the purl link: { |
Yep. I put the file in: And my last advances, I change the backend port from 8080 (http default port(?)) to 8082, and the services are working now: But! The frontend not working yet: But I'm will use the docker command sugest by @haideriqbal above. |
@NCOR-BR i see its complaining about |
@haideriqbal this method works now! #development-running-ols4-using-docker |
closing this for now! feel free to reopen if you still have issues running OLS locally :) |
Unfortunately, it is not working here.
…___________________
Mauricio B. Almeida
Information Science, PhD
http://mba.eci.ufmg.br <https://mba.eci.ufmg.br/english/>
On Mon, Oct 21, 2024 at 7:40 AM Haider Iqbal ***@***.***> wrote:
closing this for now! feel free to reopen if you still have issues running
OLS locally :)
—
Reply to this email directly, view it on GitHub
<#749 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BA2YHXEX7LHAKWT4HXMIRN3Z4TKYXAVCNFSM6AAAAABPB6CB2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRWGI4TCOJYGI>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@NCOR-BR whats the issue you are facing? from your previous comment it appears you were not specifying the OLS4_CONFIG variable correctly... did you try after initialising the variable correctly? |
Hi, I can't even load your ontologies.
[image: Screenshot 2024-10-21 at 11.31.23.png]
…On Mon, Oct 21, 2024 at 11:11 AM Haider Iqbal ***@***.***> wrote:
@NCOR-BR <https://github.com/NCOR-BR> whats the issue you are facing?
from your previous comment it appears you were not specifying the
OLS4_CONFIG variable correctly... did you try after initialising the
variable correctly?
—
Reply to this email directly, view it on GitHub
<#749 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BA2YHXGVDJUMJ2Z7VQ3URUTZ4UDRNAVCNFSM6AAAAABPB6CB2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRWHAYDGMJZGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hi @NCOR-BR i can't see the screen shot you attached. Looks like you replied by email and github can't seem to process the attached screenshot correctly |
Thank you @haideriqbal . |
@NCOR-BR can you share your docker logs? or let me know how you are running docker command? did you set OLS4_CONFIG variable before running the docker command? |
Hi @haideriqbal I had a momentary breakthrough in getting the stack to work with efo.json |
Hi @erfelipe today might be short notice for you but would 2 pm UK time work for you tomorrow or Wednesday? I believe it would be 11 AM for you. Let me know if that works and we can have a chat :) |
Hi @haideriqbal, tomorrow will be great. Thanks for help! If you agree, can we meet in this room? I'm just want to share my screen to help in a possible solution. https://meet.google.com/sez-ropu-kzf |
Sounds good! talk to you tomorrow :) |
So, I will participate, if you don't mind.
@NCOR-BR
…On Mon, Oct 28, 2024 at 12:47 PM Haider Iqbal ***@***.***> wrote:
Sounds good! talk to you tomorrow :)
—
Reply to this email directly, view it on GitHub
<#749 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BA2YHXANMLNBXIEYECF2HCLZ5ZFA5AVCNFSM6AAAAABPB6CB2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBRHE3DCNRZHA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Yep @haideriqbal , we can. Please. https://meet.google.com/sez-ropu-kzf |
cool joining now |
Sure!
…___________________
Mauricio B. Almeida
Information Science, PhD
http://mba.eci.ufmg.br <https://mba.eci.ufmg.br/english/>
On Tue, Oct 29, 2024 at 10:41 AM Haider Iqbal ***@***.***> wrote:
it might be a long shot but are you guys free now? We can start the call
now? @erfelipe <https://github.com/erfelipe> @NCOR-BR
<https://github.com/NCOR-BR>
—
Reply to this email directly, view it on GitHub
<#749 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/BA2YHXAFMMURCUTNYMMVFOLZ56GCBAVCNFSM6AAAAABPB6CB2KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINBUGI3DSMJYGM>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thank you very much for your support @haideriqbal ! |
Describe the documentation deficiency
Dear,
I'm try these initial steps:
git clone https://github.com/EBISPOT/ols4.git
export OLS4_CONFIG=./dataload/configs/myontology.json (based in efo.json)
copy myontology.owl to testcases folder
JAVA_OPTS="-Xms5G -Xmx25G" docker compose up
Url to existing documentation if applicable
Following the deploy in https://github.com/EBISPOT/ols4?tab=readme-ov-file#deploying-ols4
What are you trying to do?
I have many issues. The first report “last message” was: Error response from daemon: driver failed programming external connectivity on endpoint ols4-ols4-backend-1 (ec76ed6214c21e9b11ef8c85ac0294f36b559f177bd7ae0bc0d36d5f899fb595): Bind for 0.0.0.0:8080 failed: port is already allocated
The backend container is pointed to 8080:8080
So, by using play button, I can up the containers, except backend.
So I changed the 8080:8080 to 8082:8080 port in docker-compose.yml and dockerfile in database folder. Delete images and compose up process again
Now, backend is up, but dataload not working
And frontend do not show the local ontology, just trying to load:
The correct and all steps are these in github “deploying OLS4” ?
The text was updated successfully, but these errors were encountered: