Project

General

Profile

ArgumentError (comparison of Time with BigDecimal failed):

Added by Martijn Jonker about 9 years ago

Hello,

I just installed Redmine succesfully. However, after configuring the email in configuration.yml as followed:

production:
  email_delivery:
    delivery_method: :sendmail

And sending a test email using the button in administration > settings > email notifcations - I am getting an Redmine 500 error:

Internal error

An error occurred on the page you were trying to access.
If you continue to experience problems please contact your Redmine administrator for assistance.

If you are the Redmine administrator, check your log files for details about the error.

Back

(the email was succesfully send however)

production.log gives an error:

Started GET "/" for xx.xx.xx.xx at 2015-03-18 18:11:55 +0100
Processing by WelcomeController#index as HTML
Completed 500 Internal Server Error in 78ms

ArgumentError (comparison of Time with BigDecimal failed):
  app/models/setting.rb:187:in `<='
  app/models/setting.rb:187:in `check_cache'
  app/controllers/application_controller.rb:100:in `user_setup'

I have no idea what this means. Google yields no results :/


Replies (6)

RE: ArgumentError (comparison of Time with BigDecimal failed): - Added by Martijn Jonker about 9 years ago

I have now removed configuration.yml and i get this error in the apache log:

[Wed Mar 18 18:23:05.461190 2015] [mpm_prefork:notice] [pid 14101] AH00163: Apache/2.4.10 (Ubuntu) SVN/1.8.10 Phusion_Passenger/5.0.4 PHP/5.5.12-2ubuntu4.3 mod_perl/2.0.8 Perl/v5.20.1 configured -- resuming normal operations
[Wed Mar 18 18:23:05.461365 2015] [core:notice] [pid 14101] AH00094: Command line: '/usr/sbin/apache2'
App 14137 stdout:
App 14137 stderr:  --> Compiling passenger_native_support.so for the current Ruby interpreter...
App 14137 stderr:      (set PASSENGER_COMPILE_NATIVE_SUPPORT_BINARY=0 to disable)
App 14137 stderr:  --> Downloading precompiled passenger_native_support.so for the current Ruby interpreter...
App 14137 stderr:      (set PASSENGER_DOWNLOAD_NATIVE_SUPPORT_BINARY=0 to disable)
App 14137 stderr:      Could not download https://oss-binaries.phusionpassenger.com/binaries/passenger/by_release/5.0.4/rubyext-ruby-2.2.0-x86_64-linux.tar.gz: The requested URL returned error: 404 Not Found
App 14137 stderr:      Trying next mirror...
App 14137 stderr:      Could not download https://s3.amazonaws.com/phusion-passenger/binaries/passenger/by_release/5.0.4/rubyext-ruby-2.2.0-x86_64-linux.tar.gz: The requested URL returned error: 403 Forbidden
App 14137 stderr:  --> Continuing without passenger_native_support.so.
App 14137 stderr:
App 14160 stdout:

And again inside production.log:

Started GET "/" for xxxxxxxxxxxxxxx at 2015-03-18 18:23:39 +0100
Processing by WelcomeController#index as HTML
Completed 500 Internal Server Error in 79ms

ArgumentError (comparison of Time with BigDecimal failed):
  app/models/setting.rb:187:in `<='
  app/models/setting.rb:187:in `check_cache'
  app/controllers/application_controller.rb:100:in `user_setup'

RE: ArgumentError (comparison of Time with BigDecimal failed): - Added by Martijn Jonker about 9 years ago

cp configuration.yml.example configuration.yml
service apache2 restart

Still getting the same errors.

RE: ArgumentError (comparison of Time with BigDecimal failed): - Added by Martijn Jonker about 9 years ago

Next to changing the email in configuration I forgot I changed my account time zone, don't know if that has anything to do with it.

RE: ArgumentError (comparison of Time with BigDecimal failed): - Added by shaneoh * almost 9 years ago

Did you ever find a solution to this? I am having the same issue now having attempted to upgrade Redmine 2.3.3 to 3.0.3.

    (1-6/6)