K5IJD
August 11, 2026, 3:34pm
1
saytime.pl file list.docx (6.7 KB)
ASL3 Node 640160 working normally except ...
This node is on Trixie and all updates up to date.
I installed KD5FMU's SAYTIME 2026.
Now, saytime.pl announces the correct time but then weather that is 3 weeks old.
I have researched and researched and I cannot find the source of the old weather report.
This is surely an ID10T error but I cant find it!
Attached is a word document with all the information that I could think of that might help a knowledgeable person help dig out the error.
If you need more info, let me know.
I am truly out of my depth on this and would really appreciate any help!
Thanks in advance.
K5IJDCHUCK
G5TOM
August 11, 2026, 5:47pm
2
Chuck,
What happens when you run show_weatherapi.sh. Is that report also out of date?
Likewise, when you go to Free Weather API - WeatherAPI.com and use the 'API Explorer' menu item with your key/zipcode. Is that report out of date?
Tom
K5IJD
August 12, 2026, 1:50am
3
Hi! Tom.
Thanks for the reply.
In both cases the weather is the current weather.
Thanks,
K5IJDCHUCK
Someone replied to your post.
| G0JSV August 11 |
Chuck,
What happens when you run show_weatherapi.sh. Is that report also out of date?
Likewise, when you go to Free Weather API - WeatherAPI.com and use the 'API Explorer' menu item with your key/zipcode. Is that report out of date?
Tom
···
On Tuesday, August 11, 2026 at 01:47:21 PM CDT, Tom [email protected] wrote:
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here .
G5TOM
August 12, 2026, 11:47am
4
OK, next I would check the current.env file in /var/cache/asl3-saytime-weather. How does that look?
The saytime.pl file creates a temporary concatenated sound file (.gsm, .ulaw, *.ul) called current-time in the /tmp directory.. You will need to be quick because the file is deleted once read into memory and the contents announced. What is the timestamp of that file?
Tom.
K5IJD
August 12, 2026, 3:30pm
5
Tom:
So, it looks like the cached .env is not getting updated.
k5ijd@NODE640160:/var/cache $ ls -l
total 52
drwxr-xr-x 2 root root 4096 May 6 2025 adduser
drwxr-xr-x 3 root root 4096 Jul 19 12:05 apache2
drwxr-xr-x 2 root root 4096 Apr 10 2025 apparmor
drwxr-xr-x 3 root root 4096 Aug 11 09:52 apt
drwxr-xr-x 2 asterisk asterisk 4096 Aug 1 15:01 asl3-saytime-weather
drwxr-xr-x 2 root root 4096 Jul 19 12:06 cracklib
drwxr-xr-x 3 root root 4096 Aug 8 10:11 debconf
drwxr-xr-x 2 root root 4096 Jul 24 11:08 fontconfig
drwx------ 2 root root 4096 Aug 11 09:52 ldconfig
drwxr-xr-x 33 man man 4096 Aug 12 04:34 man
drwxr-xr-x 3 root root 4096 Jul 19 12:05 PackageKit
drwx------ 2 root root 4096 Jun 17 19:19 private
drwxr-xr-x 3 root root 4096 Jul 19 12:06 swcatalog
k5ijd@NODE640160:/var/cache/asl3-saytime-weather $ ls -l
total 8
-rw-r--r-- 1 asterisk asterisk 155 Aug 1 15:01 current.env
-rw-r--r-- 1 root root 907 Aug 1 15:01 weather.json
Could not find the file current-time in the /tmp directory
K5IJDCHUCK
Someone replied to your post.
| G0JSV August 12 |
OK, next I would check the current.env file in /var/cache/asl3-saytime-weather. How does that look?
The saytime.pl file creates a temporary concatenated sound file (.gsm, .ulaw, *.ul) called current-time in the /tmp directory.. You will need to be quick because the file is deleted once read into memory and the contents announced. What is the timestamp of that file?
Tom.
···
On Wednesday, August 12, 2026 at 07:48:01 AM CDT, Tom [email protected] wrote:
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here .
G5TOM
August 12, 2026, 7:13pm
6
Try running /usr/local/sbin/asl-weatherapi-update.sh manually. I sometimes times find 2 putty instances useful here. One to run the command and the second running the asterisk cli to catch any error messages. Then chech the cache file again.
Tom
K5IJD
August 13, 2026, 12:30pm
7
Tried to run it from the terminal but no such file...
k5ijd@NODE640160:~ $ ./usr/local/sbin/asl3-weatherapi-update.sh
bash: ./usr/local/sbin/asl3-weatherapi-update.sh: No such file or directory
k5ijd@NODE640160:~ $ sudo ./usr/local/sbin/asl3-weatherapi-update.sh
sudo: ./usr/local/sbin/asl3-weatherapi-update.sh: command not found
bash: ./usr/local/sbin/asl3-weatherapi-update.sh: No such file or directory
k5ijd@NODE640160:~ $ cd /usr/local/sbin/k5ijd@NODE640160:/usr/local/sbin $ ls
AMBEtest4_p3.py astdb.sh DVSwitch-startup logip platformDetect.sh saytime.pl show_weatherapi.sh supermonASL_latest_update
asl3-firstboot cpu-temp find-removable minimize-kernels random_wx_start.sh saytime.pl.bak.20260725-121613 smbackup update-config.sh asl3-firstboot-complete dns-query fixperms netcheck rpi-clone saytime.pl.bak.20260725-121753 supermon weather.sh asl3-firstboot-pkg-updates DVSM_Update.sh gpio-reset orgrec rpi-clone-setup saytime.pl.bak.20260725-142605 supermonASL3_latest_update wiip asl3-weatherapi-update.sh dvswitch-log-cleanup host-info passwd-reset saytime_global.pl saytime.pl.bak.20260727-120315 supermonASL_fresh_install
Not really sure what this is telling me. The file seems to be there but maybe not executable???
k5ijd@NODE640160:/usr/local/sbin $ ls -l
total 256
-rwxr-xr-x 1 root root 9616 Jul 21 2024 AMBEtest4_p3.py
-rwxr-xr-x 1 root root 994 Jul 19 12:03 asl3-firstboot
-rwxr-xr-x 1 root root 232 Jul 19 12:03 asl3-firstboot-complete
-rwxr-xr-x 1 root root 200 Jul 19 12:03 asl3-firstboot-pkg-updates
-rwxr-xr-x 1 root root 1705 Aug 10 14:33 asl3-weatherapi-update.sh
-rwxr-xr-x 1 root root 274 Nov 13 2022 astdb.sh
-rwxr-xr-x 1 root root 435 Jul 1 2024 cpu-temp
-rwxr-xr-x 1 root root 1616 Dec 14 2025 dns-query
-rwxr-xr-x 1 root root 1167 Jan 22 2025 DVSM_Update.sh
-rwxr-xr-x 1 root root 226 May 6 2025 dvswitch-log-cleanup
-rwxr-xr-x 1 root root 2078 May 6 2025 DVSwitch-startup
-rwxr-xr-x 1 root root 1358 Jul 1 2024 find-removable
-rwxr-xr-x 1 root root 2798 Jan 8 2023 fixperms
-rwxr-xr-x 1 root root 912 Jul 1 2024 gpio-reset
-rwxr-xr-x 1 root root 9100 May 6 2025 host-info
-rwxr-xr-x 1 root root 1424 Jun 3 2021 logip
-rwxr-xr-x 1 root root 831 Jul 19 12:03 minimize-kernels
-rwxr-xr-x 1 root root 3296 May 6 2025 netcheck
-rwxr-xr-x 1 root root 934 May 11 13:58 orgrec
-rwxr-xr-x 1 root root 1029 Jul 1 2024 passwd-reset
-rwxr-xr-x 1 root root 3588 May 6 2025 platformDetect.sh
-rwxr-xr-x 1 root root 189 Aug 10 14:33 random_wx_start.sh
-rwxr-xr-x 1 root root 42807 Jul 1 2024 rpi-clone
-rwxr-xr-x 1 root root 2971 Jul 1 2024 rpi-clone-setup
-rwxr-xr-x 1 root root 7603 Nov 4 2022 saytime_global.pl
-rwxr-xr-x 1 root root 8349 Jul 27 12:03 saytime.pl
-rwxr-xr-x 1 root root 8349 Jul 24 13:53 saytime.pl.bak.20260725-121613
-rwxr-xr-x 1 root root 8349 Jul 25 12:16 saytime.pl.bak.20260725-121753
-rwxr-xr-x 1 root root 8349 Jul 25 12:17 saytime.pl.bak.20260725-142605
-rwxr-xr-x 1 root root 8349 Jul 25 14:26 saytime.pl.bak.20260727-120315
-rwxr-xr-x 1 root root 530 Aug 10 14:33 show_weatherapi.sh
-rwxr-xr-x 1 root root 2760 Jul 6 19:26 smbackup
drwxr-xr-x 2 root root 4096 Jul 23 09:19 supermon
-rwxr-xr-x 1 root root 1377 May 17 09:55 supermonASL3_latest_update
-rwxr-xr-x 1 root root 1662 Dec 26 2023 supermonASL_fresh_install
-rwxr-xr-x 1 root root 1312 Dec 26 2023 supermonASL_latest_update
-rwxr-xr-x 1 root root 1064 May 6 2025 update-config.sh
-rwxr-xr-x 1 root root 2022 Aug 10 14:33 weather.sh
-rwxr-xr-x 1 root root 839 Jan 9 2023 wiip
Again, thanks for all your help.
K5IJDCHUCK
Someone replied to your post.
| G0JSV August 12 |
Try running /usr/local/sbin/asl-weatherapi-update.sh manually. I sometimes times find 2 putty instances useful here. One to run the command and the second running the asterisk cli to catch any error messages. Then chech the cache file again.
Tom
···
On Wednesday, August 12, 2026 at 03:14:04 PM CDT, Tom [email protected] wrote:
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here .
G5TOM
August 13, 2026, 6:57pm
8
Trying running sudo asl-menu. From the menu select option 2, 'Enter a bash shell as root'. Then change the current/working directory to /usr/local/sbin. Now while in this direcory try running the script again. First try asl-weatherapi-update.sh if that fails try ./asl-weatherapi-update.sh. According to the screenshot above, the file is present and has the executable flag set so it should run.
K5IJD
August 14, 2026, 12:47pm
9
Here are the results...
Note that there is an asl3-weatherapi.update but not a asl-weatherapi-update.
If I run the same commands using asl3-weatherapi-update, I get an open blank nano screen that says at the bottom "File /etc/asterisk/local/weatherapi.ini# is being edited by root (with nano 8.4, PID 2032); open anyway?"
No matter if you choose Y or N the screen wont close with Control C and just hangs there.
root@NODE640160:/usr/local/sbin# ./asl-weatherapi-update.sh
bash: ./asl-weatherapi-update.sh: No such file or directory
root@NODE640160:/usr/local/sbin# asl-weatherapi-update.sh
bash: asl-weatherapi-update.sh: command not found
root@NODE640160:/usr/local/sbin# ls -l
total 256
-rwxr-xr-x 1 root root 9616 Jul 21 2024 AMBEtest4_p3.py
-rwxr-xr-x 1 root root 994 Jul 19 12:03 asl3-firstboot
-rwxr-xr-x 1 root root 232 Jul 19 12:03 asl3-firstboot-complete
-rwxr-xr-x 1 root root 200 Jul 19 12:03 asl3-firstboot-pkg-updates
-rwxr-xr-x 1 root root 1705 Aug 10 14:33 asl3-weatherapi-update.sh
-rwxr-xr-x 1 root root 274 Nov 13 2022 astdb.sh
-rwxr-xr-x 1 root root 435 Jul 1 2024 cpu-temp
-rwxr-xr-x 1 root root 1616 Dec 14 2025 dns-query
-rwxr-xr-x 1 root root 1167 Jan 22 2025 DVSM_Update.sh
-rwxr-xr-x 1 root root 226 May 6 2025 dvswitch-log-cleanup
-rwxr-xr-x 1 root root 2078 May 6 2025 DVSwitch-startup
-rwxr-xr-x 1 root root 1358 Jul 1 2024 find-removable
-rwxr-xr-x 1 root root 2798 Jan 8 2023 fixperms
-rwxr-xr-x 1 root root 912 Jul 1 2024 gpio-reset
-rwxr-xr-x 1 root root 9100 May 6 2025 host-info
-rwxr-xr-x 1 root root 1424 Jun 3 2021 logip
-rwxr-xr-x 1 root root 831 Jul 19 12:03 minimize-kernels
-rwxr-xr-x 1 root root 3296 May 6 2025 netcheck
-rwxr-xr-x 1 root root 934 May 11 13:58 orgrec
-rwxr-xr-x 1 root root 1029 Jul 1 2024 passwd-reset
-rwxr-xr-x 1 root root 3588 May 6 2025 platformDetect.sh
-rwxr-xr-x 1 root root 189 Aug 10 14:33 random_wx_start.sh
-rwxr-xr-x 1 root root 42807 Jul 1 2024 rpi-clone
-rwxr-xr-x 1 root root 2971 Jul 1 2024 rpi-clone-setup
-rwxr-xr-x 1 root root 7603 Nov 4 2022 saytime_global.pl
-rwxr-xr-x 1 root root 8349 Jul 27 12:03 saytime.pl
-rwxr-xr-x 1 root root 8349 Jul 24 13:53 saytime.pl.bak.20260725-121613
-rwxr-xr-x 1 root root 8349 Jul 25 12:16 saytime.pl.bak.20260725-121753
-rwxr-xr-x 1 root root 8349 Jul 25 12:17 saytime.pl.bak.20260725-142605
-rwxr-xr-x 1 root root 8349 Jul 25 14:26 saytime.pl.bak.20260727-120315
-rwxr-xr-x 1 root root 530 Aug 10 14:33 show_weatherapi.sh
-rwxr-xr-x 1 root root 2760 Jul 6 19:26 smbackup
drwxr-xr-x 2 root root 4096 Jul 23 09:19 supermon
-rwxr-xr-x 1 root root 1377 May 17 09:55 supermonASL3_latest_update
-rwxr-xr-x 1 root root 1662 Dec 26 2023 supermonASL_fresh_install
-rwxr-xr-x 1 root root 1312 Dec 26 2023 supermonASL_latest_update
-rwxr-xr-x 1 root root 1064 May 6 2025 update-config.sh
-rwxr-xr-x 1 root root 2022 Aug 10 14:33 weather.sh
-rwxr-xr-x 1 root root 839 Jan 9 2023 wiip
Someone replied to your post.
| G0JSV August 13 |
Trying running sudo asl-menu. From the menu select option 2, 'Enter a bash shell as root'. Then change the current/working directory to /usr/local/sbin. Now while in this direcory try running the script again. First try asl-weatherapi-update.sh if that fails try ./asl-weatherapi-update.sh. According to the screenshot above, the file is present and has the executable flag set so it should run.
···
On Thursday, August 13, 2026 at 02:57:16 PM CDT, Tom [email protected] wrote:
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here .
G5TOM
August 14, 2026, 3:04pm
10
Reboot to see if this clears the lock on the weatherspi.ini file.
sudo reboot now
K5IJD
August 14, 2026, 4:59pm
11
After "sudo reboot now" the lock on weatherapi.ini did not clear.
Someone replied to your post.
| G0JSV August 14 |
Reboot to see if this clears the lock on the weatherspi.ini file.
sudo reboot now
···
On Friday, August 14, 2026 at 11:04:19 AM CDT, Tom [email protected] wrote:
Visit Topic or reply to this email to respond.
To unsubscribe from these emails, click here .