Bug 1910740

Summary: synapse.service can fail if it starts before postgresql is ready
Product: [Fedora] Fedora Reporter: Václav Nováček <waclaw66>
Component: matrix-synapseAssignee: Dan Callaghan <djc>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 33CC: djc, misc
Target Milestone: ---   
Target Release: ---   
Hardware: noarch   
OS: Unspecified   
Whiteboard:
Fixed In Version: matrix-synapse-1.38.1-1.fc34 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-02 01:03:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Václav Nováček 2020-12-24 11:24:53 UTC
Hello,

could you please add into synapse.service:
After=network-online.target postgresql.service

Sometimes happens that synapse.service fails to start because postgresql isn't running yet.

A default homeserver.yaml would be appreciated as well.

Thanks in advance.

Comment 1 Michael S. 2021-04-17 18:36:54 UTC
I have made a PR: https://src.fedoraproject.org/rpms/matrix-synapse/pull-request/19

Comment 2 Fedora Update System 2021-07-18 08:13:00 UTC
FEDORA-2021-d02dad20ba has been submitted as an update to Fedora 34. https://bodhi.fedoraproject.org/updates/FEDORA-2021-d02dad20ba

Comment 3 Fedora Update System 2021-07-19 01:00:05 UTC
FEDORA-2021-d02dad20ba has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-d02dad20ba`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-d02dad20ba

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 4 Fedora Update System 2021-07-24 01:18:30 UTC
FEDORA-2021-a627cfd31e has been pushed to the Fedora 34 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --advisory=FEDORA-2021-a627cfd31e`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2021-a627cfd31e

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 5 Fedora Update System 2021-08-02 01:03:31 UTC
FEDORA-2021-a627cfd31e has been pushed to the Fedora 34 stable repository.
If problem still persists, please make note of it in this bug report.