Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

user_directory.notify_new_event and stats.notify_new_event exceptions #7466

Closed
krystiancha opened this issue May 11, 2020 · 4 comments
Closed
Labels
z-bug (Deprecated Label)

Comments

@krystiancha
Copy link

Description

I changed the user directory configuration. I flipped the search_all_users option to true.

Then, as the comment in config says, I ran the query linked in this doc.

Now I get exceptions in my synapse logs.

https://gist.github.com/krystiancha/45d78bd0b4436f054090328a72186a7b

Steps to reproduce

  • change search_all_users option to true
  • run the queries from the doc linked above
  • restart synapse

Version information

  • Homeserver: self hosted

If not matrix.org:

  • Version: 1.12.4

  • Install method: pacman

  • Platform: Arch Linux
@anoadragon453 anoadragon453 added z-bug (Deprecated Label) info-needed labels May 12, 2020
@anoadragon453
Copy link
Member

Thank you for your bug report. Can I ask whether you're running Synapse in worker mode?

Possibly related: #7360

@krystiancha
Copy link
Author

Thanks for the reply. I'm not running Synapse in worker mode. I'm running it via systemd unit provided with the package.

[Unit]
Description=Synapse Matrix homeserver
After=network-online.target
Requires=network-online.target

[Service]
Type=simple
User=synapse
Group=synapse
SyslogIdentifier=synapse
Environment=LANG=en_US.UTF-8
WorkingDirectory=/var/lib/synapse
ExecStart=/usr/bin/python3 -m synapse.app.homeserver --config-path=/etc/synapse/homeserver.yaml
ExecStop=/usr/bin/synctl stop /etc/synapse/homeserver.yaml
EnvironmentFile=-/etc/default/synapse

[Install]
WantedBy=multi-user.target

And I have only one listener in my homeserver.yml.

listeners:
   - port: 8008
     tls: false
     type: http
     x_forwarded: true
     bind_addresses: ['::1', '127.0.0.1']

     resources:
       - names: [client, federation]
         compress: false

@clokep
Copy link
Member

clokep commented Jun 24, 2020

@krystiancha There's been quite a few bugs fixed in the linked to code. I'd suggest upgrading to 1.15.1 (the latest) and trying again. Let us know if you're still hitting this error!

@krystiancha
Copy link
Author

Yup, I can't reproduce anymore.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
z-bug (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

3 participants