Error with newly upgrade 4.6.0 CE system

Yohan Trudel's Avatar

Yohan Trudel

13 Feb, 2017 03:19 PM

I upgraded our system from version 4.4.2 to 4.6.0 last Friday. I also installed nginx in front of it if that makes a difference.

This morning, we are seeing a lot of errors as follow:

D:\Kayak\Review\ZP-63\XXX>hg pull http://XXX/
pulling from http://XXX
searching for changes
no changes found
abort: HTTP Error 500: Internal Server Error

and in the community log, we see:

2017-02-13 10:05:21.567 ERROR [rhodecode.integrations] failure occured when sending event <rhodecode.events.user.UserPreUpdate object at 0x7ff4aad98850> to integration <Integration(u'email', 'global')>
Traceback (most recent call last):
  File "/opt/rhodecode/store/nbkrz4134nvflk843f05al8y2qdrl5ma-python2.7-rhodecode-enterprise-ce-4.6.0/lib/python2.7/site-packages/rhodecode/integrations/__init__.py", line 54, in integrations_event_handler
    integration_model.send_event(integration, event)
  File "/opt/rhodecode/store/nbkrz4134nvflk843f05al8y2qdrl5ma-python2.7-rhodecode-enterprise-ce-4.6.0/lib/python2.7/site-packages/rhodecode/model/integration.py", line 99, in send_event
    handler.send_event(event)
  File "/opt/rhodecode/store/nbkrz4134nvflk843f05al8y2qdrl5ma-python2.7-rhodecode-enterprise-ce-4.6.0/lib/python2.7/site-packages/rhodecode/integrations/types/email.py", line 241, in send_event
    data = event.as_dict()
  File "/opt/rhodecode/store/nbkrz4134nvflk843f05al8y2qdrl5ma-python2.7-rhodecode-enterprise-ce-4.6.0/lib/python2.7/site-packages/rhodecode/events/base.py", line 62, in as_dict
    'utc_timestamp': self.utc_timestamp,
AttributeError: 'UserPreUpdate' object has no attribute 'utc_timestamp'

Did something go wrong in the DB update? Would you be able to suggest steps to fix the issue?

Thank you in advance,
Yohan

  1. Support Staff 1 Posted by Marcin Kuzminsk... on 13 Feb, 2017 04:27 PM

    Marcin Kuzminski's Avatar

    Resolved with a custom patch,

    release 4.6.1 will fix that.

  2. Marcin Kuzminski closed this discussion on 13 Feb, 2017 04:27 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

 

03 Oct, 2017 08:26 PM
03 Oct, 2017 05:48 PM
28 Sep, 2017 05:55 PM
25 Sep, 2017 06:06 PM
25 Sep, 2017 05:54 AM
18 Aug, 2017 09:19 PM