{"action":"created","issue":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9986","repository_url":"https://api.github.com/repos/gitlabhq/gitlabhq","labels_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9986/labels{/name}","comments_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9986/comments","events_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9986/events","html_url":"https://github.com/gitlabhq/gitlabhq/issues/9986","id":127240794,"number":9986,"title":"FreeBSD: can't modify frozen ActiveSupport::HashWithIndifferentAccess at setup","user":{"login":"t-zuehlsdorff","id":4396190,"avatar_url":"https://avatars.githubusercontent.com/u/4396190?v=3","gravatar_id":"","url":"https://api.github.com/users/t-zuehlsdorff","html_url":"https://github.com/t-zuehlsdorff","followers_url":"https://api.github.com/users/t-zuehlsdorff/followers","following_url":"https://api.github.com/users/t-zuehlsdorff/following{/other_user}","gists_url":"https://api.github.com/users/t-zuehlsdorff/gists{/gist_id}","starred_url":"https://api.github.com/users/t-zuehlsdorff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-zuehlsdorff/subscriptions","organizations_url":"https://api.github.com/users/t-zuehlsdorff/orgs","repos_url":"https://api.github.com/users/t-zuehlsdorff/repos","events_url":"https://api.github.com/users/t-zuehlsdorff/events{/privacy}","received_events_url":"https://api.github.com/users/t-zuehlsdorff/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-18T14:45:55Z","updated_at":"2016-02-12T09:55:09Z","closed_at":null,"body":"Hello,\r\n\r\ni am porting GitLab to FreeBSD and we did major progress in the last month. But we have one problem left, the above error message. Here with a trace:\r\n\r\n```\r\nAdding limits to schema.rb for mysql\r\n** Invoke setup_postgresql (first_time)\r\n** Invoke environment \r\n** Execute setup_postgresql\r\n-- execute(\"CREATE INDEX CONCURRENTLY index_on_namespaces_lower_path ON namespaces (LOWER(path));\")\r\n   -> 0.0040s\r\n-- execute(\"CREATE INDEX CONCURRENTLY index_on_projects_lower_path ON projects (LOWER(path));\")\r\n   -> 0.0134s\r\n-- execute(\"CREATE INDEX CONCURRENTLY index_on_users_lower_username ON users (LOWER(username));\")\r\n   -> 0.0029s\r\n-- execute(\"CREATE INDEX CONCURRENTLY index_on_users_lower_email ON users (LOWER(email));\")\r\n   -> 0.0231s\r\n** Invoke db:seed_fu (first_time)\r\n** Invoke environment \r\n** Execute db:seed_fu\r\n\r\n== Seed from /usr/local/www/gitlab/db/fixtures/production/001_admin.rb\r\nrake aborted!\r\ncan't modify frozen ActiveSupport::HashWithIndifferentAccess\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/runner.rb:46:in `eval'\r\n/usr/local/lib/ruby/gems/2.1/gems/activesupport-4.2.5/lib/active_support/hash_with_indifferent_access.rb:227:in `delete'\r\n/usr/local/lib/ruby/gems/2.1/gems/default_value_for-3.0.0.1/lib/default_value_for.rb:169:in `block in set_default_values'\r\n/usr/local/lib/ruby/gems/2.1/gems/default_value_for-3.0.0.1/lib/default_value_for.rb:152:in `each'\r\n/usr/local/lib/ruby/gems/2.1/gems/default_value_for-3.0.0.1/lib/default_value_for.rb:152:in `set_default_values'\r\n/usr/local/lib/ruby/gems/2.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:432:in `block in make_lambda'\r\n/usr/local/lib/ruby/gems/2.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:228:in `call'\r\n/usr/local/lib/ruby/gems/2.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:228:in `block in halting_and_conditional'\r\n/usr/local/lib/ruby/gems/2.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:506:in `call'\r\n/usr/local/lib/ruby/gems/2.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:506:in `block in call'\r\n/usr/local/lib/ruby/gems/2.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:506:in `each'\r\n/usr/local/lib/ruby/gems/2.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:506:in `call'\r\n/usr/local/lib/ruby/gems/2.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:92:in `__run_callbacks__'\r\n/usr/local/lib/ruby/gems/2.1/gems/activesupport-4.2.5/lib/active_support/callbacks.rb:778:in `_run_initialize_callbacks'\r\n/usr/local/lib/ruby/gems/2.1/gems/activerecord-4.2.5/lib/active_record/core.rb:284:in `initialize'\r\n/usr/local/lib/ruby/gems/2.1/gems/default_value_for-3.0.0.1/lib/default_value_for.rb:142:in `initialize'\r\n/usr/local/lib/ruby/gems/2.1/gems/devise-3.5.3/lib/devise/models/confirmable.rb:57:in `initialize'\r\n/usr/local/lib/ruby/gems/2.1/gems/state_machines-activerecord-0.3.0/lib/state_machines/integrations/active_record.rb:454:in `initialize'\r\n/usr/local/lib/ruby/gems/2.1/gems/activerecord-4.2.5/lib/active_record/inheritance.rb:61:in `new'\r\n/usr/local/lib/ruby/gems/2.1/gems/activerecord-4.2.5/lib/active_record/inheritance.rb:61:in `new'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/seeder.rb:80:in `find_or_initialize_record'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/seeder.rb:62:in `seed_record'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/seeder.rb:36:in `block (2 levels) in seed'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/seeder.rb:36:in `map'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/seeder.rb:36:in `block in seed'\r\n/usr/local/lib/ruby/gems/2.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:211:in `transaction'\r\n/usr/local/lib/ruby/gems/2.1/gems/activerecord-4.2.5/lib/active_record/transactions.rb:220:in `transaction'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/seeder.rb:35:in `seed'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/active_record_extension.rb:32:in `seed'\r\n(eval):9:in `block (2 levels) in run_file'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/runner.rb:46:in `eval'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/runner.rb:46:in `block (2 levels) in run_file'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/runner.rb:58:in `block in open'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/runner.rb:57:in `open'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/runner.rb:57:in `open'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/runner.rb:36:in `block in run_file'\r\n/usr/local/lib/ruby/gems/2.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `block in transaction'\r\n/usr/local/lib/ruby/gems/2.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/transaction.rb:184:in `within_new_transaction'\r\n/usr/local/lib/ruby/gems/2.1/gems/activerecord-4.2.5/lib/active_record/connection_adapters/abstract/database_statements.rb:213:in `transaction'\r\n/usr/local/lib/ruby/gems/2.1/gems/activerecord-4.2.5/lib/active_record/transactions.rb:220:in `transaction'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/runner.rb:35:in `run_file'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/runner.rb:26:in `block in run'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/runner.rb:25:in `each'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu/runner.rb:25:in `run'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/seed-fu.rb:29:in `seed'\r\n/usr/local/lib/ruby/gems/2.1/gems/seed-fu-2.3.5/lib/tasks/seed_fu.rake:36:in `block (2 levels) in <top (required)>'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'\r\n/usr/local/lib/ruby/2.1/monitor.rb:211:in `mon_synchronize'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'\r\n/usr/local/www/gitlab/lib/tasks/gitlab/setup.rake:20:in `setup_db'\r\n/usr/local/www/gitlab/lib/tasks/gitlab/setup.rake:4:in `block (2 levels) in <top (required)>'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `call'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/task.rb:240:in `block in execute'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `each'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/task.rb:235:in `execute'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'\r\n/usr/local/lib/ruby/2.1/monitor.rb:211:in `mon_synchronize'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/task.rb:172:in `invoke_with_call_chain'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/task.rb:165:in `invoke'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/application.rb:150:in `invoke_task'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `each'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/application.rb:106:in `block in top_level'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/application.rb:115:in `run_with_threads'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/application.rb:100:in `top_level'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/application.rb:78:in `block in run'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/application.rb:176:in `standard_exception_handling'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/lib/rake/application.rb:75:in `run'\r\n/usr/local/lib/ruby/gems/2.1/gems/rake-10.4.2/bin/rake:33:in `<top (required)>'\r\n/usr/local/bin/rake:23:in `load'\r\n/usr/local/bin/rake:23:in `<main>'\r\nTasks: TOP => db:seed_fu\r\n```\r\n\r\nI do not have any further ideas how to deal with this error. Or fix it. Can someone please help? \r\n\r\nGreetings,\r\nTorsten\r\n"},"comment":{"url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/comments/183257046","html_url":"https://github.com/gitlabhq/gitlabhq/issues/9986#issuecomment-183257046","issue_url":"https://api.github.com/repos/gitlabhq/gitlabhq/issues/9986","id":183257046,"user":{"login":"t-zuehlsdorff","id":4396190,"avatar_url":"https://avatars.githubusercontent.com/u/4396190?v=3","gravatar_id":"","url":"https://api.github.com/users/t-zuehlsdorff","html_url":"https://github.com/t-zuehlsdorff","followers_url":"https://api.github.com/users/t-zuehlsdorff/followers","following_url":"https://api.github.com/users/t-zuehlsdorff/following{/other_user}","gists_url":"https://api.github.com/users/t-zuehlsdorff/gists{/gist_id}","starred_url":"https://api.github.com/users/t-zuehlsdorff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t-zuehlsdorff/subscriptions","organizations_url":"https://api.github.com/users/t-zuehlsdorff/orgs","repos_url":"https://api.github.com/users/t-zuehlsdorff/repos","events_url":"https://api.github.com/users/t-zuehlsdorff/events{/privacy}","received_events_url":"https://api.github.com/users/t-zuehlsdorff/received_events","type":"User","site_admin":false},"created_at":"2016-02-12T09:55:09Z","updated_at":"2016-02-12T09:55:09Z","body":"Hello,\r\n\r\nthis problem still stands, which is sad, because it is the only blocker to get GitLab to FreeBSD :(\r\n\r\nWhat is needed to get somebody a look at it? I can provide a test-server with root-access if you misses FreeBSD (but sadly only with IPv6), documentation is up to date and many persons want to help. \r\n\r\nSo i am pushing the topic ;)\r\n\r\nGreetings,\r\nTorsten"}}