memory-lancedb-pro icon indicating copy to clipboard operation
memory-lancedb-pro copied to clipboard

memory-lancedb-pro causes Telegram providers to stop starting

Open yyxp1989 opened this issue 8 months ago • 4 comments

Plugin Version

1.1.0-beta.10

OpenClaw Version

2026.3.23-2 (7ffe7e4)

Bug Description

Bug report

OpenClaw version

2026.3.23-2

Previous version / migration source

Config migrated from 2026.2.18

Environment

  • Debian/Linux
  • Node v22.22.1

What happened

After enabling memory-lancedb-pro, all Telegram bots stopped responding.

At the same time:

  • OpenClaw gateway remained functional
  • TUI remained functional
  • memory-lancedb-pro initialized successfully

Disabling memory-lancedb-pro restored Telegram immediately.

────────────────────────────────────────────────────────────────────────────────

Actual behavior

When memory-lancedb-pro is enabled:

  • Telegram bots do not respond
  • no Telegram provider startup logs appear
  • gateway/TUI still work

When the plugin is disabled:

  • Telegram works normally again

────────────────────────────────────────────────────────────────────────────────

Expected Behavior

Expected behavior

Telegram providers should still start and respond normally when memory-lancedb-pro is
enabled.

Steps to Reproduce

What I already tested

1. Config schema migration

Checked current docs for 2026.3.23-2:

  • channels.telegram still valid
  • bindings still valid
  • plugins.entries still valid

So this does not appear to be caused by obsolete config categories from 2026.2.18.

2. Telegram multi-account config

Reduced Telegram to a minimal single-account config using only:

  • channels.telegram.enabled
  • channels.telegram.botToken
  • dmPolicy
  • allowFrom
  • groupPolicy
  • groups
  • streaming

Result: same issue.

3. Plugin load order

Tried different plugin orders:

  • Telegram before memory plugin
  • memory plugin first
  • other permutations

Result: no change.

4. Gateway service entrypoint

Fixed a stale openclaw-gateway.service ExecStart pointing to an old entrypoint and updated it to the current installed dist/index.js.

Result: gateway service issue fixed, but Telegram still did not start when
memory-lancedb-pro was enabled.

5. Manual regression check

I manually verified that:

  • without memory-lancedb-pro, Telegram works
  • with memory-lancedb-pro, Telegram stops responding

────────────────────────────────────────────────────────────────────────────────

Reproduction steps

  1. Start from a working OpenClaw install with Telegram configured
  2. Confirm Telegram bots respond normally
  3. Enable memory-lancedb-pro
  4. Restart gateway
  5. Telegram stops responding
  6. Disable memory-lancedb-pro
  7. Restart gateway
  8. Telegram works again

────────────────────────────────────────────────────────────────────────────────

Additional note

Telegram runtime files and plugin manifests are present in the installed OpenClaw package, so this does not appear to be a missing Telegram package.

This looks more like a plugin lifecycle / channel initialization compatibility issue.

Error Logs / Screenshots

### Relevant logs                                                                          
                                                                                            
 memory-lancedb-pro always initializes successfully:                                        
                                                                                            
                                                                                     
   [email protected]: plugin registered                                       
   memory-lancedb-pro: initialized successfully (embedding: OK, retrieval: OK, mode:        
 hybrid, FTS: enabled)                                                                      
                                                                                         
                                                                                            
 Gateway also detects Telegram config changes, but after restart there are still no logs    
 like:                                                                                      
                                                                                            
                                                                                     
   [gateway/channels/telegram] [default] starting provider ...                              
                                                                                         
                                                                                            
 So Telegram config is being recognized, but provider startup does not happen.

Embedding Provider

None

OS / Platform

debian13

yyxp1989 avatar Mar 26 '26 17:03 yyxp1989

I am facing the same issue.

iverson-L avatar Mar 27 '26 01:03 iverson-L

Thanks for the detailed report and systematic debugging, @yyxp1989. This is a serious bug — the plugin silently preventing Telegram providers from starting is a clear regression. Your isolation testing (disabling the plugin restores Telegram) confirms it's a plugin lifecycle / channel initialization issue. A few follow-up questions to help us narrow it down:

  1. Do you have any other plugins enabled alongside memory-lancedb-pro? If so, does the issue persist with only memory-lancedb-pro?
  2. Could you share the gateway startup logs from the point where memory-lancedb-pro finishes registration to where Telegram provider startup should appear?
  3. What Node.js version are you running? (You mentioned Node v22.22.1 — just confirming.)

We suspect the plugin may be interfering with the provider initialization sequence. PR #369 (reflection loop global guard) addresses a related re-entrant registration issue that could be contributing.

AliceLJY avatar Mar 27 '26 18:03 AliceLJY

same issue here. Telegram went down after installing the memory-lancedb-pro plugin.

Plugin Version 1.1.0-beta.10 OpenClaw Version OpenClaw 2026.3.24 (cff6dc9)

I had only these two plugins.

TUI working and telegram no response. Tried gateway restart and rebooting. I fixed it by maually enabling telegram plugin. Because I noticed that in the plugin status list, telegram was disabled somehow, although it was enabled in the config file. So I tried openclaw plugin enable telegram and telegram came back online. I dont notice further issues after another restart.

peterushka avatar Mar 31 '26 07:03 peterushka

Closing as stale: this turned out to be on the OpenClaw host side (re-enabling the Telegram plugin resolved it), and there have been no new reports in about six months. Please open a new issue if it happens again on a current version.

AliceLJY avatar Oct 27 '26 10:10 AliceLJY