文件活动记录只记录资料库的操作


#1

文件记录只记录资料库的操作,文件的操作都不记录了,是啥情况啊, 网页端客户端都看不到文件更新的记录了,有没有办法解决????????我现在的记录还停留在3月


#2

看一下您的seafevents 进程是不是卡住了或者有没有什么报错


#3

2021-06-08 22:57:59,960] [INFO] remove pidfile /opt/seafile/pids/seafevents.pid
[2021-06-08 22:58:09,880] [INFO] [seafevents] database: mysql, name: seahub-db
[2021-06-08 22:58:09,962] [ERROR] Failed to create database tables: (pymysql.err.ProgrammingError) (1146, “Table ‘seahub-db.GroupIdLDAPUuidPair’ doesn’t exist”)


#4

没有人了没?


#5

看一下有这个表吗


#6

mysql> show tables;
±-------------------+
| Tables_in_ccnet-db |
±-------------------+
| Binding |
| EmailUser |
| Group |
| GroupDNPair |
| GroupStructure |
| GroupUser |
| LDAPConfig |
| LDAPUsers |
| OrgGroup |
| OrgUser |
| Organization |
| UserRole |
±-------------------+


#7

mysql> show tables;
±------------------------------------------+
| Tables_in_seahub-db |
±------------------------------------------+
| Activity |
| ContentScanRecord |
| ContentScanResult |
| Event |
| FileAudit |
| FileHistory |
| FileOpsStat |
| FileUpdate |
| GroupIdLDAPUuidPair |
| MonthlySysTraffic |
| MonthlyUserTraffic |
| PermAudit |
| SysTraffic |
| TotalStorageStat |
| UserActivity |
| UserActivityStat |
| UserEvent |
| UserTraffic |
| UserTrafficStat |
| VirusFile |
| VirusScanRecord |
| abuse_reports_abusereport |
| admin_log_adminlog |
| api2_token |
| api2_tokenv2 |
| auth_group |
| auth_group_permissions |
| auth_permission |
| auth_user |
| auth_user_groups |
| auth_user_user_permissions |
| avatar_avatar |
| avatar_groupavatar |
| base_clientlogintoken |
| base_commandslastcheck |
| base_devicetoken |
| base_filecomment |
| base_reposecretkey |
| base_userlastlogin |
| base_userstarredfiles |
| captcha_captchastore |
| constance_config |
| contacts_contact |
| django_cas_ng_proxygrantingticket |
| django_cas_ng_sessionticket |
| django_content_type |
| django_migrations |
| django_session |
| drafts_draft |
| drafts_draftreviewer |
| file_participants_fileparticipant |
| file_tags_filetags |
| institutions_institution |
| institutions_institutionadmin |
| institutions_institutionquota |
| invitations_invitation |
| notifications_notification |
| notifications_usernotification |
| ocm_share |
| ocm_share_received |
| options_useroptions |
| organizations_orgmemberquota |
| organizations_orgsettings |
| post_office_attachment |
| post_office_attachment_emails |
| post_office_email |
| post_office_emailtemplate |
| post_office_log |
| profile_detailedprofile |
| profile_profile |
| registration_registrationprofile |
| related_files_relatedfiles |
| repo_api_tokens |
| repo_share_invitation |
| repo_tags_repotags |
| revision_tag_revisiontags |
| revision_tag_tags |
| role_permissions_adminrole |
| share_anonymousshare |
| share_extragroupssharepermission |
| share_extrasharepermission |
| share_fileshare |
| share_orgfileshare |
| share_privatefiledirshare |
| share_uploadlinkshare |
| social_auth_usersocialauth |
| sysadmin_extra_userloginlog |
| tags_filetag |
| tags_fileuuidmap |
| tags_tags |
| termsandconditions_termsandconditions |
| termsandconditions_usertermsandconditions |
| trusted_ip_trustedip |
| two_factor_phonedevice |
| two_factor_staticdevice |
| two_factor_statictoken |
| two_factor_totpdevice |
| wiki_wiki |
±------------------------------------------+
98 rows in set (0.00 sec)
有这个表