]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
2 | <HTML> | |
3 | <HEAD> | |
4 | <TITLE> [IRCServices Coding] Solution to the nickgroup 0 problem. | |
5 | </TITLE> | |
6 | <LINK REL="Index" HREF="index.html" > | |
7 | <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Solution%20to%20the%20nickgroup%200%20problem.&In-Reply-To="> | |
8 | <META NAME="robots" CONTENT="index,nofollow"> | |
9 | <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> | |
10 | <LINK REL="Previous" HREF="000385.html"> | |
11 | <LINK REL="Next" HREF="000395.html"> | |
12 | </HEAD> | |
13 | <BODY BGCOLOR="#ffffff"> | |
14 | <H1>[IRCServices Coding] Solution to the nickgroup 0 problem.</H1> | |
15 | <B>Mark Hetherington</B> | |
16 | <A HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Solution%20to%20the%20nickgroup%200%20problem.&In-Reply-To=" | |
17 | TITLE="[IRCServices Coding] Solution to the nickgroup 0 problem.">mark at ctcp.net | |
18 | </A><BR> | |
19 | <I>Tue Mar 12 14:52:19 PST 2002</I> | |
20 | <P><UL> | |
21 | <LI>Previous message: <A HREF="000385.html">[IRCServices Coding] Services 5.0a24 /ns unlink nick force text error | |
22 | </A></li> | |
23 | <LI>Next message: <A HREF="000395.html">[IRCServices Coding] Solution to the nickgroup 0 problem. | |
24 | </A></li> | |
25 | <LI> <B>Messages sorted by:</B> | |
26 | <a href="date.html#386">[ date ]</a> | |
27 | <a href="thread.html#386">[ thread ]</a> | |
28 | <a href="subject.html#386">[ subject ]</a> | |
29 | <a href="author.html#386">[ author ]</a> | |
30 | </LI> | |
31 | </UL> | |
32 | <HR> | |
33 | <!--beginarticle--> | |
34 | <PRE>After much fiddling, I have finally both removed the 0 nickgroups from my | |
35 | database and upgraded to services 5.0a24 :) | |
36 | ||
37 | For anyone affected by this bug, the following steps should remove the | |
38 | erroneous names and allow you to upgrade to the new version: | |
39 | ||
40 | 1) Make sure you are running version 5.0a23 which has code to not write | |
41 | nickgroup 0 nicknames to the database file. | |
42 | 2) Identify those nicknames with a nickgroup of 0. I suggest using the | |
43 | httpd module and the XML download feature. IME this does not display all | |
44 | nicknames in the database, but nickgroup 0 seemed to always be the first | |
45 | entry and always list correctly. | |
46 | 3) Drop the nicknames identified as being of nickgroup 0. In my case they | |
47 | were forbidden nicks so this affected no users. If the nickname is valid, | |
48 | it is likely not working correctly so although you might want to warn the | |
49 | users affected, they are likely not using those names anyway. | |
50 | 4) Shutdown services with /os shutdown so it saves the new database. | |
51 | 5) Restart Services 5.0a23, ensuring you do not get any warnings in | |
52 | services.log for your current database (both on startup and on first write | |
53 | which you can force with an /os update). Also check that the XML download | |
54 | does not report any more nickgroup zero entries. If any remain, goto 2 and | |
55 | repeat until you have cleared them out. | |
56 | 6) Backup your databases. This is important. Even though the startup fails, | |
57 | I had problems with completely trashed databases when services segfaulted. | |
58 | 7) Install Services 5.0a24 and start them. If they bootup, the nickgroup | |
59 | bug is now cured. If not, restore your backup and return to version 5.0a23 | |
60 | and goto 2 to find the erroneous entry. | |
61 | ||
62 | I know at least one other person on the list has problems with this bug, so | |
63 | HTH. | |
64 | ||
65 | -- | |
66 | Mark. | |
67 | ||
68 | ||
69 | ||
70 | </PRE> | |
71 | ||
72 | <!--endarticle--> | |
73 | <HR> | |
74 | <P><UL> | |
75 | <!--threads--> | |
76 | <LI>Previous message: <A HREF="000385.html">[IRCServices Coding] Services 5.0a24 /ns unlink nick force text error | |
77 | </A></li> | |
78 | <LI>Next message: <A HREF="000395.html">[IRCServices Coding] Solution to the nickgroup 0 problem. | |
79 | </A></li> | |
80 | <LI> <B>Messages sorted by:</B> | |
81 | <a href="date.html#386">[ date ]</a> | |
82 | <a href="thread.html#386">[ thread ]</a> | |
83 | <a href="subject.html#386">[ subject ]</a> | |
84 | <a href="author.html#386">[ author ]</a> | |
85 | </LI> | |
86 | </UL> | |
87 | ||
88 | </body></html> |