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

Closed
Open
Created Jan 22, 2013 by Administrator@rootOwner

Unable to download .tar.gz using 'Download' button

Created by: McJoppy

I've installed stable 4.1 as per the instructions on 2 separate Deb Squeeze servers.

Everything is working well except for the download button.

I've gone through and updated the permissions on /home/gitlab/gitlab/tmp/repositories but this doesn't help.

It seems as though gitlab creates the .tar.gz in tmp/repositories/[user] but the dir doesn't exist.

If I create the user dir in tmp/repositories then the download works however by default the dir isn't created and the application doesn't seem to try and create it.

From logs/production.log: Started GET "/root/test49-hello/repository/archive" for 127.0.0.1 at 2013-01-23 10:59:42 +1300 Processing by RepositoriesController#archive as HTML Parameters: {"project_id"=>"root/test49-hello"} Sent file /home/gitlab/gitlab/tmp/repositories/root/test49-hello-9749037d1b71a7a21e471d7e07bdff9e5af02da7.tar.gz (0.2ms) Completed 500 Internal Server Error in 40ms

ActionController::MissingFile (Cannot read file /home/gitlab/gitlab/tmp/repositories/root/test49-hello-9749037d1b71a7a21e471d7e07bdff9e5af02da7.tar.gz): app/controllers/repositories_controller.rb:34:in `archive'

Assignee
Assign to
Time tracking