Bug 1910740 - synapse.service can fail if it starts before postgresql is ready
Summary: synapse.service can fail if it starts before postgresql is ready
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: matrix-synapse
Version: 33
Hardware: noarch
OS: Unspecified
unspecified
medium
Target Milestone: ---
Assignee: Dan Callaghan
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-24 11:24 UTC by Václav Nováček
Modified: 2021-08-02 01:03 UTC (History)
2 users (show)

Fixed In Version: matrix-synapse-1.38.1-1.fc34
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-02 01:03:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.