Hi,
Over the last few days I have migrated all my data and the PWS dashboard from an old Synology DS212+ to a new DS723+.
The web dashboard loads ok but there is no ‘history’.
For example the wind data. It always shows the Max Gust as the last reading. When the dashboard updates the gust can be lower and the Max Gust lowers too.
This is just an example, I’m sure there are other issues with ‘history’ but hopefully that will be enough to diagnose the issue.
Thanks in advance for help.
Laurie.
What’s the URL of your web page?
Are you running the cron job?
Did you run easyweather setup after switching to the the server?
→ the new website-folder structure needs to be saved in the settings
As soon as you post the URL to your website one can check more detailed information.
I found the URL in the topic the previous time we asked for it
→ Rain history not updating - #3 by dehatter
URL:
South Somerset, UK Home Weather Station (ecoLcl version)
Problem: No CURL support in your PHP setup, so external files can not be loaded
→ Fatal error: Uncaught Error: Call to undefined function curl_init() in /volume1/web/pwsWD/PWS_load_files.php on line 367
Also when I try to access your website I get
→ http://redlands.hopto.org:5000/
Questions:
Did you update the scripts to the letst versions?
What version of PHP are you using?
Succes,
Wim
I’ve obviously made some fundamental mistakes.
I think i’ve got all the right ports open on the router, assuming that there’s nothing special for this traffic.
When you ask if I updated the scripts is that the pwsWD stuff? if so, no. I haven’t changed anything, just move the whole lot via Hyper Backup.
I’ve obviously not set up the web service correctly on the NAS. I can’t see any obvious errors though.
Laurie
Also PHP.
The old NAS was on 7.3 so I assume I should do the same?
The PHP settings are just a part of a webserver.
They need to allow CURL support as all external files are downloaded using CURL.
Without CURL the cron-job and the lowd-files scripts run into a fatal PHP-500 error
I attach two small scripts.
startHere.php.zip (3.4 KB)
startHere.php checks the basic web-server settings
That script is included in the standard PwsDashboard downloads and is the first script which runs after install.
info.php.zip (501 Bytes)
info.php shows the PHP parts installed.
If you still have access to your old NAS you should run it on the old NAS and compare it with the settings of the new server.
I checked and you are using PHP 7.3.x which is relative old.
First remove all problems from this version of your website.
If all is OK run PWS_Updates to download all changed scripts.
Then you can upgrade to PHP 8.
Succes,
Wim
Turns out I’ve done something really stupid in deleting the http user.
So I’ve had to reset the who NAS.
Then I’ll have to rerun Hyperbackup, which took ages.
Hopefully I’ll be back on this by early next week.
And i assume it might be easier to start from scratch with the dashboard.
Wim,
I’ve rebuilt the pws dashboard from scratch.
I can get through to the site now.
redlands.hopto.org:8899/pwsWD
Now I have a problem getting the data setup right.
I can’t seem to get any of my data to show, which I assume means there’s none in the pwsWD folder.
I’ve set it up to get data from ecowitt and followed the steps on the WS view app so I don’t know what’s wrong.
The cron job is set up to run every 5 mins so that ought to be ok.
Where should I look next?
TIA,
Laurie.
I’ve sorted it.
The Ecowitt settings on WS View needed changing even though the NAS set up was identical to the old one.
Put in the web address as opposed to internal and hey presto.