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

Reply via email to