Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

Author Topic: Restarting anope loses registrations?  (Read 4640 times)

0 Members and 1 Guest are viewing this topic.

scott

  • Anope User
  • Offline Offline
  • Posts: 2
Restarting anope loses registrations?
« 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.
« Last Edit: November 02, 2014, 05:17:49 PM by scott »
Logged

scott

  • Anope User
  • Offline Offline
  • Posts: 2
Re: Restarting anope loses registrations?
« Reply #1 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.
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: Restarting anope loses registrations?
« Reply #2 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.
Logged

wilco

  • Anope User
  • Offline Offline
  • Posts: 20
Re: Restarting anope loses registrations?
« Reply #3 on: November 03, 2014, 03:05:46 AM »

you should properly shut anope before shutting down the ircd
Logged

katsklaw

  • Supporter
  • Anope User
  • Offline Offline
  • Posts: 537
Re: Restarting anope loses registrations?
« Reply #4 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.
Logged
Pages: [1]   Go Up