git - Can not access via ssh and view layout without css -


i set gitlab in company lan,

now, can access gitlab server

http://dqa-test

but when ran sudo -u git -h bundle exec rake gitlab:check rails_env=production

i got check gitlab api access: failed. code: 404

i've change `host:` dqa-test, dqa-test/ , `http://` or not 

but after above tries, still got same error running self-check

i can clone project via http , no way in ssh

git clone git@dqa-test:vvtk_dqa_automation_team/sandbox.git cloning 'sandbox'... access denied. fatal: not read remote repository.  please make sure have correct access rights , repository exists. 

my gitlab.yml

  ## gitlab settings   gitlab:     ## web server settings (note: host fqdn, not include http://)     host: "http://dqa-test"     port: 1987     https: false 

i have no idea why don't have correct layout

it doesn't work when ran sudo -u git -h bundle exec rake assets:clean assets:precompile cache:clear rails_env=production

i found source code of html page weird , have no idea

the link should not start double slashes

<link href="//assets/favicon-220424ba6cb497309f8faf8545eb5408.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" /> <link href="//assets/application-1266844103d9cc711308315f1502e346.css" media="screen" rel="stylesheet" /> <script src="//assets/application-1a2e2b81d35aebc17df9d360d291a8b1.js"></script> 

enter image description here

enter image description here

as far layout problem concerned gitlab css , assets not showing. had same issue upgrading gitlab 6.6 7.14 (cent os 6.7) following these instructions:

https://github.com/gitlabhq/gitlabhq/blob/master/doc/update/6.x-or-7.x-to-7.14.md

https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md#using-https

1) permissions issue despite following above instructions, had manually change ownership of assets folder allow cache clear , have assets precompile , write dir:

in /home/git/gitlab/

sudo chmod -r u+rwx public

chown -r --reference favicon.ico assets

then works without write errors:

sudo -u git -h bundle exec rake assets:clean assets:precompile cache:clear rails_env=production

2) did not fix of gitlab install did:

nano /home/git/gitlab/config/gitlab.yml

uncomment out line:

default_theme: 2 # default: 2

if don't have theme - weird things happen!


Comments

Popular posts from this blog

c# - How to get the current UAC mode -

postgresql - Lazarus + Postgres: incomplete startup packet -

javascript - Ajax jqXHR.status==0 fix error -