Opened 18 years ago
Closed 14 years ago
#4294 closed defect (fixed)
Global trac.ini enable of spamfilter breaks initenv
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Milestone: | plugin - spam-filter |
Component: | plugin/spamfilter | Version: | 0.10.4 |
Severity: | normal | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
I will be maintaining a few dozen projects in trac. In my global trac.ini, I have:
tracspamfilter.* = enabled
in the components section.
After I initenv a new instance, when I go to pull up its page, I get an error that says that the instance must be upgraded. If I run the trac-admin upgrade comment, I get:
Command failed: table spamfilter_log already exists
If I leave tracspamfilter out of the global trac.ini, and add it to the per-instance ini file after initenv, then it works fine.
Attachments (0)
Change History (9)
comment:1 by , 18 years ago
comment:2 by , 18 years ago
Summary: | Breaks initenv → Global trac.ini enable of spamfilter breaks initenv |
---|
comment:3 by , 18 years ago
Milestone: | → none |
---|
Not sure if it would still be a problem with 0.11 and the [inherit]
mechanism… maybe worth testing anyway.
comment:4 by , 18 years ago
I to have this problem. Is there a workaround of something to fix this issue?
comment:6 by , 17 years ago
A workaround is deleting the tables spamfilter_log and spamfilter_bayes with sqlite and after that doing an upgrade with trac-admin. Now all is working as it should.
comment:7 by , 15 years ago
Milestone: | not applicable → spam-filter-plugin |
---|---|
Owner: | removed |
comment:9 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
The above was with sqlite.