ssh into the weewx pi and run 'id' and you will likely see that your 
account 'nick' is not in a unix group that has permissions to read 
/var/www/html/weewx/belchertown

Assuming it is group 'weewx', you would need to run "sudo usermod -aG weewx 
nick" and log out/in again.   For a dpkg installation you'd want to add 
yourself to group 'weewx' anyway so you can edit things in /etc/weewx 
without needing to use sudo.

On Saturday, January 31, 2026 at 8:12:19 AM UTC-8 O S wrote:

> Hello Patrick,
>
> Yes, if I ssh in to the server, I can see the images at the following 
> paths:
>
> etc/weewx/skins/Belchertown/images/sunrise.png
> etc/weewx/skins/Belchertown/images/sunset.png
>
> But the web browser appears to be looking here:
>
> http://192.168.1.49/weewx/belchertown/images/sunrise.png
>
> I also found this, which doesn't seem right:
>
> nick@weewx-pi:/var/www/html $ cd weewx/
> nick@weewx-pi:/var/www/html/weewx $ ls -l
> ls: cannot open directory '.': Permission denied
>
> Not sure if that is related but could there also be permission issues?
>
> Thanks,
> Nick.
>
> On Saturday, January 31, 2026 at 4:03:25 PM UTC salinois wrote:
>
>> hello,
>>
>> that, it is the conf inside the skin : weewx/skins/Belchertown/images/
>>
>> but on the web site , it is public_html/belchertown/images/
>>
>> Patrick
>> Le 31/01/2026 à 16:46, O S a écrit :
>>
>> Hello all,
>>
>> I got in a mess with the Belchertown skin settings so have completely 
>> removed it and reinstalled (a couple of times now)
>>
>> Each time I reinstall, the images are missing form "Sun & Moon", as per 
>> below:
>>
>> [image: Screenshot from 2026-01-31 15-39-08.png]
>> If I right click on one of the placeholders for the image and select 
>> "open image in new tab"
>>
>> I get this in the address bar:
>> http://192.168.1.49/weewx/belchertown/images/sunrise.png
>>
>> ... and a 404 not found message.
>>
>> I have: HTML_ROOT = /var/www/html/weewx/belchertown set in weewx.conf
>>
>> I can find the images in: etc/weewx/skins/Belchertown/images, like:
>>
>> etc/weewx/skins/Belchertown/images/sunrise.png
>> etc/weewx/skins/Belchertown/images/sunset.png
>>
>> Does the uppercase "B" have something to do with this? All other page 
>> elements look okay.
>>
>> Like I say, I have uninstalled/reinstalled the skin several times with no 
>> change.
>>
>> 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].
>> To view this discussion visit 
>> https://groups.google.com/d/msgid/weewx-user/a03549d6-67ce-4299-b2f7-5bc068b0a484n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/a03549d6-67ce-4299-b2f7-5bc068b0a484n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>>

-- 
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].
To view this discussion visit 
https://groups.google.com/d/msgid/weewx-user/42f4f6f3-4bee-4532-9f38-24332261bd55n%40googlegroups.com.

Reply via email to