Closed dbueno89 closed 2 months ago
Hi @dbueno89 , Thanks for using this opensilex docker.
Can you give us more detail about the installation that you've done:
Can you give us the opensilex-docker-opensilexapp logs please ?
Hi @niio972,
I'm running opensilex on Ubuntu 22.04.3
through WSL.
My docker version is 24.0.6
and docker-compose version is 2.3.3
.
Below is the opensilex-docker-compose/docker_logs/debug.log
file. Is there any other log file I should look for?
#3 [opensilex-stack_opensilex internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s
#1 [opensilex-stack_haproxy internal] load build definition from haproxy-build-step.docker
#1 transferring dockerfile: 304B done
#1 DONE 0.0s
#2 [opensilex-stack_haproxy internal] load .dockerignore
#2 transferring context: 2B done
#2 DONE 0.0s
#4 [opensilex-stack_opensilex internal] load build definition from opensilex-build-step.docker
#4 transferring dockerfile: 1.58kB done
#4 DONE 0.0s
#6 [opensilex-stack_opensilex internal] load metadata for docker.io/library/tomcat:9.0.65-jre11-openjdk-bullseye
#6 DONE 0.4s
#5 [opensilex-stack_haproxy internal] load metadata for docker.io/library/haproxy:2.6.6
#5 DONE 0.4s
#10 [opensilex-stack_haproxy 1/3] FROM docker.io/library/haproxy:2.6.6@sha256:53c3aa1dbd756e78f12d472ffba22cba5f8bfbca61239a9767a72f754f8cda5a
#10 DONE 0.0s
#15 [opensilex-stack_opensilex 1/18] FROM docker.io/library/tomcat:9.0.65-jre11-openjdk-bullseye@sha256:fa9a27bccc0f4ddfa68153fa46c9b7abf02a16ee8d8bf388db1a74b7416e99e0
#15 DONE 0.0s
#8 [opensilex-stack_haproxy internal] load build context
#8 transferring context: 2.31kB done
#8 DONE 0.0s
#23 [opensilex-stack_opensilex internal] load build context
#23 transferring context: 4.75kB done
#23 DONE 0.0s
#9 [opensilex-stack_haproxy 2/3] RUN mkdir /run/haproxy && chown haproxy:haproxy /run/haproxy && chmod 2775 /run/haproxy
#9 CACHED
#7 [opensilex-stack_haproxy 3/3] COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
#7 CACHED
#20 [opensilex-stack_opensilex 11/18] WORKDIR /home/opensilex/bin
#20 CACHED
#28 [opensilex-stack_opensilex 17/18] COPY ./config/opensilex-template.yml /home/opensilex/config/
#28 CACHED
#18 [opensilex-stack_opensilex 5/18] RUN mkdir -p /home/opensilex//home/opensilex/opensilex-data
#18 CACHED
#12 [opensilex-stack_opensilex 10/18] RUN chown opensilex:opensilex -R /home/opensilex
#12 CACHED
#16 [opensilex-stack_opensilex 14/18] RUN ls
#16 CACHED
#11 [opensilex-stack_opensilex 12/18] RUN wget -nv https://github.com/OpenSILEX/opensilex/releases/download/1.0.1/opensilex-release-1.0.1.zip
#11 CACHED
#26 [opensilex-stack_opensilex 4/18] RUN mkdir -p /home/opensilex
#26 CACHED
#21 [opensilex-stack_opensilex 16/18] COPY ./bin/logback.xml /home/opensilex/bin/
#21 CACHED
#13 [opensilex-stack_opensilex 7/18] RUN mkdir -p /home/opensilex/data
#13 CACHED
#25 [opensilex-stack_opensilex 6/18] RUN mkdir -p /home/opensilex/config
#25 CACHED
#17 [opensilex-stack_opensilex 15/18] COPY ./bin/opensilex.sh /home/opensilex/bin/
#17 CACHED
#24 [opensilex-stack_opensilex 3/18] RUN apt-get -y update && apt-get install -y wget zip gettext-base libc6 libc-bin rsync
#24 CACHED
#14 [opensilex-stack_opensilex 2/18] RUN groupadd --gid 1000 opensilex && useradd --uid 1000 --gid 1000 -m opensilex && apt-get update && apt-get install -y sudo && echo opensilex ALL=(root) NOPASSWD:ALL > /etc/sudoers.d/opensilex && chmod 0440 /etc/sudoers.d/opensilex
#14 CACHED
#29 [opensilex-stack_opensilex 9/18] RUN mkdir -p /home/opensilex/bin/modules
#29 CACHED
#27 [opensilex-stack_opensilex 8/18] RUN mkdir -p /home/opensilex/logs
#27 CACHED
#22 [opensilex-stack_opensilex 13/18] RUN unzip $( basename https://github.com/OpenSILEX/opensilex/releases/download/1.0.1/opensilex-release-1.0.1.zip )
#22 CACHED
#19 [opensilex-stack_opensilex 18/18] WORKDIR /home/opensilex
#19 CACHED
#30 [opensilex-stack_haproxy] exporting to image
#30 exporting layers done
#30 writing image sha256:9bb9d6e1f1d817c6e58f8868ff686e8dbb23073337af655c246ee919991c5677 done
#30 naming to docker.io/library/opensilex-stack_haproxy done
#30 DONE 0.0s
#31 [opensilex-stack_opensilex] exporting to image
#31 exporting layers done
#31 writing image sha256:de28eee20bb57b1927bd213cc278617dc85d20b57b1b14710a98ff3a79594f9a done
#31 naming to docker.io/library/opensilex-stack_opensilex done
#31 DONE 0.0s
Hi @dbueno89 ,
Thanks you for the reply. Is it possible to send us back the opensilex-docker-opensilexapp command return ?
Thanks.
Hi @niio972 ,
Here is the log of the application since I started the container, login opensilex and tried to click on the links.
Hi @dbueno89 ,
Thanks you for the reply. We will analyze the logs and get back to you as quickly as possible.
Hi @dbueno89 , We have not found any particular errors in the log file that would explain the display problem. Do you have console errors (F12) in your browser? It is possible that using Docker with WSL may pose problems we have not yet encountered. Have you tried with a Unix server?
Hi @niio972, The only console error that I found is here: https://github.com/OpenSILEX/opensilex-docker-compose/issues/3#issue-1996707901 I still haven't tried installing opensilex on a Unix server.
I think the problem happens because of using WSL can you try on a unix server. If the issue happens again don't hesitate to create a new issue to https://forgemia.inra.fr/OpenSILEX/opensilex-docker-compose/-/issues.
Hi all,
I'm trying to run an instance of opensilex using the configuration provided in this repo but the UI isn't working properly after I start the docker containers and access the webapp through http://localhost:28081/sandbox/app:
Am I missing some configuration?
Thanks.