我从GitLab 7.2 stable(7.2.1)的源代码进行了全新安装,当我尝试创建项目时,我收到了消息:
Can't save project. Please try again later
虽然,我可以很好地创建用户和组。
我修改了 /gitlab/app/services/projects/create_service.rb 以打印异常错误消息,并说:
undefined local variable or method `tagging_contexts' for #<Project:0xb983b318>
搜索gems文件夹,看起来它与gem act-as-taggable-on-3.4.1
相关Gemfile和Gemfile.lock具有该引用。我也将它放在 gitlab / vendor / bundle / ruby / 2.1.0 / gems 目录中。
有谁知道我为什么会收到此错误以及如何解决此问题?
ODROID-XU3上的安装基于https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md和https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/database_mysql.md,但我必须删除gems pg 和 therubyracer 。 Gem jquery-ui-rails 我不得不强制版本&#34; 〜&gt; 4.2.1 &#34;
Git-core 和 Ruby 是从源代码构建的。从软件包版本2.8.4-2安装了 Redis-server 和 Redis-tools 。
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV = production
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
System information
System: Ubuntu 14.04
Current User: git
Using RVM: no
Ruby Version: 2.1.2p95
Gem Version: 2.2.2
Bundler Version:1.7.2
Rake Version: 10.3.2
Sidekiq Version:2.17.0
GitLab information
Version: 7.2.1
Revision: ff1633f
Directory: /home/git/gitlab
DB Adapter: mysql2
URL: http://192.168.1.150
HTTP Clone URL: http://192.168.1.150/some-project.git
SSH Clone URL: git@192.168.1.150:some-project.git
Using LDAP: no
Using Omniauth: no
GitLab Shell
Version: 1.9.7
Repositories: /home/git/repositories/
Hooks: /home/git/gitlab-shell/hooks/
Git: /usr/local/bin/git
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV = production
[deprecated] I18n.enforce_available_locales will default to true in the future. If you really want to skip validation of your locale you can set I18n.enforce_available_locales = false to avoid this message.
Checking Environment ...
Git configured for git user? ... yes
Checking Environment ... Finished
Checking GitLab Shell ...
GitLab Shell version >= 1.9.7 ? ... OK (1.9.7)
Repo base directory exists? ... yes
Repo base directory is a symlink? ... no
Repo base owned by git:git? ... yes
Repo base access is drwxrws---? ... yes
Satellites access is drwxr-x---? ... yes
update hook up-to-date? ... yes
update hooks in repos are links: ... can't check, you have no projects
Running /home/git/gitlab-shell/bin/check
Check GitLab API access: OK
Check directories and files:
/home/git/repositories/: OK
/home/git/.ssh/authorized_keys: OK
Test redis-cli executable: redis-cli 2.8.4
Send ping to redis server: PONG
gitlab-shell self-check successful
Checking GitLab Shell ... Finished
Checking Sidekiq ...
Running? ... yes
Number of Sidekiq processes ... 1
Checking Sidekiq ... Finished
Checking LDAP ...
LDAP is disabled in config/gitlab.yml
Checking LDAP ... Finished
Checking GitLab ...
Database config exists? ... yes
Database is SQLite ... no
All migrations up? ... yes
Database contains orphaned UsersGroups? ... no
GitLab config exists? ... yes
GitLab config outdated? ... no
Log directory writable? ... yes
Tmp directory writable? ... yes
Init script exists? ... yes
Init script up-to-date? ... yes
projects have namespace: ... can't check, you have no projects
Projects have satellites? ... can't check, you have no projects
Redis version >= 2.0.0? ... yes
Ruby version >= 2.0.0 ? ... yes (2.1.2)
Your git bin path is "/usr/local/bin/git"
Git version >= 1.7.10 ? ... yes (2.1.0)
Checking GitLab ... Finished