eggheads / eggdrop

The Eggdrop IRC Bot
GNU General Public License v2.0
510 stars 84 forks source link

Bot occasionally forgets it's help files, requires .rehelp to work again #1580

Open tydel opened 6 months ago

tydel commented 6 months ago

OS: Debian 12.5 (bookworm)

I first had this issue back on 2023-12-05 and obtained help to rectify the problem from Geo on IRC.

.help output on partyline:

19:12:02 Vancouver | [03:12:01] #tydel# help
19:12:02 Vancouver | DCC commands for Vancouver, eggdrop v1.9.5:
19:12:02 Vancouver |    For all users:
19:12:02 Vancouver |       who          away         quit         whom
19:12:02 Vancouver |       me           page         match        motd
19:12:02 Vancouver |       bots         newpass      chat         handle
19:12:02 Vancouver |       whoami       echo         strip        su
19:12:02 Vancouver |       trace        fixcodes     bottree      vbottree
19:12:02 Vancouver |       botinfo      relay        -host        fprint
19:12:02 Vancouver |       chfinger
19:12:02 Vancouver |    For ops:
19:12:02 Vancouver |       addlog       console      match        whois
19:12:02 Vancouver |    For botnet masters:
19:12:02 Vancouver |       +bot         botattr      chhandle     chpass
19:12:02 Vancouver |       +host        -bot         link         chaddr
19:12:02 Vancouver |       boot         unlink       banner       dccstat
19:12:02 Vancouver |    For channel masters:
19:12:02 Vancouver |       chattr       save         backup       reload
19:12:02 Vancouver |       status       traffic      uptime
19:12:02 Vancouver |    For global masters:
19:12:02 Vancouver |       +user        +ignore      comment      binds
19:12:02 Vancouver |       ignores      -user        -ignore      dccstat
19:12:02 Vancouver |       debug        rehash       restart      module
19:12:02 Vancouver |    For owners:
19:12:02 Vancouver |       die          simul        loadmod      unloadmod
19:12:02 Vancouver |       language     set          tcl          rehelp
19:12:02 Vancouver |       modules      +lang        -lang        +lsec
19:12:02 Vancouver |       -lsec        lstat        relang       ldump
19:12:02 Vancouver | All commands begin with '.', and all else goes to the party line.
19:12:02 Vancouver |
19:12:02 Vancouver | Text starting with ',' is sent ONLY to bot-masters.
19:12:02 Vancouver |
19:12:02 Vancouver | You can get help on individual commands: '.help <command>'.
19:12:02 Vancouver | Extra help relating to loaded modules may be obtained by typing
19:12:02 Vancouver | '.help <module> module'. Possible modules include:
19:12:02 Vancouver |    assoc      channels     compress      console      ctcp
19:12:02 Vancouver |    filesys    irc          notes         seen         server
19:12:02 Vancouver |    share      transfer     uptime
19:12:02 Vancouver |
19:12:02 Vancouver | You may receive a list of commands provided by all loaded modules by
19:12:02 Vancouver | using '.help all'. If you only remember a part of the command's
19:12:02 Vancouver | name you are searching for, just use wildcards (e.g. '.help *bot*'),
19:12:02 Vancouver | and all matching help texts will be displayed.

Geo asked if the installation was moved or otherwise installed alternatively or through a repo, the answer is/was no.

All the help files are/were there, and unmodified since their installation:

