Page 5 of 6
Re: Meteotemplate - process of updating
Posted: Sat Sep 09, 2023 7:39 am
by Juan Maria Vilaró
After requesting the token from Mr. Jachym, I have proceeded to update the template from V.18 to V.19 and it has been updated without any problem and the first time, all the blocks and plugins working.
Thanks Jachym
Re: Meteotemplate - process of updating
Posted: Tue Sep 12, 2023 8:54 am
by Oli
Strange: After 1.5 month my site was running without any problems under php 8.2, since this morning it didn't work anymore: I couldn't call the desktop layout at all and the mobile layout didn't show the Steel-Series instruments.
I switched to php 7.4 as a test, everything works there. I have changed NOTHING.
I'll have to look into that when I have time.
Edit: Seems to work with the api.php joachym mentioned
here.
Edit 2: Short pleasure, after half an hour I had to go back to php 7.4 after all.
Re: Meteotemplate - process of updating
Posted: Tue Sep 12, 2023 3:54 pm
by milesb
Oli wrote: ↑Tue Sep 12, 2023 8:54 am
Strange: After 1.5 month my site was running without any problems under php 8.2, since this morning it didn't work anymore: I couldn't call the desktop layout at all and the mobile layout didn't show the Steel-Series instruments.
I switched to php 7.4 as a test, everything works there. I have changed NOTHING.
I'll have to look into that when I have time.
Edit: Seems to work with the api.php joachym mentioned
here.
Edit 2: Short pleasure, after half an hour I had to go back to php 7.4 after all.
******************************
UPDATE 9/17/23
After trying another api.php from Jachym, without success, he simply had me delete cache/apiCache.txt.
Problem solved
******************************
I am having a similar experience.
After the initial upgrade, I discovered that the database was not updating. Jachym corrected that with the api.php he posted in this thread. Things were working fine for about a week or so... until the database stopped updating again. The update stopped at 3 AM my time, plus I had changed nothing either on my site or locally. I have tried it under PHP versions, 8.0, 8.1, and 8.2. I cannot test under 7.x, as my hosting company has eliminated that option, without purchasing a support package.
It is receiving data from my weather station, (via Weather Display), as the Current Block is updating in real time. But many blocks are non-functional, as many rely on the database data.
Jachym has asked for additional details, so I'm assuming he is trying to sort things out.
I have resorted to manually updating the database via data import every few days.
Re: Meteotemplate - process of updating
Posted: Sun Sep 17, 2023 4:56 pm
by lemimi
Hello,
My Meteotemplate is currently running on PHP 8.2.8, and my SSgauges block is displaying without errors.
You can see it here:
https://www.lemimi.fr/template/indexDesktop.php
The zipped file to download is here:
https://www.lemimi.fr/chargements/divers/ssGauges.zip
And the SteelSeries plugin:
https://www.lemimi.fr/chargements/diver ... Series.zip
If that can be of assistance... Michel
Re: Meteotemplate - process of updating
Posted: Sun Sep 24, 2023 2:34 pm
by PCW
Updating to 19 flawless using php 7.2! Since all is working normally, I'm not going to upgrade to php 8 or higher.
Re: Meteotemplate - process of updating
Posted: Sun Sep 24, 2023 4:48 pm
by livefeed
I am on php 8.2 and now noticing my data is not updating, @Jachym only way I can find to get it working again is to delate the apiCache.txt as mentioned in a post above. I am using the update api, any ideas?
Re: Meteotemplate - process of updating
Posted: Sun Sep 24, 2023 5:15 pm
by justinhow
Exactly what I found. API updates were not reliable. I went back to PHP 7.x to get it working again.
Shame Jachym has been so silent on this thread over last couple of weeks.
Re: Meteotemplate - process of updating
Posted: Sun Sep 24, 2023 5:40 pm
by FSC830
justinhow wrote: ↑Sun Sep 24, 2023 5:15 pm
Exactly what I found. API updates were not reliable. I went back to PHP 7.x to get it working again.
Shame Jachym has been so silent on this thread over last couple of weeks.
Its a shame, that people claim for an instant fix when using a freeware. Jachym did clearly say, that he is currently short of time.
What happens, if you run the api.php manually, any error message?
To run manually, type "http(s)://yourdomain/api.php?PASSWORD=update" where "yourdomain" is the path to your template and "update" the update password you entered in main setup.
Regards
Re: Meteotemplate - process of updating
Posted: Sun Sep 24, 2023 6:00 pm
by livefeed
@FSC830 thanks for the replay, for me running that line I get 'Success'
Re: Meteotemplate - process of updating
Posted: Sun Sep 24, 2023 6:05 pm
by justinhow
I have back revved PHP to 7 and I have no plans to go back to 8.x until Jachym has a little more time to look at issues.
I realise Jachym is very busy and does all this work in his spare time, but I would just suggest it is unwise to do a major code release when you know you have little time to deal with the inevitable problems that will arise because of it.
I am not attacking Jachym - I think he has done a terrific job with meteotemplate. However if I had known his time was so short after the release of 19.0 I probably would have hung back for a few months.
Meteotemplate is free so I realise Jachym can do as little or as much as he wants.
PS I will not comment further on this as I don't want to get into a argument over it.
Re: Meteotemplate - process of updating
Posted: Sun Sep 24, 2023 8:03 pm
by FSC830
Strange, if the manual command returns "success", the automatic update should work too.
Did you check in database the manual updates are reflected too?
The weird thing is, that a couple of installations are running without issues, whereas others show different issues, there is no common root cause to identify, that makes troubleshooting very difficult.
I know that Jachym is investigating and in all of my installations (real and VMs) the code is running with all blocks I am using at my MT site.

