I have all my ports forwarded for both Matrix and COturn - I installed Matrix , then Coturn and when I run diagnostics I get this:
I used these two commands to start the server:
sudo systemctl start matrix-synapse
sudo systemctl enable matrix-synapse
This switched the service for matrix-synapse to “running”.
Still have all those other failtures.
Here’s my journalCTL:
– Journal begins at Wed 2022-08-31 14:03:01 UTC, ends at Wed 2022-08-31 14:37:>
Aug 31 14:03:01 freedombox systemd[18337]: Queued start job for default target >
Aug 31 14:03:01 freedombox systemd[18337]: Created slice User Application Slice.
Aug 31 14:03:01 freedombox systemd[18337]: Reached target Paths.
Aug 31 14:03:01 freedombox systemd[18337]: Reached target Timers.
Aug 31 14:03:01 freedombox systemd[18337]: Starting D-Bus User Message Bus Sock>
Aug 31 14:03:01 freedombox systemd[18337]: Listening on GnuPG network certifica>
Aug 31 14:03:01 freedombox systemd[18337]: Listening on GnuPG cryptographic age>
Aug 31 14:03:01 freedombox systemd[18337]: Listening on GnuPG cryptographic age>
Aug 31 14:03:01 freedombox systemd[18337]: Listening on GnuPG cryptographic age>
Aug 31 14:03:01 freedombox systemd[18337]: Listening on GnuPG cryptographic age>
Aug 31 14:03:01 freedombox systemd[18337]: Listening on debconf communication s>
Aug 31 14:03:01 freedombox systemd[18337]: Listening on D-Bus User Message Bus >
Aug 31 14:03:01 freedombox systemd[18337]: Reached target Sockets.
Aug 31 14:03:01 freedombox systemd[18337]: Reached target Basic System.
Aug 31 14:03:01 freedombox systemd[18337]: Reached target Main User Target.
Aug 31 14:03:01 freedombox systemd[18337]: Startup finished in 1.181s.
Aug 31 14:06:45 freedombox sudo[18435]: pam_unix(sudo:auth): authentication fai>
Aug 31 14:06:45 freedombox sudo[18435]: L1fe : TTY=pts/0 ; PWD=/home/L1fe ;>
Aug 31 14:06:45 freedombox sudo[18435]: pam_unix(sudo:session): session opened >
Aug 31 14:06:45 freedombox sudo[18435]: pam_unix(sudo:session): session closed >
Aug 31 14:06:52 freedombox sudo[18441]: L1fe : TTY=pts/0 ; PWD=/home/L1fe ;>
Aug 31 14:06:52 freedombox sudo[18441]: pam_unix(sudo:session): session opened >
lines 1-23
– Journal begins at Wed 2022-08-31 14:03:01 UTC, ends at Wed 2022-08-31 14:37:25 UTC. –
Aug 31 14:03:01 freedombox systemd[18337]: Queued start job for default target Main User Target.
Aug 31 14:03:01 freedombox systemd[18337]: Created slice User Application Slice.
Aug 31 14:03:01 freedombox systemd[18337]: Reached target Paths.
Aug 31 14:03:01 freedombox systemd[18337]: Reached target Timers.
Aug 31 14:03:01 freedombox systemd[18337]: Starting D-Bus User Message Bus Socket.
Aug 31 14:03:01 freedombox systemd[18337]: Listening on GnuPG network certificate management daemon.
Aug 31 14:03:01 freedombox systemd[18337]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Aug 31 14:03:01 freedombox systemd[18337]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Aug 31 14:03:01 freedombox systemd[18337]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Aug 31 14:03:01 freedombox systemd[18337]: Listening on GnuPG cryptographic agent and passphrase cache.
Aug 31 14:03:01 freedombox systemd[18337]: Listening on debconf communication socket.
Aug 31 14:03:01 freedombox systemd[18337]: Listening on D-Bus User Message Bus Socket.
Aug 31 14:03:01 freedombox systemd[18337]: Reached target Sockets.
Aug 31 14:03:01 freedombox systemd[18337]: Reached target Basic System.
Aug 31 14:03:01 freedombox systemd[18337]: Reached target Main User Target.
Aug 31 14:03:01 freedombox systemd[18337]: Startup finished in 1.181s.
Aug 31 14:06:45 freedombox sudo[18435]: pam_unix(sudo:auth): authentication failure; logname=L1fe uid=10000 euid=0 tty=/dev/pts/0 ruser=L1fe rhost= user=L1fe
Aug 31 14:06:45 freedombox sudo[18435]: L1fe : TTY=pts/0 ; PWD=/home/L1fe ; USER=root ; COMMAND=/usr/bin/systemctl start matrix-synapse
Aug 31 14:06:45 freedombox sudo[18435]: pam_unix(sudo:session): session opened for user root(uid=0) by L1fe(uid=10000)
Aug 31 14:06:45 freedombox sudo[18435]: pam_unix(sudo:session): session closed for user root
Aug 31 14:06:52 freedombox sudo[18441]: L1fe : TTY=pts/0 ; PWD=/home/L1fe ; USER=root ; COMMAND=/usr/bin/systemctl enable matrix-synapse
Aug 31 14:06:52 freedombox sudo[18441]: pam_unix(sudo:session): session opened for user root(uid=0) by L1fe(uid=10000)
lines 1-23…skipping…
– Journal begins at Wed 2022-08-31 14:03:01 UTC, ends at Wed 2022-08-31 14:37:25 UTC. –
Aug 31 14:03:01 freedombox systemd[18337]: Queued start job for default target Main User Target.
Aug 31 14:03:01 freedombox systemd[18337]: Created slice User Application Slice.
Aug 31 14:03:01 freedombox systemd[18337]: Reached target Paths.
Aug 31 14:03:01 freedombox systemd[18337]: Reached target Timers.
Aug 31 14:03:01 freedombox systemd[18337]: Starting D-Bus User Message Bus Socket.
Aug 31 14:03:01 freedombox systemd[18337]: Listening on GnuPG network certificate management daemon.
Aug 31 14:03:01 freedombox systemd[18337]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers).
Aug 31 14:03:01 freedombox systemd[18337]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
Aug 31 14:03:01 freedombox systemd[18337]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
Aug 31 14:03:01 freedombox systemd[18337]: Listening on GnuPG cryptographic agent and passphrase cache.
Aug 31 14:03:01 freedombox systemd[18337]: Listening on debconf communication socket.
Aug 31 14:03:01 freedombox systemd[18337]: Listening on D-Bus User Message Bus Socket.
Aug 31 14:03:01 freedombox systemd[18337]: Reached target Sockets.
Aug 31 14:03:01 freedombox systemd[18337]: Reached target Basic System.
Aug 31 14:03:01 freedombox systemd[18337]: Reached target Main User Target.
Aug 31 14:03:01 freedombox systemd[18337]: Startup finished in 1.181s.
Aug 31 14:06:45 freedombox sudo[18435]: pam_unix(sudo:auth): authentication failure; logname=L1fe uid=10000 euid=0 tty=/dev/pts/0 ruser=L1fe rhost= user=L1fe
Aug 31 14:06:45 freedombox sudo[18435]: L1fe : TTY=pts/0 ; PWD=/home/L1fe ; USER=root ; COMMAND=/usr/bin/systemctl start matrix-synapse
Aug 31 14:06:45 freedombox sudo[18435]: pam_unix(sudo:session): session opened for user root(uid=0) by L1fe(uid=10000)
Aug 31 14:06:45 freedombox sudo[18435]: pam_unix(sudo:session): session closed for user root
Aug 31 14:06:52 freedombox sudo[18441]: L1fe : TTY=pts/0 ; PWD=/home/L1fe ; USER=root ; COMMAND=/usr/bin/systemctl enable matrix-synapse
Aug 31 14:06:52 freedombox sudo[18441]: pam_unix(sudo:session): session opened for user root(uid=0) by L1fe(uid=10000)
Aug 31 14:07:00 freedombox sudo[18441]: pam_unix(sudo:session): session closed for user root
Aug 31 14:08:00 freedombox sudo[18538]: L1fe : TTY=pts/0 ; PWD=/home/L1fe ; USER=root ; COMMAND=/usr/bin/systemctl start matrix-synapse
Aug 31 14:08:00 freedombox sudo[18538]: pam_unix(sudo:session): session opened for user root(uid=0) by L1fe(uid=10000)
Aug 31 14:08:03 freedombox sudo[18538]: pam_unix(sudo:session): session closed for user root
Aug 31 14:12:03 freedombox systemd[18337]: dev-zram0.swap: Succeeded.
Aug 31 14:12:04 freedombox systemd[18337]: Stopped target Main User Target.
Aug 31 14:12:04 freedombox systemd[18337]: Stopped target Basic System.
Aug 31 14:12:04 freedombox systemd[18337]: Stopped target Paths.
Aug 31 14:12:04 freedombox systemd[18337]: Stopped target Sockets.
Aug 31 14:12:04 freedombox systemd[18337]: Stopped target Timers.
Aug 31 14:12:04 freedombox systemd[18337]: dbus.socket: Succeeded.
Aug 31 14:12:04 freedombox systemd[18337]: Closed D-Bus User Message Bus Socket.
Aug 31 14:12:04 freedombox systemd[18337]: dirmngr.socket: Succeeded.
Aug 31 14:12:04 freedombox systemd[18337]: Closed GnuPG network certificate management daemon.
Aug 31 14:12:04 freedombox systemd[18337]: gpg-agent-browser.socket: Succeeded.
Aug 31 14:12:04 freedombox systemd[18337]: Closed GnuPG cryptographic agent and passphrase cache (access for web browsers).
Aug 31 14:12:04 freedombox systemd[18337]: gpg-agent-extra.socket: Succeeded.
Aug 31 14:12:04 freedombox systemd[18337]: Closed GnuPG cryptographic agent and passphrase cache (restricted).
What does your firewall look like?
Because if its running, you should be able to hit 127.0.0.1
- Have you changed your hostname in plinth/sys/config after setting up Matrix?
- Did you get a new (not reissue) Let’s Encrypt certificate after starting with matrix?
I don’t use matrix today but did experiment with it on my old freedombox rig. I had an issue where I had two internet resolvable hostnames:
- hostname.sds-ip.de A record using dynamic DNS with a Let’s Encrypt certificate
- hostname.mydomain.net CNAME pointing to sds-ip.de A record also with Let’s Encrypt certificate
I think what I did was set up the system hostname and certificate on the CNAME record, then changed the system hostname to the A record to get a certificate for that, and then broke matrix. Once I put the hostname back where I found it the certificates were sorted and everything worked again. Something like that. I don’t recommend this.
I also recall a sternly written warning about not changing your LE certificate after setting up matrix, but not having it installed now I can’t see what that’s all about. You didn’t do that, did you? Violate the sternly written warning?
Thankfully did not change my LE certificate.
- have not changed my hostname in config.
- I did not set up a Let’s Encrypt certificate.
ill check into this.