Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synapse just stopped working #16779

Closed
proudhon opened this issue Jan 4, 2024 · 1 comment
Closed

Synapse just stopped working #16779

proudhon opened this issue Jan 4, 2024 · 1 comment

Comments

@proudhon
Copy link

proudhon commented Jan 4, 2024

After 3 years without a single problem my homeserver stopped working after a system reboot requested by a full system update.

Synapse is running on a Debian 11 vm.

This is systemctl status for the service:

● matrix-synapse.service - Synapse Matrix homeserver
     Loaded: loaded (/lib/systemd/system/matrix-synapse.service; enabled; vendor preset: enabled)
     Active: activating (start) since Thu 2024-01-04 19:24:44 UTC; 4s ago
    Process: 173730 ExecStartPre=/opt/venvs/matrix-synapse/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/mat>
   Main PID: 173761 (python)
      Tasks: 1 (limit: 2322)
     Memory: 76.2M
        CPU: 3.735s
     CGroup: /system.slice/matrix-synapse.service
             └─173761 /opt/venvs/matrix-synapse/bin/python -m synapse.app.homeserver --config-path=/etc/matrix-synapse/homeserver.yaml --config-path=/etc/matrix-synapse>

Jan 04 19:24:48 spartaco matrix-synapse[173761]:     _setup_stdlib_logging(config, log_config_path, logBeginner=logBeginner)
Jan 04 19:24:48 spartaco matrix-synapse[173761]:   File "/opt/venvs/matrix-synapse/lib/python3.9/site-packages/synapse/config/logger.py", line 239, in _setup_stdlib_log>
Jan 04 19:24:48 spartaco matrix-synapse[173761]:     _load_logging_config(log_config_path)
Jan 04 19:24:48 spartaco matrix-synapse[173761]:   File "/opt/venvs/matrix-synapse/lib/python3.9/site-packages/synapse/config/logger.py", line 296, in _load_logging_con>
Jan 04 19:24:48 spartaco matrix-synapse[173761]:     logging.config.dictConfig(log_config)
Jan 04 19:24:48 spartaco matrix-synapse[173761]:   File "/usr/lib/python3.9/logging/config.py", line 809, in dictConfig
Jan 04 19:24:48 spartaco matrix-synapse[173761]:     dictConfigClass(config).configure()
Jan 04 19:24:48 spartaco matrix-synapse[173761]:   File "/usr/lib/python3.9/logging/config.py", line 571, in configure
Jan 04 19:24:48 spartaco matrix-synapse[173761]:     raise ValueError('Unable to configure handler '
Jan 04 19:24:48 spartaco matrix-synapse[173761]: ValueError: Unable to configure handler 'file'
@proudhon
Copy link
Author

proudhon commented Jan 5, 2024

Somehow log permission changed and that was causing the problem.

@proudhon proudhon closed this as completed Jan 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant