You are not logged in.

#1 2022-04-30 18:48:45

Morta
Member
Registered: 2019-07-07
Posts: 345

Matrix Server

Hi,

my Matrix Server doesn't start correctly

plz help

Last edited by Morta (2022-05-05 19:20:55)

Offline

#2 2022-05-05 19:13:57

Morta
Member
Registered: 2019-07-07
Posts: 345

Re: Matrix Server

sudo -u synapse python -m synapse.app.homeserver -c /etc/synapse/homeserver.yaml

Is working but

[Unit]
Description=Synapse Matrix homeserver (master)
After=network-online.target
Wants=network-online.target
PartOf=synapse.target
ReloadPropagatedFrom=synapse.target

[Service]
Type=notify
User=synapse
Group=synapse
SyslogIdentifier=synapse
Environment=LANG=en_US.UTF-8
WorkingDirectory=/var/lib/synapse
ExecStart=/usr/bin/python3 -m synapse.app.homeserver -c /etc/synapse/homeserver.yaml
ExecReload=/usr/bin/kill -HUP $MAINPID
ExecStop=/usr/bin/synctl stop /etc/synapse/homeserver.yaml
EnvironmentFile=-/etc/default/synapse
Restart=always
RestartSec=3

[Install]
WantedBy=multi-user.target synapse.target
sudo systemctl status synapse
● synapse.service - Synapse master
     Loaded: loaded (/etc/systemd/system/synapse.service; enabled; vendor preset: disabled)
    Drop-In: /usr/lib/systemd/system/synapse.service.d
             └─override-hardened.conf
     Active: activating (start-pre) since Thu 2022-05-05 21:08:47 CEST; 699ms ago
Cntrl PID: 1498730 (python)
      Tasks: 1 (limit: 76890)
     Memory: 63.8M
        CPU: 695ms
     CGroup: /system.slice/synapse.service
             └─ 1498730 /usr/bin/python -m synapse.app.homeserver -c /etc/synapse/homeserver.yaml

May 05 21:08:47 5erver systemd[1]: Starting Synapse master...
  sudo systemctl status synapse
● synapse.service - Synapse Matrix homeserver (master)
     Loaded: loaded (/etc/systemd/system/synapse.service; enabled; vendor preset: disabled)
    Drop-In: /usr/lib/systemd/system/synapse.service.d
             └─override-hardened.conf
     Active: activating (start) since Thu 2022-05-05 21:34:59 CEST; 462ms ago
   Main PID: 1519872 (python3)
      Tasks: 1 (limit: 76890)
     Memory: 44.2M
        CPU: 457ms
     CGroup: /system.slice/synapse.service
             └─ 1519872 /usr/bin/python3 -m synapse.app.homeserver -c /etc/synapse/homeserver.yaml

May 05 21:34:59 5erver systemd[1]: Starting Synapse Matrix homeserver (master)...
[root@5erver system]# journalctl -xeu synapse
░░ An ExecStart= process belonging to unit synapse.service has exited.
░░ 
░░ The process' exit code is 'exited' and its exit status is 1.
May 05 21:35:00 5erver systemd[1]: synapse.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit synapse.service has entered the 'failed' state with result 'exit-code'.
May 05 21:35:00 5erver systemd[1]: Failed to start Synapse Matrix homeserver (master).
░░ Subject: A start job for unit synapse.service has failed
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit synapse.service has finished with a failure.
░░ 
░░ The job identifier is 25110757 and the job result is failed.
May 05 21:35:00 5erver systemd[1]: synapse.service: Consumed 1.013s CPU time.
░░ Subject: Resources consumed by unit runtime
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit synapse.service completed and consumed the indicated resources.
May 05 21:35:04 5erver systemd[1]: synapse.service: Scheduled restart job, restart counter is at 652.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ Automatic restarting of the unit synapse.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
May 05 21:35:04 5erver systemd[1]: Stopped Synapse Matrix homeserver (master).
░░ Subject: A stop job for unit synapse.service has finished
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A stop job for unit synapse.service has finished.
░░ 
░░ The job identifier is 25111242 and the job result is done.
May 05 21:35:04 5erver systemd[1]: synapse.service: Consumed 1.013s CPU time.
░░ Subject: Resources consumed by unit runtime
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ The unit synapse.service completed and consumed the indicated resources.
May 05 21:35:04 5erver systemd[1]: Starting Synapse Matrix homeserver (master)...
░░ Subject: A start job for unit synapse.service has begun execution
░░ Defined-By: systemd
░░ Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
░░ 
░░ A start job for unit synapse.service has begun execution.
░░ 
░░ The job identifier is 25111242.

Fails. Why?

Last edited by Morta (2022-05-05 19:40:37)

Offline

Board footer

Powered by FluxBB