hy. i tried to enable TTS via bluetooth, but no matter what I do, pulseaudio service is still failed. I’m using Hassbian
"pi@hassbian:~ $ sudo systemctl --system status pulseaudio.service
● pulseaudio.service - Pulse Audio
Loaded: loaded (/etc/systemd/system/pulseaudio.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Sat 2018-02-03 18:26:14 EET; 46min ago
Process: 1180 ExecStart=/usr/bin/pulseaudio --system --disallow-exit --disable-shm --exit-idle-time=-1 --daemonize=no (code=exited, status=1/FAILURE)
Main PID: 1180 (code=exited, status=1/FAILURE)
Feb 03 18:26:14 hassbian systemd[1]: Started Pulse Audio.
Feb 03 18:26:14 hassbian pulseaudio[1180]: W: [pulseaudio] main.c: Running in system mode, but --disallow-module-loading not set.
Feb 03 18:26:14 hassbian pulseaudio[1180]: W: [pulseaudio] main.c: OK, so you are running PA in system mode. Please make sure that you actually do want to do that.
Feb 03 18:26:14 hassbian pulseaudio[1180]: W: [pulseaudio] main.c: Please read http://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/WhatIsWrongWithSystemWide/ for
Feb 03 18:26:14 hassbian pulseaudio[1180]: E: [pulseaudio] main.c: Unknown command: I also had to load in the bluez5 modules in my pulseaudio config (default.pa or system.pa). Here
Feb 03 18:26:14 hassbian pulseaudio[1180]: E: [pulseaudio] main.c: Failed to initialize daemon.
Feb 03 18:26:14 hassbian systemd[1]: pulseaudio.service: Main process exited, code=exited, status=1/FAILURE
Feb 03 18:26:14 hassbian systemd[1]: pulseaudio.service: Unit entered failed state.
Feb 03 18:26:14 hassbian systemd[1]: pulseaudio.service: Failed with result ‘exit-code’."
as a solution I reinstalled Hassbian, installed Pulseaudio again and now it works, but when I try to connect I get: “Failed to connect: org.bluez.Error.Failed”
What could it be the problem?