$ find help/ -ls                                                                                                                                                           [2/706]
 49558900      4 drwxr-xr-x   4 tydel    tydel        4096 Nov  4  2023 help/
 49545857      4 -rw-r--r--   1 tydel    tydel        1929 Nov  4  2023 help/share.help
 49545845     12 -rw-r--r--   1 tydel    tydel       12065 Nov  4  2023 help/chaninfo.help
 49545856      4 -rw-r--r--   1 tydel    tydel        2582 Nov  4  2023 help/server.help
 49545859      4 -rw-r--r--   1 tydel    tydel         665 Nov  4  2023 help/uptime.help
 49545851      8 -rw-r--r--   1 tydel    tydel        7312 Nov  4  2023 help/filesys.help
 49558923      4 drwxr-xr-x   2 tydel    tydel        4096 Nov  4  2023 help/msg
 49545860      4 -rw-r--r--   1 tydel    tydel        3918 Nov  4  2023 help/msg/irc.help
 49545862      4 -rw-r--r--   1 tydel    tydel         197 Nov  4  2023 help/msg/seen.help
 49559125      4 -rw-r--r--   1 tydel    tydel        1781 Nov  1  2023 help/msg/userinfo.help
 49545861      4 -rw-r--r--   1 tydel    tydel         685 Nov  4  2023 help/msg/notes.help
 49545843      4 -rw-r--r--   1 tydel    tydel         941 Nov  4  2023 help/assoc.help
 49545852      4 -rw-r--r--   1 tydel    tydel         255 Nov  4  2023 help/ident.help
 49545858      4 -rw-r--r--   1 tydel    tydel         374 Nov  4  2023 help/transfer.help
 49545847      4 -rw-r--r--   1 tydel    tydel         394 Nov  4  2023 help/compress.help
 49545853     12 -rw-r--r--   1 tydel    tydel        9393 Nov  4  2023 help/irc.help
 49545844      4 -rw-r--r--   1 tydel    tydel         273 Nov  4  2023 help/blowfish.help
 49545855      4 -rw-r--r--   1 tydel    tydel         452 Nov  4  2023 help/seen.help
 49559123      4 -rw-r--r--   1 tydel    tydel         808 Nov  1  2023 help/cmd_resolve.help
 49545846     16 -rw-r--r--   1 tydel    tydel       13929 Nov  4  2023 help/channels.help
 49558904      4 drwxr-xr-x   2 tydel    tydel        4096 Nov  4  2023 help/set
 49545874      4 -rw-r--r--   1 tydel    tydel        1698 Nov  4  2023 help/set/share.help
 49545873     12 -rw-r--r--   1 tydel    tydel        8226 Nov  4  2023 help/set/server.help
 49545869      4 -rw-r--r--   1 tydel    tydel        2327 Nov  4  2023 help/set/filesys.help
 49545870      4 -rw-r--r--   1 tydel    tydel        1110 Nov  4  2023 help/set/ident.help
 49545875      4 -rw-r--r--   1 tydel    tydel        1819 Nov  4  2023 help/set/transfer.help
 49545865      4 -rw-r--r--   1 tydel    tydel         367 Nov  4  2023 help/set/compress.help
 49545871      4 -rw-r--r--   1 tydel    tydel        3217 Nov  4  2023 help/set/irc.help
 49545863      4 -rw-r--r--   1 tydel    tydel         382 Nov  4  2023 help/set/blowfish.help
 49545864      4 -rw-r--r--   1 tydel    tydel         702 Nov  4  2023 help/set/channels.help
 49545867      4 -rw-r--r--   1 tydel    tydel        1188 Nov  4  2023 help/set/ctcp.help
 49545868      4 -rw-r--r--   1 tydel    tydel        1348 Nov  4  2023 help/set/dns.help
 49545866      4 -rw-r--r--   1 tydel    tydel         534 Nov  4  2023 help/set/console.help
 49545872      4 -rw-r--r--   1 tydel    tydel        1040 Nov  4  2023 help/set/notes.help
 49545842     20 -rw-r--r--   1 tydel    tydel       16821 Nov  4  2023 help/set/cmds1.help
 49545840     24 -rw-r--r--   1 tydel    tydel       22233 Nov  4  2023 help/cmds2.help
 49545849      4 -rw-r--r--   1 tydel    tydel         351 Nov  4  2023 help/ctcp.help
 49545841      8 -rw-r--r--   1 tydel    tydel        7846 Nov  4  2023 help/core.help
 49545850      4 -rw-r--r--   1 tydel    tydel         418 Nov  4  2023 help/dns.help
 49545848      4 -rw-r--r--   1 tydel    tydel         565 Nov  4  2023 help/console.help
 49559124      8 -rw-r--r--   1 tydel    tydel        4979 Nov  1  2023 help/userinfo.help
 49545854      4 -rw-r--r--   1 tydel    tydel        3048 Nov  4  2023 help/notes.help
 49545839     16 -rw-r--r--   1 tydel    tydel       15125 Nov  4  2023 help/cmds1.help

