You have two problems, first, with Git
You are in 'detached HEAD' state. You can look around, make experimental
Somehow you have made local code changes that conflict.
xec failed with the params "socat /dev/null UNIX-CONNECT:/shared/postgres_run/.s.PGSQL.5432 || exit 0 && echo postgres already running stop container ; exit 1"
It also looks like postgres is having problems on your instance. Did you install using the standard method, the only method we support?