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

Offical apps | Community apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Matrix (Synapse/Element)
  3. New Matrix won't start with url_preview_enabled

New Matrix won't start with url_preview_enabled

Scheduled Pinned Locked Moved Matrix (Synapse/Element)
7 Posts 5 Posters 137 Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    C
    codev
    wrote last edited by
    #1

    Matrix died overnight for us after the 1.145.0 update (Synapse 1.163.0) with this in the logs every 15 seconds:

    Synapse 1.163.0 needs beautifulsoup4 for url-preview, but it is not installed
    

    I fixed it for now by editing configs/homeserver.yaml to switch url_preview_enable off.

    Could you add beautiful soup to the package so URL previews will work again?

    1 Reply Last reply
    4
    • jamesJ
      jamesJ
      james
      Staff
      wrote last edited by
      #2

      Hello @codev and welcome to the Cloudron community forum

      Good catch!

      1 Reply Last reply
      1
      • fbartelsF
        fbartelsF
        fbartels
        App Dev CA Maintainer
        wrote last edited by
        #3

        I just noticed that the latest Matrix update also left my install in a "not responding" state (btw. there does not seem to be a notification for this).

        Seems to be the same error as codev:

        2026-10-15T09:56:22.676Z shell: apptask: /usr/bin/sudo --non-interactive /home/yellowtent/box/src/scripts/configurelogrotate.sh add a19662e3-62af-4022-bf11-f9dabaef48ae /tmp/a19662e3-62af-4022-bf11-f9dabaef48ae.logrotate
        2026-10-15T09:56:22.701Z apptask: startApp: starting container
        2026-10-15T09:56:22.928Z tasks: updating task 25633 with: {"percent":90,"message":"Configuring reverse proxy"}
        2026-10-15T09:56:22.930Z tasks: updating task 25633 with: {"percent":100,"message":"Done"}
        2026-10-15T09:56:22.935Z tasks: setCompleted - 25633: {"result":null,"error":null,"percent":100}
        2026-10-15T09:56:22.935Z tasks: updating task 25633 with: {"completed":true,"result":null,"error":null,"percent":100}
        2026-10-15T09:56:22.936Z taskworker: Task took 42.679 seconds
        2026-10-15T09:56:22.937Z Exiting with code 0
        2026-10-15T09:56:22Z ==> Ensure we log to console
        2026-10-15T09:56:23Z ==> Configuring OIDC auth
        2026-10-15T09:56:23Z ==> Configuring synapse
        2026-10-15T09:56:23Z ==> Fixing permissions
        2026-10-15T09:56:23Z ==> Starting synapse
        2026-10-15T09:56:25Z "read_config",
        2026-10-15T09:56:25Z )
        2026-10-15T09:56:25Z )
        2026-10-15T09:56:25Z ^
        2026-10-15T09:56:25Z ^
        2026-10-15T09:56:25Z ^^^^^^^^^^^^
        2026-10-15T09:56:25Z ^^^^^^^^^^^^^^
        2026-10-15T09:56:25Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        2026-10-15T09:56:25Z ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        2026-10-15T09:56:25Z allow_secrets_in_config=allow_secrets_in_config,
        2026-10-15T09:56:25Z allow_secrets_in_config=config_args.secrets_in_config,
        2026-10-15T09:56:25Z config_dict,
        2026-10-15T09:56:25Z synapse.util.check_dependencies.DependencyException: ['beautifulsoup4']
        2026-10-15T09:56:25Z check_requirements("url-preview")
        2026-10-15T09:56:25Z main()
        2026-10-15T09:56:25Z obj.parse_config_dict(
        2026-10-15T09:56:25Z self.invoke_all(
        2026-10-15T09:56:25Z ~~~~^^
        2026-10-15T09:56:25Z ~~~~~~~~~~~~~~~^
        2026-10-15T09:56:25Z ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^
        2026-10-15T09:56:25Z ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^
        2026-10-15T09:56:25Z ~~~~~~~~~~~~~~~~~~~~~^
        2026-10-15T09:56:25Z ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
        2026-10-15T09:56:25Z ~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        2026-10-15T09:56:25Z "Synapse Homeserver", argv_options
        2026-10-15T09:56:25Z )
        2026-10-15T09:56:25Z ...<2 lines>...
        2026-10-15T09:56:25Z ...<3 lines>...
        2026-10-15T09:56:25Z ==> Ensure we log to console
        2026-10-15T09:56:25Z File "/app/code/env/lib/python3.14/site-packages/synapse/app/homeserver.py", line 333, in load_or_generate_config
        2026-10-15T09:56:25Z File "/app/code/env/lib/python3.14/site-packages/synapse/app/homeserver.py", line 478, in main
        2026-10-15T09:56:25Z File "/app/code/env/lib/python3.14/site-packages/synapse/app/homeserver.py", line 505, in <module>
        2026-10-15T09:56:25Z File "/app/code/env/lib/python3.14/site-packages/synapse/config/_base.py", line 438, in invoke_all
        2026-10-15T09:56:25Z File "/app/code/env/lib/python3.14/site-packages/synapse/config/_base.py", line 595, in load_config
        2026-10-15T09:56:25Z File "/app/code/env/lib/python3.14/site-packages/synapse/config/_base.py", line 676, in load_config_with_parser
        2026-10-15T09:56:25Z File "/app/code/env/lib/python3.14/site-packages/synapse/config/_base.py", line 899, in load_or_generate_config
        2026-10-15T09:56:25Z File "/app/code/env/lib/python3.14/site-packages/synapse/config/_base.py", line 919, in parse_config_dict
        2026-10-15T09:56:25Z File "/app/code/env/lib/python3.14/site-packages/synapse/config/repository.py", line 287, in read_config
        2026-10-15T09:56:25Z File "/app/code/env/lib/python3.14/site-packages/synapse/util/check_dependencies.py", line 336, in check_requirements
        2026-10-15T09:56:25Z File "<frozen runpy>", line 198, in _run_module_as_main
        2026-10-15T09:56:25Z File "<frozen runpy>", line 88, in _run_code
        2026-10-15T09:56:25Z Synapse 1.163.0 needs beautifulsoup4 for url-preview, but it is not installed
        2026-10-15T09:56:25Z Traceback (most recent call last):
        2026-10-15T09:56:25Z config = HomeServerConfig.load_or_generate_config(
        2026-10-15T09:56:25Z homeserver_config = load_or_generate_config(sys.argv[1:])
        2026-10-15T09:56:25Z obj, _ = cls.load_config_with_parser(config_parser, argv_options)
        2026-10-15T09:56:25Z raise DependencyException(deps_unfulfilled)
        2026-10-15T09:56:25Z res[config_class.section] = getattr(config, func_name)(*args, **kwargs)
        2026-10-15T09:56:25Z return cls.load_config(description, argv_options)
        
        1 Reply Last reply
        3
        • jamesJ
          jamesJ
          james
          Staff
          wrote last edited by james
          #4

          Hello @matrix-synapse-element users
          An app update is available that fixes this issue.
          https://forum.cloudron.io/post/131077

          1 Reply Last reply
          2
          • timconsidineT
            timconsidineT
            timconsidine
            App Dev CA Maintainer Super Fan
            wrote last edited by timconsidine
            #5

            Thank you for the quick resolution @james

            Indie app dev, scratching my itches : communityapps.appx.uk, portfolio at myca.appx.uk

            1 Reply Last reply
            1
            • M
              M
              msbt
              App Dev
              wrote last edited by
              #6

              much obliged, thanks @james and @codev

              Happy Hosting & Web Development

              1 Reply Last reply
              1
              • C
                C
                codev
                wrote last edited by
                #7

                So fast! That's great, thanks, got the server back up and running with url previews.

                1 Reply Last reply
                2

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

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