Hi Ketan, Yes all files have UID:1000, GID:1000, He was working normally. Is it possible that docker-entry.sh do something wrong when all config is in place? So starting GOCd in K8s is ok, works normally and after some time when update needs to happen or you have some reloading or recreation of whole POD as K8s always do, original files are mounted again so I expecting behavior to be same as when you restart regular GOCD server. Again this is installation is from your public Helm chart, nos changes or custom scripts added.
Error trying to validate file cruise-config.xsd: java.io.FileNotFoundException: /go-working-dir/config/cruise-config.xsd (Invalid argument) /go-working-dir/db/h2deltas/10_add_stage_timestamp.sql (Invalid argument) File cruise-config.xsd is in place with proper permissions. петак, 26. октобар 2018. 05.50.09 UTC+2, Ketan Padegaonkar је написао/ла: > > Does the volume mount for `/godata` have the right permissions as > described in the readme of the docker image? UID:1000, GID:1000. > > On Fri, Oct 26, 2018, 7:13 AM Sasa Mitrovic <[email protected] > <javascript:>> wrote: > >> Hi, >> >> Using K8s for GOCD. He is deployed using Helm chart. >> >> First deployment always works ok. But if you try update, restart or >> anything related with stopping POD and redeploying ( even using persistent >> volume so config is not changed...) I have this error: >> >> some loading before when starting..... >> $ exec /go-server/server.sh >> [Fri Oct 26 01:33:28 GMT 2018] Starting process: >> [Fri Oct 26 01:33:28 GMT 2018] Working directory : /go-working-dir >> [Fri Oct 26 01:33:28 GMT 2018] Application arguments: [] >> [Fri Oct 26 01:33:28 GMT 2018] GoCD Version: 18.10.0-7703 >> Could not find file `/go-working-dir/config/logback.xml'. Attempting to >> load from classpath. >> Using classpath resource >> `jar:onejar:lib/server-launcher-18.10.0-7703-main.jar!/config/logback.xml'. >> Error trying to validate file cruise-config.xsd: >> java.io.FileNotFoundException: /go-working-dir/config/cruise-config.xsd >> (Invalid argument) >> /go-working-dir/db/h2deltas/10_add_stage_timestamp.sql (Invalid argument) >> >> So he stops there always! >> >> Just to note, files are all there.... >> >> I'm using GOCD 4y and mostly not have any problems when regular server is >> in question, but with K8s now trying to do some things.... >> >> Any advice here? >> >> Did someone else experience this error? >> >> Thanks. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "go-cd" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected] <javascript:>. >> For more options, visit https://groups.google.com/d/optout. >> > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
