New Matrix won't start with url_preview_enabled
-
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 installedI fixed it for now by editing
configs/homeserver.yamlto switchurl_preview_enableoff.Could you add beautiful soup to the package so URL previews will work again?
-
-
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 [1;31m"read_config",[0m 2026-10-15T09:56:25Z [1;31m)[0m 2026-10-15T09:56:25Z [1;31m)[0m 2026-10-15T09:56:25Z [1;31m^[0m 2026-10-15T09:56:25Z [1;31m^[0m 2026-10-15T09:56:25Z [1;31m^^^^^^^^^^^^[0m 2026-10-15T09:56:25Z [1;31m^^^^^^^^^^^^^^[0m 2026-10-15T09:56:25Z [1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m 2026-10-15T09:56:25Z [1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m 2026-10-15T09:56:25Z [1;31mallow_secrets_in_config=allow_secrets_in_config,[0m 2026-10-15T09:56:25Z [1;31mallow_secrets_in_config=config_args.secrets_in_config,[0m 2026-10-15T09:56:25Z [1;31mconfig_dict,[0m 2026-10-15T09:56:25Z [1;35msynapse.util.check_dependencies.DependencyException[0m: [35m['beautifulsoup4'][0m 2026-10-15T09:56:25Z [31mcheck_requirements[0m[1;31m("url-preview")[0m 2026-10-15T09:56:25Z [31mmain[0m[1;31m()[0m 2026-10-15T09:56:25Z [31mobj.parse_config_dict[0m[1;31m([0m 2026-10-15T09:56:25Z [31mself.invoke_all[0m[1;31m([0m 2026-10-15T09:56:25Z [31m~~~~[0m[1;31m^^[0m 2026-10-15T09:56:25Z [31m~~~~~~~~~~~~~~~[0m[1;31m^[0m 2026-10-15T09:56:25Z [31m~~~~~~~~~~~~~~~[0m[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m 2026-10-15T09:56:25Z [31m~~~~~~~~~~~~~~~~~~[0m[1;31m^^^^^^^^^^^^^^^[0m 2026-10-15T09:56:25Z [31m~~~~~~~~~~~~~~~~~~~~~[0m[1;31m^[0m 2026-10-15T09:56:25Z [31m~~~~~~~~~~~~~~~~~~~~~~~~~~[0m[1;31m^^^^^^^^^^^^^^^^^[0m 2026-10-15T09:56:25Z [31m~~~~~~~~~~~~~~~~~~~~~~~~~~~[0m[1;31m^^^^^^^^^^^^^^^^^^^^^^^^^^^^^[0m 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 [35m"/app/code/env/lib/python3.14/site-packages/synapse/app/homeserver.py"[0m, line [35m333[0m, in [35mload_or_generate_config[0m 2026-10-15T09:56:25Z File [35m"/app/code/env/lib/python3.14/site-packages/synapse/app/homeserver.py"[0m, line [35m478[0m, in [35mmain[0m 2026-10-15T09:56:25Z File [35m"/app/code/env/lib/python3.14/site-packages/synapse/app/homeserver.py"[0m, line [35m505[0m, in [35m<module>[0m 2026-10-15T09:56:25Z File [35m"/app/code/env/lib/python3.14/site-packages/synapse/config/_base.py"[0m, line [35m438[0m, in [35minvoke_all[0m 2026-10-15T09:56:25Z File [35m"/app/code/env/lib/python3.14/site-packages/synapse/config/_base.py"[0m, line [35m595[0m, in [35mload_config[0m 2026-10-15T09:56:25Z File [35m"/app/code/env/lib/python3.14/site-packages/synapse/config/_base.py"[0m, line [35m676[0m, in [35mload_config_with_parser[0m 2026-10-15T09:56:25Z File [35m"/app/code/env/lib/python3.14/site-packages/synapse/config/_base.py"[0m, line [35m899[0m, in [35mload_or_generate_config[0m 2026-10-15T09:56:25Z File [35m"/app/code/env/lib/python3.14/site-packages/synapse/config/_base.py"[0m, line [35m919[0m, in [35mparse_config_dict[0m 2026-10-15T09:56:25Z File [35m"/app/code/env/lib/python3.14/site-packages/synapse/config/repository.py"[0m, line [35m287[0m, in [35mread_config[0m 2026-10-15T09:56:25Z File [35m"/app/code/env/lib/python3.14/site-packages/synapse/util/check_dependencies.py"[0m, line [35m336[0m, in [35mcheck_requirements[0m 2026-10-15T09:56:25Z File [35m"<frozen runpy>"[0m, line [35m198[0m, in [35m_run_module_as_main[0m 2026-10-15T09:56:25Z File [35m"<frozen runpy>"[0m, line [35m88[0m, in [35m_run_code[0m 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, _ = [31mcls.load_config_with_parser[0m[1;31m(config_parser, argv_options)[0m 2026-10-15T09:56:25Z raise DependencyException(deps_unfulfilled) 2026-10-15T09:56:25Z res[config_class.section] = [31mgetattr(config, func_name)[0m[1;31m(*args, **kwargs)[0m 2026-10-15T09:56:25Z return [31mcls.load_config[0m[1;31m(description, argv_options)[0m -
Hello @matrix-synapse-element users
An app update is available that fixes this issue.
https://forum.cloudron.io/post/131077 -
Thank you for the quick resolution @james
-
-
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