Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • G gitlabhq1
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 21
    • Issues 21
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • gpt
  • large_projects
  • gitlabhq1
  • Issues
  • #2569

Closed
Open
Created Jan 11, 2013 by Administrator@rootOwner

Updating from 3.1 to 4.0 when ssh settings other than default (documentation)

Created by: davispuh

In wiki update instructions from 3.1 to 4.0

2. Update GitLab part:

# Enable namespaces (**Warning!** All projects in groups will be moved to subdirectories)
sudo -u gitlab -H bundle exec rake gitlab:enable_namespaces RAILS_ENV=production

should be after step 4. Replace config with new one because otherwise old config is being used. And there is host and port, but is expected ssh_host, ssh_port so it results in defaults and enable_namespaces may fail with

[...]
Rebuild Gitolite ...
ssh: connect to host localhost port 22: Connection refused
fatal: The remote end hung up unexpectedly
rake aborted!
unable to clone gitolite-admin repo
[...]
Tasks: TOP => gitlab:enable_namespaces
(See full trace by running task with --trace)

I've ssh on different port so it failed. Updating config and then executing enable_namespaces solves problem.

Assignee
Assign to
Time tracking