Project

General

Profile

Actions

Defect #18786

closed

Cant display Repository when the git repository is greater than 200MB

Added by Nile Jiang almost 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
SCM
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Hi,
My Redmine is working well, I want to integrate it with my Gitlab server. I clone the git repository from gitlab server and add it to the project. I found that if my git repository is smaller than 200MB, it can be displayed normally when clicking Repository, but if it is greater than 200MB, the repository can't be displayed after a long response. Does anyone know how to fix it? Where is the limitation for 200MB?
Here is my environment information:
Environment:
Redmine version 2.5.3.stable
Ruby version 2.1.5-p273 (2014-11-13) [x86_64-linux]
Rails version 3.2.19
Environment production
Database adapter Mysql2
SCM:
Subversion 1.6.11
Bazaar 2.3.3
Git 2.0.0
Filesystem
Redmine plugins:
redmine_charts2 0.2.1
redmine_graphs 0.1.0
redmine_image_clipboard_paste 1.0.0

Here is the error in production.log.
Started GET "/projects/projectname/repository/repositoryname" for 192.168.13.34 at 2015-01-08 23:06:14 +0800
Processing by RepositoriesController#show as HTML
Parameters: {"id"=>"projectname", "repository_id"=>"repositoryname"}
Current user: nile (id=354)
Completed in 57392.0ms
Connecting to database specified by database.yml
Starting Charts Plugin for RedMine
Creating scope :system. Overwriting existing method Enumeration.system.
Creating scope :sorted. Overwriting existing method Group.sorted.
Creating scope :sorted. Overwriting existing method User.sorted.
Started GET "/projects/projectname/repository/repositoryname" for 192.168.13.34 at 2015-01-08 23:07:17 +0800
Processing by RepositoriesController#show as HTML
Parameters: {"id"=>"projectname", "repository_id"=>"repositoryname"}
Current user: nile (id=354)
Rendered common/error.html.erb within layouts/base (4.2ms)
Completed 404 Not Found in 665.0ms (Views: 199.1ms | ActiveRecord: 31.6ms)
Started GET "/" for 192.168.241.28 at 2015-01-08 23:08:01 +0800
Processing by WelcomeController#index as */*
Current user: anonymous
Redirected to http://192.168.241.28:3000/login?back_url=http%3A%2F%2F192.168.241.28%3A3000%2F
Filter chain halted as :check_if_login_required rendered or redirected
Completed 302 Found in 59.4ms (ActiveRecord: 3.4ms)

Actions #1

Updated by Toshi MARUYAMA almost 11 years ago

  • Status changed from New to Closed
  • Priority changed from Urgent to Normal
  • Resolution set to Invalid

There is no limit.

RedmineRepositories

Important: When you first browse the repository, Redmine retrieves the description of all of the existing commits and stores them in the database.
This is done only once per repository but can take a very long time (or even time out) if your repository has hundreds of commits.

Actions #2

Updated by Nile Jiang almost 11 years ago

  • Status changed from Closed to Reopened

Hi,

Where to change the parameter of time out?
How to fix my problem?

Thank you.

Nile

Actions #3

Updated by Toshi MARUYAMA almost 11 years ago

  • Status changed from Reopened to Closed

Nile Jiang wrote:

Hi,

Where to change the parameter of time out?
How to fix my problem?

See my note-1 reference.
And please use forum for questions.

Actions #4

Updated by Toshi MARUYAMA almost 11 years ago

Nile Jiang wrote:

Where to change the parameter of time out?

It depends on your web server.

Actions #5

Updated by Nile Jiang almost 11 years ago

Thank you very much.
After running the follow command, the repository can display normally.

$ ./script/rails runner "Repository.fetch_changesets" -e production

Best Regards.

Nile

Actions

Also available in: Atom PDF