Project

General

Profile

Problem installing redmine-2.0.4 on Ubuntu-12.04

Added by Shi Jin almost 12 years ago

Hi there,

I am having trouble installing redmine-2.0.4 to a 64bit Ubuntu-12.04. I followed http://www.redmine.org/projects/redmine/wiki/RedmineInstall
Everything works until I did

root@redmine:~/src/redmine-2.0.4# RAILS_ENV=production rake db:migrate
==  Setup: migrating ==========================================================
-- create_table("attachments", {:force=>true})
   -> 0.0377s
-- create_table("auth_sources", {:force=>true})
   -> 0.0253s
-- create_table("custom_fields", {:force=>true})
   -> 0.0277s
-- create_table("custom_fields_projects", {:force=>true, :id=>false})
   -> 0.0376s
-- create_table("custom_fields_trackers", {:force=>true, :id=>false})
   -> 0.0537s
-- create_table("custom_values", {:force=>true})
   -> 0.0465s
-- create_table("documents", {:force=>true})
   -> 0.0881s
-- add_index("documents", ["project_id"], {:name=>"documents_project_id"})
rake aborted!
An error has occurred, all later migrations canceled:

Mysql::Error: The table 'documents' is full: CREATE  INDEX `documents_project_id` ON `documents` (`project_id`)

Tasks: TOP => db:migrate
(See full trace by running task with --trace)

FYI, I did gem install mysql. Should I use mysql2 instead?
My ruby version is ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]

Could you please help?
Thanks.


Replies (1)

RE: Problem installing redmine-2.0.4 on Ubuntu-12.04 - Added by Shi Jin almost 12 years ago

It turned out a reboot resolved the problem. I resized the file system when / ran out of space (ext4 and I take its online resizing capabiilty for granted).

Shi

    (1-1/1)