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
  • #799

Closed
Open
Created 13 years ago by Administrator@rootOwner
  • New issue

  • Report abuse

  • New issue

  • Report abuse

rake aborted when create database

Closed

rake aborted when create database

Created by: adhown

$sudo -u gitlab bundle exec rake gitlab:app:setup RAILS_ENV=production

WARNING: using the built-in Timeout class which is known to have issues when used for opening connections. Install the SystemTimer gem if you want to make sure the Redis client will not hang. rake aborted! /home/gitlab/gitlab/lib/tasks/bulk_import.rake:78: syntax error, unexpected ':', expecting ')' name: project_name, ^ /home/gitlab/gitlab/lib/tasks/bulk_import.rake:79: syntax error, unexpected ':', expecting '=' code: project_name, ^ /home/gitlab/gitlab/lib/tasks/bulk_import.rake:80: syntax error, unexpected ':', expecting '=' path: project_name, ^ /home/gitlab/gitlab/lib/tasks/bulk_import.rake:81: syntax error, unexpected ':', expecting '=' owner: user, ^ /home/gitlab/gitlab/lib/tasks/bulk_import.rake:82: syntax error, unexpected ':', expecting '=' description: "Automatically created from R... ^ /home/gitlab/gitlab/lib/tasks/bulk_import.rake:83: syntax error, unexpected ')', expecting kEND /home/gitlab/gitlab/lib/tasks/bulk_import.rake:107: syntax error, unexpected kELSE, expecting kEND /home/gitlab/gitlab/lib/tasks/bulk_import.rake:111: syntax error, unexpected $end, expecting kEND

(See full trace by running task with --trace)

I can't install ruby1.9.2 :( .. do you any idea for fix this problem?

Linked issues
...

    Related merge requests

    • Administrator
      Administrator @root · 13 years ago
      Owner

      Created by: zx1986

      MySQL or SQLite ?

      By Administrator on 2012-05-09T09:44:16 (imported from GitLab project)

    • Administrator
      Administrator @root · 13 years ago
      Owner

      Created by: adhown

      mysql .. do you know what happen it?

      By Administrator on 2012-05-10T04:51:36 (imported from GitLab project)

    • Administrator
      Administrator @root · 13 years ago
      Owner

      Created by: vsizov

      I can't install ruby1.9.2 :( .. do you any idea for fix this problem?

      This way you can't install gitlab :(

      By Administrator on 2012-05-10T09:41:00 (imported from GitLab project)

    • Administrator
      Administrator @root · 13 years ago
      Owner

      Created by: zx1986

      @adhown I think you could install Ruby with rvm. here is my setup note: http://zx-1986.blogspot.com/2012/03/setup-gitlab-in-rhel-6.html

      rvm is pretty easy to use!

      By Administrator on 2012-05-10T15:31:30 (imported from GitLab project)

    • Administrator
      Administrator @root · 13 years ago
      Owner

      Created by: adhown

      @zx1986 , thanks for your help.. it's work.. :) . And now, I want to setup automatic commit (update) to my live website. I am newbie in git.

      By Administrator on 2012-05-11T00:51:52 (imported from GitLab project)

    • Administrator
      Administrator @root · 13 years ago
      Owner

      Created by: zx1986

      @adhown you have to setup a SSH key in your Gitlab first, check the "Set up SSH keys" part: http://help.github.com/linux-set-up-git/

      you want automatic git push your local repository (files, codes, etc.) to your Gitlab ? I think you will do that with a cron job that running a shell script like below ?

      #!/bin/bash
      
      cd /path/to/your-repository
      git add .
      git commit -m "auto update by a cron job"
      git push -u origin master
      
      # origin is a remote refs to your Gitlab server

      By Administrator on 2012-05-11T01:00:10 (imported from GitLab project)

    • Administrator
      Administrator @root · 13 years ago
      Owner

      Created by: adhown

      @zx1986 yes, I already setup SSH keys, and create my own repositories on my gitlab.

      your shell script just commit from local machine to my gitlab.. Now I have a code in my local machine , gitlab , and webserver machine. How to make my gitlab automatic update to webserver when I commit in local machine? :) ..

      By Administrator on 2012-05-11T01:11:18 (imported from GitLab project)

    • Administrator
      Administrator @root · 13 years ago
      Owner

      Created by: zx1986

      oh! maybe you could setup a incrond job on you Gitlab server, or setup a cron job on your webserver, but both were not a good idea I think, we should need a deploy tool.

      https://github.com/capistrano/capistrano

      https://github.com/mislav/git-deploy https://github.com/apinstein/git-deployment https://github.com/BrunoDeBarros/git-deploy-php

      By Administrator on 2012-05-11T01:19:36 (imported from GitLab project)

    • Administrator
      Administrator @root · 13 years ago
      Owner

      Created by: adhown

      @zx1986 I find tutorial how to automated deployment using git..

      http://www.saintsjd.com/2011/03/automated-deployment-of-wordpress-using-git/ http://newtriks.com/2011/12/01/automated-deployment-using-git/

      but I am confusing, whether it's same with gitlab?

      By Administrator on 2012-05-11T02:03:51 (imported from GitLab project)

    • You're only seeing other activity in the feed. To add a comment, switch to one of the following options.
    Please register or sign in to reply
    0 Assignees
    Assign to
    Milestone
    No milestone
    None
    None
    Time tracking
    Due date
    None
    None
    0
    Labels
    None
    Assign labels
    • No matching results
    • Manage project labels
    Confidentiality
    Not confidential

    You are going to turn on confidentiality. Only team members with at least Reporter access will be able to see and leave comments on the issue.

    Lock issue
    Unlocked
    participants
    Reference: