nimroddolev / chime_tts

A custom Home Assistant integration to play combined audio files before and/or after text-to-speech (TTS) messages
https://nimroddolev.github.io/chime_tts/
MIT License
147 stars 12 forks source link

Unable to create public URL #124

Closed Whizzykid closed 2 weeks ago

Whizzykid commented 2 months ago

System Health details

System Information

version core-2024.4.3
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.2
os_name Linux
os_version 6.6.25-haos
arch x86_64
timezone Europe/London
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 4299 Installed Version | 1.34.0 Stage | running Available Repositories | 1408 Downloaded Repositories | 44
Home Assistant Cloud logged_in | true -- | -- subscription_expiration | December 26, 2024 at 12:00 AM relayer_connected | true relayer_region | eu-central-1 remote_enabled | true remote_connected | true alexa_enabled | true google_enabled | false remote_server | eu-central-1-8.ui.nabu.casa certificate_status | ready instance_id | 325dff22b7c24b0e8a0d85afec092ecd can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 12.2 -- | -- update_channel | beta supervisor_version | supervisor-2024.04.4 agent_version | 1.6.0 docker_version | 25.0.5 disk_total | 457.7 GB disk_used | 21.4 GB healthy | true supported | true board | generic-x86-64 supervisor_api | ok version_api | ok installed_addons | File editor (5.8.0), Advanced SSH & Web Terminal (17.2.0), deCONZ (6.23.0), Filebrowser (2.23.0_14), PS5 MQTT (1.3.3), RTSP Simple Server Add-on (v0.17.6), eufy-security-ws (1.8.0), Mosquitto broker (6.4.0), flicd (2.0.3)
Dashboards dashboards | 5 -- | -- resources | 27 views | 20 mode | storage
Recorder oldest_recorder_run | April 21, 2024 at 7:49 AM -- | -- current_recorder_run | April 28, 2024 at 6:36 PM estimated_db_size | 906.81 MiB database_engine | sqlite database_version | 3.44.2
Spotify api_endpoint_reachable | ok -- | --

Checklist

Describe the issue

Suddenly I can no longer get Alexa to say the chimes. The log shows an error like so :

Unable to create public URL - File: '/www/chime_tts/1zco0z49.mp3' is outside the public folder

Could somebody please help? I've not made any changes to the add on or my HA which would have led to this

Running the service on devices that are not Alexa seem to work fine

Reproduction steps

  1. Trying to run the Chime TSS: Say service to any Alexa device
  2. ...

Debug logs

.

Diagnostics dump

No response

nimroddolev commented 2 months ago

It looks like the folder path you have set for the chime_tts.say_url service in the Chime TTS integration configuration page is missing the initial/config folder.

Try changing it to:

/config/www/chime_tts
nimroddolev commented 2 weeks ago

@Whizzykid is this issue still still relevant?

Whizzykid commented 2 weeks ago

I believe it fixed itself! You can close

nimroddolev commented 2 weeks ago

Thank you