Output from .status all:

 2024-05-06 14:36:36 tydel   .status all
 2024-05-06 14:36:36 Vancouver   [21:36:36] #tydel# status all
 2024-05-06 14:36:36 Vancouver   I am Vancouver, running eggdrop v1.9.5: 23 users (mem: 193k).
 2024-05-06 14:36:36 Vancouver   Online for 150 days, 21:04 (background) - CPU: 24:38.14 - Cache hit: 25.8%
 2024-05-06 14:36:36 Vancouver   Configured with: '--enable-debug' '--enable-debug-assert' '--enable-debug-mem' '--enable-debug-dns' '--prefix=/home/tydel/eggdrop'
 2024-05-06 14:36:36 Vancouver   Admin: tydel <email: tydel@tydel.com>
 2024-05-06 14:36:36 Vancouver   Config file: botconfig/Vancouver.conf
 2024-05-06 14:36:36 Vancouver   OS: Linux 5.10.0-21-cloud-amd64
 2024-05-06 14:36:36 Vancouver   Process ID: 90721 (parent 474)
 2024-05-06 14:36:36 Vancouver   Tcl library: /usr/share/tcltk/tcl8.6
 2024-05-06 14:36:36 Vancouver   Tcl version: 8.6.11 (header version 8.6.11)
 2024-05-06 14:36:36 Vancouver   Tcl is threaded.
 2024-05-06 14:36:36 Vancouver   TLS support is enabled.
 2024-05-06 14:36:36 Vancouver   TLS library: OpenSSL 1.1.1w  11 Sep 2023 (header version OpenSSL 1.1.1w  11 Sep 2023)
 2024-05-06 14:36:36 Vancouver   IPv6 support is enabled.
 2024-05-06 14:36:36 Vancouver   Threaded DNS core is enabled.
 2024-05-06 14:36:36 Vancouver   Socket table: 60/100
 2024-05-06 14:36:36 Vancouver   Memory table: 4664/8192 (56.9% full)
 2024-05-06 14:36:36 Vancouver   Memory fault: only accounting for 198546/241086 (82.4%)
 2024-05-06 14:36:36 Vancouver   Memory table itself occupies an additional 320k static
 2024-05-06 14:36:36 Vancouver
 2024-05-06 14:36:36 Vancouver   Botnet nickname: Vancouver
 2024-05-06 14:36:36 Vancouver   Userfile: botconfig/Vancouver.user
 2024-05-06 14:36:36 Vancouver   Motd: text/motd
 2024-05-06 14:36:36 Vancouver   Directories:
 2024-05-06 14:36:36 Vancouver     Help   : help/
 2024-05-06 14:36:36 Vancouver     Modules: modules/
 2024-05-06 14:36:36 Vancouver   New users get flags [-], notify:
 2024-05-06 14:36:36 Vancouver   Permanent owner(s): tydel
 2024-05-06 14:36:36 Vancouver   Logfile #1: logs/Vancouver.log on * (mco: msgs, cmds, misc)
 2024-05-06 14:36:36 Vancouver   Ignores last 10 minutes.
 2024-05-06 14:36:36 Vancouver   Loaded module information:
 2024-05-06 14:36:36 Vancouver     Module: ident, v 0.9
 2024-05-06 14:36:36 Vancouver     Module: console, v 1.3
 2024-05-06 14:36:36 Vancouver     Module: notes, v 2.2
 2024-05-06 14:36:36 Vancouver       Notes can be stored in: botconfig/Vancouver.notes
 2024-05-06 14:36:36 Vancouver       Using 0 bytes of memory
 2024-05-06 14:36:36 Vancouver     Module: filesys, v 2.1
 2024-05-06 14:36:36 Vancouver       DCC file path: /home/tydel/eggdrop/filesys/
 2024-05-06 14:36:36 Vancouver         Incoming: /home/tydel/eggdrop/filesys/incoming/
 2024-05-06 14:36:36 Vancouver       Max users: 20
 2024-05-06 14:36:36 Vancouver       Max upload file size: 0k
 2024-05-06 14:36:36 Vancouver       Using 0 bytes of memory
 2024-05-06 14:36:36 Vancouver     Module: compress, v 1.2
 2024-05-06 14:36:36 Vancouver       zlib version 1.2.11
 2024-05-06 14:36:36 Vancouver       0 files compressed
 2024-05-06 14:36:36 Vancouver       0 files uncompressed
 2024-05-06 14:36:36 Vancouver       Using 0 bytes of memory
 2024-05-06 14:36:36 Vancouver     Module: share, v 2.4
 2024-05-06 14:36:36 Vancouver       Private owners: no
 2024-05-06 14:36:36 Vancouver       Allow resync: no
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Montreal.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Airdrie.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Victoria.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Windsor.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Moncton.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Regina.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Kamloops.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Halifax.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Kitchener.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Kingston.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Barrie.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Quebec.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Nanaimo.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Hamilton.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Winnipeg.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Kelowna.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Calgary.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Guelph.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Edmonton.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Toronto.
 2024-05-06 14:36:36 Vancouver       Aggressively sharing with Ottawa.
 2024-05-06 14:36:36 Vancouver       Using 96 bytes of memory
 2024-05-06 14:36:36 Vancouver     Module: transfer, v 2.4
 2024-05-06 14:36:36 Vancouver       DCC block size: 0 (turbo dcc)
 2024-05-06 14:36:36 Vancouver       Max simultaneous downloads per user: 3
 2024-05-06 14:36:36 Vancouver       Using 0 bytes of memory
 2024-05-06 14:36:36 Vancouver     Module: irc, v 1.5
 2024-05-06 14:36:36 Vancouver       Channels: #tydelbots
 2024-05-06 14:36:36 Vancouver       Account tracking: Best-effort
2024-05-06 14:36:36 Vancouver       Channels: #tydelbots
 2024-05-06 14:36:36 Vancouver       Account tracking: Best-effort
 2024-05-06 14:36:36 Vancouver         - WHOX missing           => Accounts will NOT be known after Eggdrop joins a channel (raw 315)
 2024-05-06 14:36:36 Vancouver         - account-notify missing => Accounts will NOT update immediately when users log in or out
 2024-05-06 14:36:36 Vancouver         - extended-join missing  => Accounts will NOT be known immediately when a user joins (bind join)
 2024-05-06 14:36:36 Vancouver         See doc/ACCOUNTS for more details
 2024-05-06 14:36:36 Vancouver     Module: ctcp, v 1.1
 2024-05-06 14:36:36 Vancouver     Module: server, v 1.5
 2024-05-06 14:36:36 Vancouver       Online as: Vancouver!tydel@loghost.arilia.io (Vancouver)
 2024-05-06 14:36:36 Vancouver       Connected to IRCSource [irc.tydel.net]:+6697 (connected for 65 days)
 2024-05-06 14:36:36 Vancouver       Active CAP negotiations: (none)
 2024-05-06 14:36:36 Vancouver       isupport: TARGMAX=NAMES:1,LIST:1,KICK:1,WHOIS:1,PRIVMSG:4,NOTICE:4,ACCEPT:,MONITOR: MAP ACCEPT=20 FNC MONITOR=60 DEAF=D CNOTICE CPRIVMSG ETRACE TOPICLEN=160          CHANNELLEN=50 NICKLEN=9 CHARSET=ascii CASEMAPPING=rfc1459 ELIST=U SAFELIST CALLERID=g STATUSMSG=@+ KNOCK NETWORK=IRCSource MODES=4 MAXLIST=beI:100 PREFIX=(ov)@+ CHANLIMIT=&#:25 CHANMODES=eIb,k,l,       imnpstS INVEX EXCEPTS CHANTYPES=&#
 2024-05-06 14:36:36 Vancouver       Msg flood: 5 msgs/60 seconds
 2024-05-06 14:36:36 Vancouver       CTCP flood: 3 msgs/60 seconds
 2024-05-06 14:36:36 Vancouver       Using 1588 bytes of memory
 2024-05-06 14:36:36 Vancouver     Module: channels, v 1.2
 2024-05-06 14:36:36 Vancouver       #tydelbots          :  25 members, enforcing "+tn" (greet, auto-op)
 2024-05-06 14:36:36 Vancouver         Options: dynamicbans userbans autoop greet protectops dontkickops shared dynamic cycle dynamicexempts userexempts dynamicinvites userinvites
 2024-05-06 14:36:36 Vancouver         ban-type: 3
 2024-05-06 14:36:36 Vancouver         Bans last 120 minutes.
 2024-05-06 14:36:36 Vancouver         Exemptions last 60 minutes.
 2024-05-06 14:36:36 Vancouver         Invitations last 60 minutes.
 2024-05-06 14:36:36 Vancouver     Module: uptime, v 1.4
 2024-05-06 14:36:36 Vancouver         612 uptime packets sent
 2024-05-06 14:36:36 Vancouver         Approximately 6.16 hours until next update (at Tue May  7 03:46:15 2024)
 2024-05-06 14:36:36 Vancouver     Module: encryption, v 2.2
 2024-05-06 14:36:36 Vancouver       Blowfish encryption module:
 2024-05-06 14:36:36 Vancouver         0 of 3 boxes in use
 2024-05-06 14:36:36 Vancouver         Using 0 bytes of memory
 2024-05-06 14:36:36 Vancouver     Module: encryption2, v 1.0
 2024-05-06 14:36:36 Vancouver     Module: eggdrop, v 109.5

He advised me to try .rehelp to reload the help files, and all worked afterwards. However, this is a reoccurring problem and I have to .rehelp pretty much every time I need usage information from .help

I'd be glad to offer any additional information you need.