Expected /users/sign_in directory doesn't seem to exist (first installation)

Hello,

I’ve installed GitLab just today on Ubuntu 14.04. Note that as I had apache running, nginx at first coudn’t bind. At first I attempted to disable nginx and use apache as per the GitLab docs, but decided to revert to using nginx (safest to use default first) so I disabled apache. Everything server-side services are meant to be run from the same machine.

Going to my gitlab URL does work, but the client browser gets redirected to users/sign_in which doesn’t seem to exist. From the logs, it looks like it should be under the nginx root, but it isn’t there, nor anywhere else.

This is my access.log:

xxx.yyy.zzz.www - - [14/Jan/2018:18:18:12 -0500] "GET /gitlab HTTP/1.1" 302 104 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
xxx.yyy.zzz.www - - [14/Jan/2018:18:18:12 -0500] "GET /users/sign_in HTTP/1.1" 404 1565 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"
xxx.yyy.zzz.www - - [14/Jan/2018:18:18:12 -0500] "GET /users/sign_in HTTP/1.1" 404 1565 "" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36"

This is my error.log:

2018/01/14 18:18:12 [error] 24093#0: *7 open() "/var/opt/gitlab/nginx/html/users/sign_in" failed (2: No such file or directory), client: 81.233.174.226, server: xxx.yyy.org, request: "GET /users/sign_in HTTP/1.1", host: "xxx.yyy.org"
2018/01/14 18:18:12 [error] 24093#0: *7 open() "/var/opt/gitlab/nginx/html/users/sign_in" failed (2: No such file or directory), client: 81.233.174.226, server: xxx.yyy.org, request: "GET /users/sign_in HTTP/1.1", host: "xxx.yyy.org"

I don’t see an ‘html’ folder under var/opt/gitlab/nginx.

Did anything go wrong with the installation for this to be the case?

Also, one of the notifications I get via /var/mail/root is:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/mysql.so' - /usr/lib/php5/20090626/mysql.so: cannot open shared object file: No such file or directory in Unknown on line 0

If I try to locate mysql.so it is found but under a different folder (/usr/lib/php5/20121212/mysql.so). It is listed as a warning so I don’t know if PHP was looking for a specific version of the so and still succeeded in loading by loading the other one. I also don’t know if this is a red herring.

Seems safe to say the fact that I don’t seem to have the proper nginx html folder hierarchy created is the real problem. Any idea why this would happen?

Thank you.

1 Like

Did you ever figure this out? I’m running into the same thing with a source build on osx.