As said, very weird

.
The main trigger for releasing the code was that a lot of users (me too) are facing the issue that their providers disabled PHP v7.x or at least raise a support fee if not updating to PHP 8.x, so may be not all blocks/plugins/pages have been tested long enough. For my site I learned that after running for some days the site was not reachable from time to time. It took me nearly 2 days until I found the reason: the changed weather conditions in interactive banner called a function, which was not modified for PHP 8. I found this by running the same code in a VM with PHP 7 which works well all the time (the code is downwards compatible).
Which version of DB are you running? My is a mysql DB, still a version 5. Planning to migrate to v8 in the next time. But I am currently short of time too and have to postpone some tasks.
Regards
Re: Meteotemplate - process of updating
Posted: Fri Sep 29, 2023 5:16 pm
by Jachym
Hi,
if you have an urgent issue please email me. I do reply to emails within 24-48 hours usually. I get dozens of emails daily. This PHP8 upgrade really is a nightmare because I see new and new issues every day. It is not something I was used to - usually if there is an issue it manifests to all and you fix it and it works. Now I have seen at least 25 different issues for users on PHP8.2, while for others it works perfectly fine (do not ask me why, I don´t know

).
It takes about 45-60 minutes daily to deal with the emails so I do admit I have little time to watch the forum now.
I do plan on releasing a bug fix package v19.1, but not until the emails sort of stop - until I will be getting reports of issues I want to fix them all (except blocks and plugins, those need to be dealt with separately).
Re: Meteotemplate - process of updating
Posted: Fri Sep 29, 2023 5:48 pm
by justinhow
Thanks for the status update Jachym.
Re: Meteotemplate - process of updating
Posted: Fri Sep 29, 2023 5:57 pm
by livefeed
Yes thank you @Jachym, I think I am going to slip back to 8.1 php and see if that helps.
Re: Meteotemplate - process of updating
Posted: Fri Sep 29, 2023 8:29 pm
by steph
Thanks Jachym,
I'm still in 7.4 and no problem yet.
I'm still going to wait before upgrading to 8.2.
Hi
Re: Meteotemplate - process of updating
Posted: Thu Oct 05, 2023 6:58 pm
by kd7eir
I just downloaded the update from the main site, and there is no updateTemplate.php in the folder.
Any suggestions?
Re: Meteotemplate - process of updating
Posted: Wed Dec 20, 2023 5:06 am
by javigar66
Hello.
After updating Meteotemplate to version 19.0 and moving my hosting to php 8.2, the steelSeries clocks stopped working, especially between 0:00 and 12:00 pm.
I have installed your plugin 4.1 and the ssGauges 3.2 block and the problem is solved.
Just a small observation, when changing days, an error appears in the plugin for a few seconds.
Thank you very much for your help lemimi.
Re: Meteotemplate - process of updating
Posted: Mon Jan 22, 2024 2:01 pm
by Gerrit
Good day
I requested a token for version 19 I received it, downloaded version 19 and opened it, however I can't find the folder update_19.0 anywhere.
Gerrit
Re: Meteotemplate - process of updating
Posted: Mon Jan 22, 2024 2:48 pm
by lemimi
Hello,
Maybe develop and try in template/update/update.php
Good luck... Michel
Re: Meteotemplate - process of updating
Posted: Mon Jan 22, 2024 5:02 pm
by Gerrit
Unfortunately, no result, get this message, No password provided,
https://waskolkweer.nl/meteotemplate/update/update.php
Re: Meteotemplate - process of updating
Posted: Sat Jan 27, 2024 8:13 pm
by milesb
Help!
This one has me stumped. I am running Meteotemplate 19, PHP version 8.2.14, I have updated both ssGauges block to 3.2, and steelGauges plugin to 4.1
In either case, both display gauges, but do not populate them with current data. The plugin displays "error: Internal Server Error"
What am I missing.
Re: Meteotemplate - process of updating
Posted: Sat Jan 27, 2024 8:58 pm
by tobydude
Your page looks strange. Must be a browser issue.
I dont know , but I would have played with the setup in the "Meteotemplate Settings".

