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

Error starting synapse with systemd or python synctl #15546

Closed
thagoat opened this issue May 5, 2023 · 4 comments
Closed

Error starting synapse with systemd or python synctl #15546

thagoat opened this issue May 5, 2023 · 4 comments
Labels
A-Config Configuration, or the documentation thereof T-Other Questions, user support, anything else.

Comments

@thagoat
Copy link

thagoat commented May 5, 2023

Description

Error upon starting with systemd and synctl.
Error:
Error in configuration at 'a.p.p..s.e.r.v.i.c.e..c.o.n.f.i.g._.f.i.l.e.s':
Expected 'None' to be a list of AS config files:
Updated to 1.82.0
python version 3.11.3
Had the same error running in a docker container

Steps to reproduce

  • list the steps
  • that reproduce the bug
  • using hyphens as bullet points

Homeserver

Synapse home server on my hardware

Synapse Version

1.82.0

Installation Method

Other (please mention below)

Database

SQLite

Workers

Single process

Platform

Archlinux, native install and docker container

Configuration

No response

Relevant log output

Error in configuration at 'a.p.p._.s.e.r.v.i.c.e._.c.o.n.f.i.g._.f.i.l.e.s':
Expected 'None' to be a list of AS config files:

Anything else that would be useful to know?

Had a massive python update from pacman and the error started after update

@wuetzchen
Copy link

wuetzchen commented May 7, 2023

Hello,

had a similar issue after upgrading, while my config was like

app_service_config_files:

<empty>

I received the same error message. As I am not using any app services, I simply uncommented this config line, works like a charm now with my Arch installation and packages

python 3.11.3-1
matrix-synapse 1.82.0-2

@maxkratz
Copy link
Contributor

maxkratz commented May 7, 2023

I had the same error after upgrading Synapse to v1.82.0 but I use Docker to run my Matrix stack. Commenting out the line as proposed by @wuetzchen worked for me. Thank you!

@thagoat
Copy link
Author

thagoat commented May 8, 2023

Perfect! Thanks @maxkratz @wuetzchen
Worked like a charm! Looked through my config and missed that line at least 3 times 😂🤣

@thagoat thagoat closed this as completed May 8, 2023
@clokep
Copy link
Member

clokep commented May 8, 2023

The error checking around this was tightened up a bit in #15425.

@squahtx squahtx added A-Config Configuration, or the documentation thereof T-Other Questions, user support, anything else. labels May 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Config Configuration, or the documentation thereof T-Other Questions, user support, anything else.
Projects
None yet
Development

No branches or pull requests

5 participants