Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
E

Eliahou

@Eliahou
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Matrix WhatsApp Bridge
    E Eliahou

    Thanks for packaging this bridge - it actually motivated me to discover and deploy Matrix 🙂

    I’m trying to set it up alongside the Synapse app from the Cloudron store, but I’m currently stuck with the following issue.


    What I did

    • Installed the Matrix (Synapse) app from the Cloudron app store
    • Installed the mautrix-whatsapp bridge
    • Added the registration file generated by the bridge to the Synapse app
    • Restarted Synapse
    • Sent login to @whatsappbot:domain.com

    What happens

    I consistently get:

    ⚠️ Your message was not bridged: the bridge hasn't received the decryption keys


    Bridge logs

    The bridge fails to sync and retries indefinitely:

    Dec 25 19:22:40 2025-12-25T18:22:40.932Z DBG Request completed as_user_id=@whatsappbot:domain.com duration=6.873778 method=GET req_id=477 response_length=55 response_mime=application/json status_code=500 url=https://matrix.domain.com/_matrix/client/v3/sync?filter=0&timeout=0&user_id=%40whatsappbot%3Adomain.com
    Dec 25 19:22:50 2025-12-25T18:22:50.939Z ERR Error /syncing, waiting 10 seconds error="M_UNKNOWN (HTTP 500): Internal server error" component=crypto
    

    Synapse logs (version 1.144.0)

    Synapse returns HTTP 500 on /sync for the bridge user, with a NotImplementedError:

    Dec 25 19:28:11 2025-12-25 18:28:11,245 - synapse.access.http.8008 - 521 - INFO - GET-887 - 172.18.20.179 - 8008 - {@whatsappbot:domain.com} Processed request: 0.004sec/0.000sec (0.001sec, 0.000sec) (0.000sec/0.001sec/1) 55B 500 "GET /_matrix/client/v3/sync?filter=0&timeout=0&user_id=%40whatsappbot%3Adomain.com HTTP/1.1" "mautrix-whatsapp/v25.12+dev.1f06bd38 mautrix-go/v0.26.1 go/1.25.5" [0 dbevts]
    

    Followed by this stacktrace:

    Dec 25 19:28:21 2025-12-25 18:28:21,251 - synapse.http.server - 147 - ERROR - GET-892 - Failed handle request via 'SyncRestServlet': <XForwardedForRequest at 0x7657785cd910 method='GET' uri='/_matrix/client/v3/sync?filter=0&timeout=0&user_id=%40whatsappbot%3Adomain.com' clientproto='HTTP/1.1' site='8008'>
    Dec 25 19:28:21 Traceback (most recent call last):
    Dec 25 19:28:21 File "/app/code/env/lib/python3.12/site-packages/synapse/http/server.py", line 335, in _async_render_wrapper
    Dec 25 19:28:21 callback_return = await self._async_render(request)
    Dec 25 19:28:21 File "/app/code/env/lib/python3.12/site-packages/synapse/http/server.py", line 576, in _async_render
    Dec 25 19:28:21 callback_return = await raw_callback_return
    Dec 25 19:28:21 File "/app/code/env/lib/python3.12/site-packages/synapse/rest/client/sync.py", line 269, in on_GET
    Dec 25 19:28:21 sync_result = await self.sync_handler.wait_for_sync_for_user(
    Dec 25 19:28:21 File "/app/code/env/lib/python3.12/site-packages/synapse/handlers/sync.py", line 358, in wait_for_sync_for_user
    Dec 25 19:28:21 res = await self.response_cache.wrap(
    Dec 25 19:28:21 File "/app/code/env/lib/python3.12/site-packages/synapse/handlers/sync.py", line 527, in current_sync_for_user
    Dec 25 19:28:21 sync_result = await self.generate_sync_result(
    Dec 25 19:28:21 File "/app/code/env/lib/python3.12/site-packages/synapse/handlers/sync.py", line 1660, in generate_sync_result
    Dec 25 19:28:21 raise NotImplementedError()
    Dec 25 19:28:21 NotImplementedError
    

    Summary

    It looks like the bridge calls:

    /_matrix/client/v3/sync?filter=0&timeout=0
    

    for @whatsappbot, which causes Synapse 1.144.0 to return HTTP 500 with a NotImplementedError.
    Because /sync fails, the bridge can’t receive encryption keys and messages are not bridged.

    Do you have any idea what could be wrong here ?
    I didn’t manage to find a solution in the official documentation.

    App Packaging & Development

  • run.sh not working as expected
    E Eliahou

    @joseph
    Oh, okay! That works perfectly.
    Thank you for the clarification!

    LAMP

  • run.sh not working as expected
    E Eliahou

    Hi,

    I'm not familiar with Docker packaging and custom apps, so I'm running my small Node.js applications within the LAMP app.
    To use the latest Node.js version (since the default in the LAMP app is v18.18.0), I reinstalled Node.js in a custom path.

    I then added the following commands to the run.sh file to use my custom Node.js installation:

    export PATH="/app/data/nodejs/bin:$PATH"
    export NODE_PATH="/app/data/node_modules"
    export npm_config_prefix="/app/data"
    export npm_config_cache="/app/data/.npm-cache"
    

    However, these commands don't seem to execute automatically. Each time I open the terminal (not just when I restart the app), I have to manually enter these commands to use the custom Node.js path. It appears that the run.sh file isn't running these commands as expected, or perhaps I'm missing something.

    Could someone please advise on what I might be doing wrong or suggest a solution?

    Any help would be appreciated!
    Thanks!

    LAMP
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search