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'