Seahub notifications error after upgrade to pro 7.0.9

Hi,
I upgraded our server from pro 6.3.12 to 7.0.9 today. Everything works so far, but I’m getting a lot of the following errors in seahub.log:

2019-09-23 15:43:07,200 [ERROR] seahub.notifications.utils:97 update_notice_detail 'org_id'
2019-09-23 15:43:07,204 [ERROR] seahub.notifications.utils:97 update_notice_detail 'org_id'
2019-09-23 15:43:07,208 [ERROR] seahub.notifications.utils:97 update_notice_detail 'org_id'
2019-09-23 15:43:08,395 [ERROR] seahub.notifications.utils:60 update_notice_detail 'org_id'
2019-09-23 15:43:08,400 [ERROR] seahub.notifications.utils:60 update_notice_detail 'org_id'
2019-09-23 15:43:08,709 [ERROR] seahub.notifications.utils:60 update_notice_detail 'org_id

What does that mean?
Thanks

The same error :
seafile python2.7[24661]: 2019-09-25 09:30:32,001 [ERROR] seahub.notifications.utils:60 update_notice_detail ‘org_id’
Any solutions ?

Hey.
this is a known problem, before upgrading to 7.x the file comments were not migrated. Notes about the migration can be found in the changelog (Point 6.3).
https://download.seafile.com/published/seafile-manual/changelog/changelog-for-seafile-professional-server.md

That’s what I did after upgrading to 6.3. To be sure, I entered the command again:

[seafile@xxx seafile-server-latest]$ ./seahub.sh python-env seahub/manage.py migrate_file_comment

LC_ALL is not set in ENV, set to en_US.UTF-8
base_filecomment is already migrated, exit.
Done.

But the errors still appear:

2019-09-26 09:37:35,878 [ERROR] seahub.notifications.utils:60 update_notice_detail 'org_id'
2019-09-26 09:37:37,341 [ERROR] seahub.notifications.utils:60 update_notice_detail 'org_id'
2019-09-26 09:37:38,568 [ERROR] seahub.notifications.utils:97 update_notice_detail 'org_id'
2019-09-26 09:37:40,563 [ERROR] seahub.notifications.utils:60 update_notice_detail 'org_id'
2019-09-26 09:37:41,224 [ERROR] seahub.notifications.utils:97 update_notice_detail 'org_id'
2019-09-26 09:37:43,770 [ERROR] seahub.notifications.utils:60 update_notice_detail 'org_id'
2019-09-26 09:37:46,510 [ERROR] seahub.notifications.utils:60 update_notice_detail 'org_id'
2019-09-26 09:37:49,502 [ERROR] seahub.notifications.utils:60 update_notice_detail 'org_id'

@uosseafile I experience the same error message with Seafile Server 7.0.5 Community Edition. I used the same command as you did before, but had also no success. Still the same error message after each (re)start of Seahub.

Same result after upgrade from 6.1.1 to 7.0.5 …
The reason is in seahub.notifications_usernotification : detail column seems to have changed, but i found nothing googleling …
Truncating the table stops the error message.
Without informations I think I can leave without prior notifications.

This is a bug in our code if there are some old pending notices. You can find the fix in https://github.com/haiwen/seahub/pull/4436/files

The fix will be included in the next release.