Download raw body.
[update] net/synapse 1.120.0
On 11/27/24 1:28 PM, Antoine Jacoutot wrote:
>> +Updating the database after an upgrade
>> +======================================
>> +On startup, synapse will fail to start if the database schema is too old.
>> +So, after an upgrade of synapse, you should update the database.
>> +It can be done with a command like this one:
>> +doas -u _synapse ${LOCALBASE}/bin/update_synapse_database \
>> + --database-config /var/synapse/homeserver.yaml \
>> + --run-background-updates
>> +
>
> Should be PREFIX / TRUEPREFIX, not LOCALBASE.
>
Indeed, that's more coherent.
Index: pkg/README
===================================================================
RCS file: /cvs/ports/net/synapse/pkg/README,v
diff -u -p -r1.7 README
--- pkg/README 27 Nov 2024 09:12:27 -0000 1.7
+++ pkg/README 27 Nov 2024 12:54:59 -0000
@@ -23,7 +23,7 @@ Updating the database after an upgrade
On startup, synapse will fail to start if the database schema is too old.
So, after an upgrade of synapse, you should update the database.
It can be done with a command like this one:
-doas -u _synapse ${LOCALBASE}/bin/update_synapse_database \
+doas -u _synapse ${PREFIX}/bin/update_synapse_database \
--database-config /var/synapse/homeserver.yaml \
--run-background-updates
[update] net/synapse 1.120.0