Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [update] net/synapse 1.120.0
To:
Renaud Allard <renaud@allard.it>
Cc:
ports <ports@openbsd.org>
Date:
Wed, 27 Nov 2024 08:51:11 +0000

Download raw body.

Thread
On 2024/11/27 09:40, Renaud Allard wrote:
> Hello,
> 
> Here is a diff for net/synapse 1.120.0.
> Tested on amd64
> I made a small change in the README to give instructions on how to update
> the database in case of schema changes.

+It can be done with a command like this one:
+doas -u _synapse python \
+       ${LOCALBASE}/bin/update_synapse_database \
+       --database-config /var/synapse/homeserver.yaml \
+       --run-background-updates


No package provides a "python" binary, it's either python2 or python3.

Can't this just use the script directly?

+doas -u _synapse ${LOCALBASE}/bin/update_synapse_database \
+       --database-config /var/synapse/homeserver.yaml \
+       --run-background-updates