Re: Meteotemplate - process of updating
Posted: Sun Jan 28, 2024 1:15 am
by milesb
Victim of failing to notice a problem, but it's still not working. Just a more detailed error message.
What tripped me up is that every now and then the "apiCache.txt" file becomes corrupt on the server, which prevents any further updates to the database. Always happens at 03:05:00 time stamp, and maybe once a month or less. Happened again, and tripped me up. Jachym is aware, and others have experienced this, but no resolution. If I delete the apiCache.txt file, it starts updating the database again. I use WeatherDisplay to upload the data to the server, then import it using the data import function.
Still, the gauges are not being populated with data, but the error message is different. The steelGauges plugin now displays the error "parsererror: Syntaxerror: JSON.parse: undetermied string literal at line 58 column 7 of the JSON data"
So again... any help appreciated.
Re: Meteotemplate - process of updating
Posted: Tue Nov 05, 2024 9:13 am
by oncletom17
I'd like to share my experience here.
I updated from version 18 to 19 on 28.07.2024. Absolutely no problem for 3 months.
But yesterday I noticed that my database did no update anymore.
After consulting this topic, I tried to delete the file apicache.txt.
And now everything works perfectly (I will see if the problem appears again).
Re: Meteotemplate - process of updating
Posted: Sun Dec 15, 2024 8:06 pm
by jps
milesb wrote: ↑Sun Jan 28, 2024 1:15 am
Victim of failing to notice a problem, but it's still not working. Just a more detailed error message.
What tripped me up is that every now and then the "
apiCache.txt" file becomes corrupt on the server, which prevents any further updates to the database. Always happens at 03:05:00 time stamp, and maybe once a month or less. Happened again, and tripped me up. Jachym is aware, and others have experienced this, but no resolution. If I delete the apiCache.txt file, it starts updating the database again. I use WeatherDisplay to upload the data to the server, then import it using the data import function.
Still, the gauges are not being populated with data, but the error message is different. The steelGauges plugin now displays the error "
parsererror: Syntaxerror: JSON.parse: undetermied string literal at line 58 column 7 of the JSON data"
So again... any help appreciated.
Hi
I'm experiencing the same random issue
would be good to know how to fix that...
thanks