Skip to content

Server 4.3.152: local-facebook / local-instagram missing from /v1/accounts and /v1/chats, not restarted on boot #38

Description

@salmonumbrella

The situation

Beeper Server 4.3.152 (stable), headless, Linux x64 in Docker. Updated from 4.3.144, same result on both.

Logged in four local bridges through POST /v1/bridges/{id}/login-sessions: local-whatsapp, local-signal, local-facebook (flow messenger-lite) and local-instagram (flow instagram-password). All four logins completed.

  • WhatsApp and Signal show up in GET /v1/accounts, and their chats come back from GET /v1/chats.
  • Facebook and Instagram don't. GET /v1/bridges/local-facebook returns accounts: [] with status available, but GET /v1/bridges/local-facebook/logins lists the login with its account IDs.
  • GET /v1/chats?accountIDs=<facebook or instagram account> returns 0 items.
  • Right after login the bridges did work: account state was RUNNING, and portals and messages were landing in each bridge's megabridge.db.
  • After a server restart, FB and IG are never started again. The log shows Bridge started for WhatsApp and Signal on every restart, nothing for Facebook, and Instagram only once at the initial login. Their message counts stop growing from that point.

One difference I noticed: the FB/IG account states have an empty displayName, while WA/Signal have the phone number.

The FB/IG logins also came back with the same login IDs my Beeper Desktop on another machine uses for its own local FB/IG bridges, so the server might be treating them as another device's accounts. Signal reused the Desktop ID too and works fine, so I'm not sure that's it.

Ask

Start local-facebook and local-instagram on server boot like WhatsApp and Signal, and list their accounts and chats in /v1/accounts and /v1/chats so API/MCP clients can read them.

Looks related to #14 / #31 (bridge accounts not initialized on headless server), which is fixed for WA/Signal on 4.3.152 but not for these two.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions