Anope IRC Services

Anope Support => 2.0.x/1.9.x Support => Topic started by: scott on November 02, 2014, 05:10:18 PM

Title: Restarting anope loses registrations?
Post by: scott on November 02, 2014, 05:10:18 PM
I just set up anope 2.0.1 with unrealirc on windows.

I get it working-- I start unrealirc and then start anope, and it connects.  I am able to use nickser, chanserv, etc.  I register some channels and usernames.  Then I restart unrealirc (and then re-run anope to connect) and all of those registrations are lost.  I don't see anything glaring in the log files.  Is there something you think I'm missing that prevents me from persisting this information?

I have the standard configuration, using the "anope.db" flatfile.  I have confirmed that this file is out there with a recent modified date, but I don't see any registration info in here.
Title: Re: Restarting anope loses registrations?
Post by: scott on November 02, 2014, 05:43:06 PM
The issue was just that changes aren't immediately persisted.  I waited awhile and my changes were updated to the DB.  Solved.
Title: Re: Restarting anope loses registrations?
Post by: katsklaw on November 03, 2014, 02:36:48 AM
Anope should still dump cache to db prior to closing. Perhaps you can run in debug mode and try to reproduce the issue.
Title: Re: Restarting anope loses registrations?
Post by: wilco on November 03, 2014, 03:05:46 AM
you should properly shut anope before shutting down the ircd
Title: Re: Restarting anope loses registrations?
Post by: katsklaw on November 08, 2014, 12:49:26 AM
you should properly shut anope before shutting down the ircd

Anope still writes to disk before exiting even if the ircd isn't properly stopped.