Thanks, Vince,

Yes, not sure how I got to where i did. I have already used weectl, but 
I'll give it one more go - if that doesn't work, I'll likely reinstall the 
whole thing, I'm guessing that's:

Reinstall WeeWX
Reinstall the driver
Overwrite weewx.sdb?

I'll let you know if the reinstall works.
On Saturday, January 31, 2026 at 6:57:54 PM UTC Vince Skahan wrote:

> I can't even guess what you did or how you got to wherever you are now on 
> the system.
>
> If you use 'weectl extension' to uninstall then reinstall the skin, it 
> will do the right thing after weewx is restarted when the reports run.
>
> If you fiddle with things manually and don't use weectl, your mileage 
> might vary.
>
> On Saturday, January 31, 2026 at 9:44:38 AM UTC-8 O S wrote:
>
>> Yes, apt was the way I installed.
>>
>> I ran that command, restarted, but still no images for sunrise / sunset.
>>
>> Thank you.
>> Nick
>> On Saturday, January 31, 2026 at 5:28:44 PM UTC Vince Skahan wrote:
>>
>>> apt is the tool used to install debian packages, dpkg is the other older 
>>> tool. Sorry I use the two terms sometimes.
>>>
>>> Yes try running that command.
>>>
>>>
>>> On Saturday, January 31, 2026 at 9:25:00 AM UTC-8 O S wrote:
>>>
>>>> Hello Vince,
>>>>
>>>> Thank you and id gives me:
>>>>
>>>> uid=1000(nick) gid=1000(nick) 
>>>> groups=1000(nick),4(adm),20(dialout),24(cdrom),27(sudo),29(audio),44(video),46(plugdev),60(games),100(users),102(input),105(render),110(netdev),111(weewx),993(gpio),994(i2c),995(spi)
>>>>
>>>> I'm not sure what a dpkg installation is, I used the sudo apt install 
>>>> weewx 
>>>> method to install.
>>>>
>>>> So, can I run the sudo usermod -aG weewx nick command?
>>>>
>>>> Thanks,
>>>> Nick
>>>>
>>>> On Saturday, January 31, 2026 at 4:53:47 PM UTC Vince Skahan wrote:
>>>>
>>>>> 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/7405ca7d-fe85-4960-a7b9-8be92d811001n%40googlegroups.com.

Reply via email to