$ sudo RAILS_ENV=production rake db:migrate_plugins
(in /usr/share/redmine)
Migrating engines...
Migrating acts-as-taggable-on...
Migrating acts_as_activity_provider...
Migrating acts_as_attachable...
Migrating acts_as_customizable...
Migrating acts_as_event...
Migrating acts_as_list...
Migrating acts_as_searchable...
Migrating acts_as_tree...
Migrating acts_as_versioned...
Migrating acts_as_watchable...
Migrating awesome_nested_set...
Migrating classic_pagination...
Migrating coderay-0.9.2...
Migrating gravatar...
Migrating open_id_authentication...
Migrating prepend_engine_views...
Migrating redmine_issues_link...
Migrating redmine_tagging...
== CreateViews: migrating ====================================================
-- create_view(:issue_tags, "select taggings.id, tags.name as tag, taggings.taggable_id as issue_id from taggings join tags on taggings.tag_id = tags.id where taggable_type = 'Issue'")
-> 0.0667s
-- create_view(:wiki_page_tags, "select taggings.id, tags.name as tag, taggings.taggable_id as wiki_page_id from taggings join tags on taggings.tag_id = tags.id where taggable_type = 'WikiPage'")
-> 0.0027s
== CreateViews: migrated (0.0699s) ===========================================
== ScrubBody: migrating ======================================================
rake aborted!
An error has occurred, this and all later migrations canceled:
PGError: ERROR: function lower(bytea) does not exist
LINE 1: SELECT * FROM "wiki_content_versions" WHERE (lower(data) lik...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
: SELECT * FROM "wiki_content_versions" WHERE (lower(data) like '%{{tag(%')
$ sudo RAILS_ENV=production rake db:migrate_plugins (in /usr/share/redmine) Migrating engines... Migrating acts-as-taggable-on... Migrating acts_as_activity_provider... Migrating acts_as_attachable... Migrating acts_as_customizable... Migrating acts_as_event... Migrating acts_as_list... Migrating acts_as_searchable... Migrating acts_as_tree... Migrating acts_as_versioned... Migrating acts_as_watchable... Migrating awesome_nested_set... Migrating classic_pagination... Migrating coderay-0.9.2... Migrating gravatar... Migrating open_id_authentication... Migrating prepend_engine_views... Migrating redmine_issues_link... Migrating redmine_tagging... == CreateViews: migrating ==================================================== -- create_view(:issue_tags, "select taggings.id, tags.name as tag, taggings.taggable_id as issue_id from taggings join tags on taggings.tag_id = tags.id where taggable_type = 'Issue'") -> 0.0667s -- create_view(:wiki_page_tags, "select taggings.id, tags.name as tag, taggings.taggable_id as wiki_page_id from taggings join tags on taggings.tag_id = tags.id where taggable_type = 'WikiPage'") -> 0.0027s == CreateViews: migrated (0.0699s) ===========================================
== ScrubBody: migrating ====================================================== rake aborted! An error has occurred, this and all later migrations canceled:
PGError: ERROR: function lower(bytea) does not exist LINE 1: SELECT * FROM "wiki_content_versions" WHERE (lower(data) lik... ^ HINT: No function matches the given name and argument types. You might need to add explicit type casts. : SELECT * FROM "wiki_content_versions" WHERE (lower(data) like '%{{tag(%')
(See full trace by running task with --trace)