I also rebuilt a new SD card (for a Pi) to transfer from Wheezy to Jessie 
and used apt-get to install Weewx 3.7.1 (from 3.6.2 if I remember correctly)

I do have dayhumidity.png in the html pages but it is not populated with 
data.

I do have the lines (shown by Tom above) in the skin.conf file for Day, 
Week, Month and Year

Also have the Weekly , Monthly and Yearly png files and these are all 
populated and up to date.

Any ideas appreciated

Paul


On Wednesday, 3 May 2017 09:05:55 UTC+1, Nick Mason wrote:
>
> Tom, 
>
> thank you, those two lines of code were missing from skin.conf and from 
> the backup. 
>
> Just to prove I wasn't going mad I put the original SD card back in the 
> RPi and they are there! 
>
> I also had to add the code to the monthly and yearly sections, modified 
> accordingly. 
>
> How they got removed from the backup I have no idea, it seems too specific 
> for corruption during the backup but stranger things have happened
>
> Regards 
> Nick
>
> On Tuesday, 2 May 2017 22:55:35 UTC+1, Tom Keffer wrote:
>>
>> If other images are being generated, but only the dayhumidity.png image 
>> is missing, the problem must be in the skin.conf file. If you did a Debian 
>> install, it will be located in /etc/weewx/skins/Standard/skin.conf
>>
>> The relevant section should look something like this:
>>
>>
>>         ...
>>         [[[daytempchill]]]
>>             [[[[windchill]]]]
>>             [[[[heatindex]]]]
>>
>>         [[[dayhumidity]]]
>>             [[[[outHumidity]]]]
>>
>>         [[[dayrain]]]
>>             # Make sure the y-axis increment is at least 0.02 for the 
>> rain plot
>>             yscale = None, None, 0.02
>>             plot_type = bar
>>             [[[[rain]]]]
>>                 aggregate_type = sum
>>                 aggregate_interval = 3600
>>                 label = Rain (hourly total)
>>         ...        
>>
>>
>>
>> On Tue, May 2, 2017 at 9:57 AM, Nick Mason <[email protected]> wrote:
>>
>>> I've had a small but nagging problem for a while with my Raspberry Pi 
>>> that runs weewx. When I try to upgrade rasbian I get an error message.
>>>
>>> I'm not sure if I get a partial upgrade or no upgrade following a;
>>>
>>> sudo apt-get update
>>> sudo apt-get upgrade
>>>
>>> I finally got around to sorting it out by by creating a new MicroSD card 
>>> with the latest rasbian image. I then decide that along with the latest OS 
>>> that I'd do a fresh install of weewx as well and this time rather than do a 
>>> manual download and install using setup.py I would install weewx via 
>>> apt-get install weewx.
>>>
>>> All went well, it's a lot easier than the manual method and it worked as 
>>> advertised. I then replaced the new database with the one from my backup 
>>> and weewx dutifully brought it up to date. However, I noticed that the 
>>> graphs on the web page were staggered and out of alignment and that this 
>>> was because one of the graphs, Outside Humidity, is missing. All that shows 
>>> is a small box with 'outside humidity' in it.
>>>
>>> I've had a look through the code and what should be displayed is the 
>>> dayhumidity.png image. This image isn't being generated and does not appear 
>>> in /var/www/html/weewx
>>>
>>> I've compared the new weewx.conf and skin.conf files with the backups I 
>>> have from the older version and they look the same.
>>>
>>> Can someone point me at where the report is generated and the image file 
>>> produced please so I can have a look at what's going on.
>>>
>>> Thanks
>>> Nick
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "weewx-user" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to [email protected].
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to