-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UseTagsWithMongo error on startup #100
Comments
The sample dashboard first launches a few tasks, but when I remove these, and start with an empty Mongo database, I get the exact same result. So I'm guessing that your database also doesn't have any tags yet. I've just made a change to the code, give it some time, and NuGet will show version 1.9.1 which should fix this issue. |
Yes, you are right. My db had no tags but I expect this to be the default for anyone adopting your library. Anyway, your fix did work and now I see "Tags" in the Hangfire left-hand menu. Thanks for fixing this. Still, when I navigate to "Tags", I get a MongoDB load error:
I am on the latest MongoDB 3.1.0 and your library seems to use 2.19.2. The two don't seem to be compatible. I have tried upgrading your sample to use MongoDB 3.1.0 just to see what happens but I get build errors. Any ideas? |
I have an existing
Hangfire
app. The thing I am missing the most is some sort of search capability. Somebody suggested to tryHangfire.Tags
and so I did. I followed the instructions but I got the error below upon startup. I am not doing anything fancy. I have just added a call toUseTagsWithMongo
. I don't see anything special in the provided sample code either. UsingHangfire.AspNetCore
1.8.17 andHangfire.Mongo
1.11.2.And here is the error:
The text was updated successfully, but these errors were encountered: