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/6c98463b-76fd-4ecf-ab1c-6782afa3d3b6n%40googlegroups.com.

Reply via email to