From owner-freebsd-ports@freebsd.org Sun Jul 10 19:27:21 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 29737B84922 for ; Sun, 10 Jul 2016 19:27:21 +0000 (UTC) (envelope-from vlad-fbsd@acheronmedia.com) Received: from mail.irealone.com (fawn.irealone.com [IPv6:2001:1af8:4010:a07b:10::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EA92511BE for ; Sun, 10 Jul 2016 19:27:20 +0000 (UTC) (envelope-from vlad-fbsd@acheronmedia.com) Received: by mail.irealone.com (Postfix, from userid 1002) id EE4D161371; Sun, 10 Jul 2016 21:27:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=acheronmedia.com; s=mail; t=1468178838; bh=GtqPUdc7Gm1FFkUYCJ8f9R8q9uYdPVtlXr+nGdps0Uk=; h=To:Subject:Date:From:From; b=ABWxESfrXj7OZhFaYDGLKM7GPCsu32/h5SOgrTsy82cevKYfwsPH5R3qqBzbU3myP mh6bbd/N2Gy/iKmTY4u85i6r2lCMiWzIQLzXPF9d43nMOlVvdHxl4hDVFldVjJSDSM mVrIoIJ6aAAIgjnqfQzdOQYXZFk+3+Tpi7mQ04iM= To: Freebsd Ports Subject: A few problems with Gitlab X-PHP-Originating-Script: 0:rcube.php MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Sun, 10 Jul 2016 21:27:17 +0200 From: "Vlad K." Organization: Acheron Media Message-ID: <78fd1998cc29c7fe9c69800e76e84784@acheronmedia.com> X-Sender: vlad-fbsd@acheronmedia.com User-Agent: Roundcube Webmail/1.1.5 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jul 2016 19:27:21 -0000 This is the first time I'm trying to install Gitlab and first time I have to do anything with a Ruby application. So I'm not sure if these problems are due to my misconfiguration, or a few bug reports to be filed: 1. Unicorn does not start, fails at trying to symlink .gitlab_shell_secret into /usr/local/shared/gitlab-shell/ I assume that's because it's running as user "git" and the above shared dir is owned by root:wheel. Symlinking manually allows Unicorn to start. 2. The user "git" has home in /usr/local/www/gitlab, but there's a repos dir created under /home/git, which is not a symlink to /usr/home, while at the same time default config for gitlab_shell.repos_path is /usr/home/git/repositories This I found having followed the official documentation, step "Initialize Database and Activate Advanced Features", which failed at trying to create a root repo under /usr/home which doesn't exist. 3. After all this, trying to load up the application via https. Times out, I get 502. While it is timing out I can see: - the database is idle in transaction on two queries - the "node" process eats up 100%+ of WCPU PID USERNAME THR PRI NICE SIZE RES STATE TIME WCPU COMMAND 1681 git 6 22 0 762M 167M usem 0:06 117.97% node - this "usem" state looks like a semaphore, so I reduced the Unicorn workers to 1, thinking that would help at least to get it going, but it didn't. - no error logged anywhere except gitlab-workhorse.log which logs the 502: 2016/07/10 19:23:01 error: proxyRoundTripper: GET "/users/password/edit?reset_password_token=gFAktGuSGtRZp3vAyytZ" failed with: "EOF" 2016/07/10 19:23:01 ErrorPage: serving predefined error page: 502 Yes, the initial visit to the app root redirects to /users/password/edit which times out. Any suggestions what I should try next? -- Vlad K.