Omnibus upgrade fail with root squash on /home
Attempting to upgrade to 7.3 omnibus but can't sudo gitlab-ctl reconfigure
:
Running handlers:
[2014-09-22T13:32:58-04:00] ERROR: Running exception handlers
Running handlers complete
[2014-09-22T13:32:58-04:00] ERROR: Exception handlers complete
[2014-09-22T13:32:58-04:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out
Chef Client failed. 1 resources updated in 2.901951123 seconds
[2014-09-22T13:32:58-04:00] ERROR: user[gitlab-www] (gitlab::web-server line 27) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '12'
---- Begin output of ["useradd", "-g", "gitlab-www", "-s", "/bin/false", "gitlab-www"] ----
STDOUT:
STDERR: useradd: cannot create directory /home/gitlab-www
---- End output of ["useradd", "-g", "gitlab-www", "-s", "/bin/false", "gitlab-www"] ----
Ran ["useradd", "-g", "gitlab-www", "-s", "/bin/false", "gitlab-www"] returned 12
[2014-09-22T13:32:58-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Why is it creating a new gitlab-www
with a home dir of /home/gitlab-www
when the other gitlab-redis|psql users have home dirs in /var/opt/gitlab
?