"/godata/db/h2db/cruise.mv.db" is locked #12716
elipesatya
started this conversation in
Development
Replies: 3 comments 2 replies
-
If you copied the database file from the old server to a new file in a separate EFS volume, I don't think the filesystem lock should/would be retained, as it represents a different file. Are you sure you don't have two GoCD containers running, trying to mount the same database/godata dir? Do you have a stopped but not |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you Chad.
Yes, copying into a new file could help bringing up another server (container) alongside the existing one.
We have saved all our content into EFS under /godata and maps that into the container as /godata.
We are using gocd/gocd-server:v22.3.0.
It all runs good, mapping was fine too but just one thing that’s not happening is “.ssh” folder.
I have .ssh with all required keys in EFS under /godata and /godata within the container also has .ssh but not /go-working-dir.
Is that supported, am I mis-configuring it, or do we need to handle that outside of the base image ?
Many thanks
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Will send this as a separate thread on email groups too. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All
I'm dockerizing our static/standalone GoCD server.
Hence copied the content from the static GoCD server to EFS and mounted that EFS content into the container (GoCD server container).
And with that, container starts and runs but it can't fetch any data, and I see the below in the log:
Looks like the static/old server acquired the lock and when the data from that server copied to EFS lock is still maintained and hence the new server has the db file locked and couldn't fetch any data.
Wonder, how are the people handling this situation ?
We need the old server running as well when the new server is being brought up within the docker container.
Any inputs will be of great help.
Many thanks,
Satya
Beta Was this translation helpful? Give feedback.
All reactions