Closed chenliu1993 closed 4 years ago
I am running in a 2 core 4 GB VM, and postgres is running in another vm in host mode.
And I am connecting to the postgres with a -e DB_SERVER=ip, not an --link, could this be a problem?
Hi Lui Chen,
I've just checked your way to start a container with Silverpeas and I didn't encounter any problems. The machine in which the Docker container with Silverpeas is ran is a VM configured as such:
Below the steps I did:
$docker run --name silverpeas -p 8080:8000 -d \
-e DB_NAME="silverpeas" \
-e DB_USER="silverpeas" \
-e DB_PASSWORD="<the password of the db user silverpeas>"
-e DB_SERVER="<the IP address of the host running PostgreSQL>" \
-v silverpeas-log:/opt/silverpeas/log \
-v silverpeas-data:/opt/silverpeas/data \
silverpeas
And all are working fine.
Now my guest about your timeout problem. When a container is spawn from a Silverpeas Docker image, a post-installation is performed during which Wildfly and the database will be setup according to the execution environment. Then, once done, Silverpeas is started. In some circumstances (mainly in machines with low resources), we encountered a problem either during the post-installation or at Silverpeas starting: Wildfly takes too long to start and after some times the installation/starting program raises a timeout and stops. This issues is fixed in the future Silverpeas 6.1.For instance, no Docker image of a release-candidate of this version is yet generated.
Thank you very much for the analysis, I will resize the VM and try again.
Is there a plan for a Silverpeas 6.1 image to release? I just tried with 4 CPU and 4G RAM, still the same issue. So maybe my VM is with too low resources.
Hi devs, I am using silverpeas acording to the dockerhub page. After postgres is startting, I then docker run silverpeas, but I run into some errors like below:
and before thie line is printed, a
300 Timeout
issue was found. More upper in the log , I found some process in container are trying to connect to somthingBut i found there is no /content files under the /. What problems could this be? Is this because I am using it in a wrong way? Thanks.