Skip to content

rake time_tracker:load_default_data is not working #1

@gyhor

Description

@gyhor

redmine 2.3.3 with postgres

/plugins# RAILS_ENV=production rake time_tracker:load_default_data
(in /opt/redmine-2.3)
Connecting to database specified by database.yml
svn: warning: cannot set LC_CTYPE locale
svn: warning: environment variable LANG is de_DE.UTF-8
svn: warning: please check that your locale name is correct
Starting redmine-mylyn-connector plugin for Redmine
Creating scope :system. Overwriting existing method Enumeration.system.
Starting wiki_external_filter plugin for Redmin
Registering plantuml macro with wiki_external_filter
Registering graphviz macro with wiki_external_filter
Registering ritex macro with wiki_external_filter
Registering video macro with wiki_external_filter
Registering video_url macro with wiki_external_filter
Registering fortune macro with wiki_external_filter
OpenIdAuthentication.store is nil. Using in-memory store.
Creating scope :sorted. Overwriting existing method User.sorted.

Select language: ar, az, bg, bs, ca, ca-fr, cs, da, de, el, en, en-GB, es, et, eu, fa, fi, fr, gl, he, hr, hu, id, it, ja, ko, lt, lv, mk, mn, nl, no, pl, pt, pt-BR, ro, ru, sk, sl, sq, sr, sr-YU, sv, th, tr, uk, vi, zh, zh-TW [en] en
====================================
Error: PG::UndefinedFunction: ERROR:  operator does not exist: timestamp without time zone + double precision
LINE 1: ...PDATE "time_entries" SET spent_to=FLOOR(spent_from+Floor(hou...
                                                             ^
HINT:  No operator matches the given name and argument type(s). You might need to add explicit type casts.
: UPDATE "time_entries" SET spent_to=FLOOR(spent_from+Floor(hours)*10000+ ROUND((hours-FLOOR(hours))*60)*100) WHERE (hours < 24.0 AND hours > 0.0)
Default configuration data was not loaded.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions