Script - Service Not Found after 2022.10.2 Core Update

Hi all,
first of all, many thanks in advance for the attention to my issue.
After the updating to the 2022.10.2 release, I’m not able anymore to run and use the script (that I always used). The system returns me “Service not found”, I have a supervised installation on debian 11.
Not find any scripts, I tried to create a new simple script using UI but I had the sesult is the same - no script is showing up.
If I go to the /config folder, I can see that scripts.yaml has been created there (and has correct content).
I will appreciate any help *or advice.
Many thanks in advance.
Roberto

Have you cleared your browser cache? And maybe you should update to 2022.10.3.

Thank you so much for the suggestion. Yes I did both. Unfortunately the issue is still present.

Could you please post your configuration.yaml settings?

yes, of course. Give me a minute.
Please consider script worked well till the Update.
Also, I’,m not sure if the update is the real cause or it something else.
Thx

# Loads default set of integrations. Do not remove.
default_config:

# Text to speech
tts:
  - platform: google_translate
    service_name: google_say
    language: "it"

frontend:
  # your configuration.
  themes: !include_dir_merge_named themes

automation: !include_dir_merge_list ui_configuration/automations/
script: !include_dir_merge_list ui_configuration/scripts/
scene: !include_dir_merge_list ui_configuration/scenes/
sensor: !include_dir_merge_list ui_configuration/sensors/
group: !include_dir_merge_list ui_configuration/groups/
climate: !include_dir_merge_list ui_configuration/climates/
switch: !include_dir_merge_list ui_configuration/switch/

homeassistant:
  packages: !include_dir_named ui_configuration/packages/

http:
  use_x_forwarded_for: true
  trusted_proxies:
    - xxx.xxx.xxx.xxx

smartir:

#Account
spotcast:
  sp_dc: !secret scast_sp_dc
  sp_key: !secret scast_sp_key

lovelace:
  mode: yaml
  resources:
    - url: /hacsfiles/button-card/button-card.js
      type: module
    - url: /hacsfiles/card-griddier/layout-card-griddier.js
      type: module
    - url: /hacsfiles/decluttering-card/decluttering-card.js
      type: module
    - url: /hacsfiles/weather-card/weather-card.js
      type: module
    - url: /hacsfiles/stack-in-card/stack-in-card.js
      type: module
    - url: /hacsfiles/numberbox-card/numberbox-card.js
      type: module
    - url: /hacsfiles/scheduler-card/scheduler-card.js
      type: module
    - url: /hacsfiles/lovelace-xiaomi-vacuum-map-card/xiaomi-vacuum-map-card.js
      type: module
    - url: /hacsfiles/shutter-cover-card-mod/shutter-cover-card-mod.js
      type: module
    - url: /hacsfiles/lovelace-state-switch/state-switch.js
      type: module
    - url: /hacsfiles/apexcharts-card/apexcharts-card.js?v=2.0.1
      type: module
    - url: /hacsfiles/todoist-card/todoist-card.js
      type: module
    - url: /hacsfiles/lovelace-mushroom/mushroom.js
      type: module
    - url: /hacsfiles/slider-button-card/slider-button-card.js
      type: module
    - url: /hacsfiles/kiosk-mode/kiosk-mode.js
      type: module
    - url: /hacsfiles/shutter-row/shutter-row.js
      type: module
    - url: /hacsfiles/light-popup-card/light-popup-card.js
      type: module
    - url: /hacsfiles/lovelace-card-mod/card-mod.js
      type: module
    - url: /hacsfiles/mini-media-player/mini-media-player-bundle.js
      type: module
    - url: /hacsfiles/lovelace-auto-entities/auto-entities.js
      type: module

Please post the errors in your logs.

Setting > Registry? Home Assistant Core?
Thx

settings → system → logs. Home assistant.

Thanks.

Please find below the error log.


Full logs
2022-10-11 12:14:26.088 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration scheduler which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-10-11 12:14:26.089 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration reolink_rest which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-10-11 12:14:26.089 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration browser_mod which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-10-11 12:14:26.091 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration smartir which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-10-11 12:14:26.092 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration spotcast which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-10-11 12:14:26.092 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration alarmo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-10-11 12:14:26.092 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_cloud_map_extractor which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-10-11 12:14:26.093 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-10-11 12:14:26.093 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration sonoff which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-10-11 12:14:36.487 ERROR (SyncWorker_8) [custom_components.spotcast.helpers] spotify integration not found
2022-10-11 12:14:39.290 WARNING (MainThread) [homeassistant.config_entries] Config entry 'Soggiorno' for reolink_rest integration not ready yet: Cannot connect to host 192.168.11.146:80 ssl:default [Connect call failed ('192.168.11.146', 80)]; Retrying in background
2022-10-11 12:14:41.894 ERROR (MainThread) [homeassistant.components.notify] Error setting up platform smtp
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/notify/legacy.py", line 92, in async_setup_platform
notify_service = await hass.async_add_executor_job(
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/src/homeassistant/homeassistant/components/smtp/notify.py", line 92, in get_service
if mail_service.connection_is_valid():
File "/usr/src/homeassistant/homeassistant/components/smtp/notify.py", line 154, in connection_is_valid
server = self.connect()
File "/usr/src/homeassistant/homeassistant/components/smtp/notify.py", line 140, in connect
mail = smtplib.SMTP(self._server, self._port, timeout=self._timeout)
File "/usr/local/lib/python3.10/smtplib.py", line 255, in __init__
(code, msg) = self.connect(host, port)
File "/usr/local/lib/python3.10/smtplib.py", line 343, in connect
(code, msg) = self.getreply()
File "/usr/local/lib/python3.10/smtplib.py", line 405, in getreply
raise SMTPServerDisconnected("Connection unexpectedly closed")
smtplib.SMTPServerDisconnected: Connection unexpectedly closed
2022-10-11 12:14:43.948 WARNING (MainThread) [homeassistant.config_entries] Config entry 'shelly_laundry_plug_washingmachine_128' for shelly integration not ready yet: Timeout during device setup; Retrying in background
2022-10-11 12:15:16.218 WARNING (MainThread) [homeassistant.components.mqtt.light.schema_json] Invalid or incomplete color value received for entity light.hue_color_02
2022-10-11 13:56:06.219 WARNING (MainThread) [homeassistant.components.rest.sensor] REST result could not be parsed as JSON

Now post the script that’s failing (or missing)

script

You can’t use the UI with your setup. You have to have it mapped this way.

script: !include scripts.yaml


If you want to use both…

script yaml: !include_dir_merge_list ui_configuration/scripts/
script: !include scripts.yaml

Thanks a lot. In any case. You are right.
The UI script is only a test because I cannot use any of all my scripts I used to use till three days ago.
I’m going to change the configuration file and test again.
Thanks

Have you changed anything in the last 3 days in your script directory or created a new?

Thanks a lot.
I would like to use only mine. :slight_smile:
Could you please check the gif I have attached? At the end of the gif it appears the error I’m receiveg after the update

Yes, I see your gif. It’s not creating your script because you aren’t using that file. The UI edits scripts.yaml regardless if you use it or not.

Thank you so much.
I’m very sorry to bother you again but I’m still getting the issue with my yaml script.
I cannot see them in the UI and they fail when I try to run.
Please see the below image.
Thanks