Closed jorge-vitrubio closed 1 year ago
FWIW - I tried this and it was a successful fix that allowed me to reinitialize my php7.4-fpm service.
That said, in my situation I also have a slew of other issues, and this php-7.4-fpm issue appears to have been just one symptom of a larger, as of yet unknown, bug/malconfiguration that has been affecting my system...
Hello,
On the current version of the package you should have a yunohost user synapse
and a system user matrix-synapse
. Can you check that it's the case on your side ?
hello, yes, i can confirm I have both users:
# getent passwd | grep synapse
matrix-synapse:x:<edited>:<edited>::/opt/yunohost/matrix-synapse:/usr/sbin/nologin
synapse:*:<edited>:<edited>:Synapse Application:/home/synapse:/bin/bash
And what return this command id synapse
?
And what return this command
id synapse
?
# id synapse
uid=56281(synapse)
gid=56281(synapse)
groups=56281(synapse),4002(all_users),5001(mail.main),5002(xmpp.main),72965(nextcloud.api),21672(nextcloud.main),83211(my_webapp__6.main),61926(pleroma.main),44718(synapse.main),95071(my_webapp.main)
and matrix-synapse
# id matrix-synapse
uid=999(matrix-synapse)
gid=999(matrix-synapse)
groups=999(matrix-synapse),115(ssl-cert)
What I don't get is why I have a user synapse
... I can't remember if I did created it along time ago, but in my notes (as I tend to forget sysadmin things) it is not documented that I have created any.
Should be fixed by #428
Should be fixed by #428
Thankyou, it is fixed!!!
# systemctl --failed
UNIT LOAD ACTIVE SUB DESCRIPTION
0 loaded units listed.
# yunohost app info synapse
description: Instant messaging server which uses Matrix
domain_path: matrix.vitrubio.net/_matrix
name: synapse/matrix
version: 1.96.1~ynh1
After upgrade to matrix/synapse version 1.94 every restart has a php7.4-fpm error related to
synapse
user.Matrix/synapse works on my end with clients f-droid SchildiChat and debian Revolt and debian Matrix. I don't use it with web front end.
This is the ssh analisys.
checking the service status
cheking users
cheking
synapse
UIDchecking the php7.4
the php7.4 conf files calls the
fpm/pool.d
, checkingsynapse.conf
a call touser = synapse
the one generating thesystemctl
error.then looking for php-fpm config files related to synapse
in the previous php7.3 version calls the
user = matrix-synapse
not justsynapse
Context
Logs
Question
can I solve it by just changing manually the
user = synapse
touser = matrix-synapse
or this could be a problem when upgrading?