patio
October 23, 2023, 11:27am
1
Hii,
I have build my docker image after some customization to source code. But running it with docker-compose.yml by changing the MAYAN_DOCKER_IMAGE_TAG variable in .env file i am getting error
and mayan container keeps restarting.
How can i resolve this error.
Hi,
Without knowing what changes you made to the image and how you build the image it will not be possible to help diagnose this issue.
Can you share those details?
Does the normal Mayan EDMS Docker image runs without issues?
patio
October 23, 2023, 11:46am
3
Yes, the normal version works without any issues.
I have changed only the css of the web site to achive more modern look.
I am building docker image with
make docker-build
I am building docker image with
make docker-build
This the exact way the official image is built: .gitlab-ci.yml · master · Mayan EDMS / Mayan EDMS · GitLab
I have changed only the css of the web site to achive more modern look.
There must be something else that is changing either the initial setup command or the permissions of the files somewhere.
The error:
mayan: initial_setup()
su: failed to execute /bin/bash: Permission denied
Seems to point at a change to the initialization command or that another command was added.
After the debug output of mayan: initial_setup()
, this is what gets executed:
su mayan --command "${MAYAN_BIN} common_initial_setup --force --no-dependencies"`
As you can see, /bin/bash
is not being called in this line contrary to what the error message shows.
What version are you building?
patio
October 23, 2023, 12:15pm
5
currently using version 4.5.6