I looked in skin.conf for the copy once line. https://weewx.com/docs/5.2/reference/skin-options/copygenerator/
On Saturday, January 31, 2026 at 3:38:55 PM UTC-8 O S wrote: > Vince, Wow that is seriously impressive! How on earth did you find that?? > > [image: Screenshot from 2026-01-31 23-37-40.png] > Thank you very much indeed :) > Nick. > > On Saturday, January 31, 2026 at 10:19:44 PM UTC Vince Skahan wrote: > >> The problem is a bug in the hacked non-Belchertown Belchertown you are >> using. >> >> If you look at skin.conf you'll see: >> copy_once = favicon.ico, *images /**, json/index.html, >> js/index.html, js/responsive-menu.js, robots.txt >> ^^ >> || >> || >> >> See the two extra spaces ? It should be images/* with no spaces for >> that item. >> >> >> On Saturday, January 31, 2026 at 12:40:14 PM UTC-8 O S wrote: >> >>> OK, another update. >>> >>> I installed WeeWX on another R-Pi, using another SD card, installed the >>> skin, visited the page and there are still no images. What is this?? :O >>> >>> On Saturday, January 31, 2026 at 8:10:58 PM UTC O S wrote: >>> >>>> OK, I did this: >>>> >>>> nick@weewx-pi:/var/www/html/weewx $ sudo systemctl restart weewx >>>> nick@weewx-pi:/var/www/html/weewx $ sudo weectl extension install >>>> ~/downloaded-extensions/weewx-belchertown-new-1.7beta1-new-belchertown.tar.gz >>>> >>>> >>>> Using configuration file /etc/weewx/weewx.conf >>>> Install extension >>>> '/home/nick/downloaded-extensions/weewx-belchertown-new-1.7beta1-new-belchertown.tar.gz' >>>> >>>> (y/n)? y >>>> Extracting from tar archive >>>> /home/nick/downloaded-extensions/weewx-belchertown-new-1.7beta1-new-belchertown.tar.gz >>>> Saving installer file to /etc/weewx/bin/user/installer/Belchertown >>>> Saved copy of configuration as /etc/weewx/weewx.conf.20260131200641 >>>> Finished installing extension Belchertown from >>>> /home/nick/downloaded-extensions/weewx-belchertown-new-1.7beta1-new-belchertown.tar.gz >>>> nick@weewx-pi:/var/www/html/weewx $ sudo systemctl restart weewx >>>> nick@weewx-pi:/var/www/html/weewx $ sudo weectl report run Belchertown >>>> Using configuration file /etc/weewx/weewx.conf >>>> The following reports will be run: Belchertown >>>> Generating as of last timestamp in the database. >>>> Done. >>>> >>>> Still no images so I think I'll reinstall on another SD card. >>>> On Saturday, January 31, 2026 at 8:01:26 PM UTC O S wrote: >>>> >>>>> 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/ae5a9f25-6cdc-4b5d-9a50-58f0b7163f49n%40googlegroups.com.
