Anope IRC Services

Anope Support => 1.8.x/1.7.x Support (Read Only) => Topic started by: bob on June 08, 2013, 02:24:04 AM

Title: nick.db wiped?
Post by: bob on June 08, 2013, 02:24:04 AM
Hi all,

It seems that every 200 days I need to reboot my server for an nice refresh of updates etc. Just before I reboot i do a ./anoperc rehash to save databases etc. However sadly everytime I reboot and login to nickserv it tells me my nick is not registered. Any suggestions anyone?

This is starting to frustrate me as I'm unable to determine what the issue is. The logs look fine too. Any suggestions / thoughts?

Beer whoever can help me solve this issue :(
Title: Re: nick.db wiped?
Post by: Adam on June 08, 2013, 02:26:19 AM
That can happen if services are killed while writing databases.

You should probably actually shutdown services (./anoperc stop) before shutting down the server.

This is also why backups exist, check the backups folder.
Title: Re: nick.db wiped?
Post by: katsklaw on June 08, 2013, 02:28:13 AM
or /msg operserv update
Title: Re: nick.db wiped?
Post by: bob on June 08, 2013, 02:28:44 AM
You know what that's probably it! I do not do that and a backup lol. Fail on my part and I'll do some testing on the "stop"

*beer*
Title: Re: nick.db wiped?
Post by: bob on June 08, 2013, 02:29:19 AM
or /msg operserv update

I did actually do this too! Very odd
Title: Re: nick.db wiped?
Post by: katsklaw on June 08, 2013, 02:50:42 AM
an /os update dumps data from cache to the FFF db files so if the data isn't getting into the DB files, then it's likely a permissions thing. Do you have mysql enabled?
Title: Re: nick.db wiped?
Post by: bob on June 08, 2013, 03:25:25 AM
an /os update dumps data from cache to the FFF db files so if the data isn't getting into the DB files, then it's likely a permissions thing. Do you have mysql enabled?

For services I'm just using the .db's files. Nothing going into mysql however I do have mysql running for other items.