Vince, I use a raspberry Pi3 B+ As web server nginx The latest version OS from December 5, 23 Kernel version: 6.1 Debian version: 12 (bookworm) Completely new latest version of Weewx installation on a new SD card Settings for the folders according to schedule For the HTML_ROOT directory:
# set the permissions sudo find /var/www/html/weewx -type d -exec chmod 2775 {} \; sudo find /var/www/html/weewx -type f -exec chmod 664 {} \; # set the owner and group sudo chown -R weewx /var/www/html/weewx sudo chgrp -R weewx /var/www/html/weewx The server writes a file in the /var/www/html directory index.nginx-debian.html Is also visible in the FF browser Op zo 11 feb 2024 om 09:40 schreef Uwe S. <uwe.schrei...@gmail.com>: > I had a very similar issue while updating my weewx instance. Finally it > was a permission issue in /var/tmp > > You can try changing permission or ownership of the files reported. For me > it was working afterwards. > > vince schrieb am Sonntag, 11. Februar 2024 um 05:28:45 UTC+1: > >> Or if you have it via cron, put it in weewx's crontab, not user 'pi' >> >> On Saturday, February 10, 2024 at 6:12:12 PM UTC-8 Graham Eddy wrote: >> >>> why are you writing into files outside weewx’s area? weewx user is >>> unlikely to have perms to do that >>> *⊣GE⊢* >>> >>> On 11 Feb 2024, at 1:59 am, Ton Karsten <moth...@gmail.com> wrote: >>> >>> feb 10 15:10:15 raspberrypi weewxd[4548]: ERROR weewx.reportengine: >>> **** File "/usr/lib/python3.11/shutil.py", line 258, in copyfile >>> feb 10 15:10:15 raspberrypi weewxd[4548]: ERROR weewx.reportengine: >>> **** with open(dst, 'wb') as fdst: >>> feb 10 15:10:15 raspberrypi weewxd[4548]: ERROR weewx.reportengine: >>> **** ^^^^^^^^^^^^^^^ >>> >>> feb 10 15:10:15 raspberrypi weewxd[4548]: ERROR weewx.reportengine: >>> **** PermissionError: [Errno 13] Toegang geweigerd: >>> '/var/www/html/favicon.ico’ >>> >>> ... >>> >>> feb 10 15:10:16 raspberrypi weewxd[4548]: ERROR weewx.reportengine: >>> **** File "/etc/weewx/bin/user/belchertown.py", line 2817, in run >>> feb 10 15:10:16 raspberrypi weewxd[4548]: ERROR weewx.reportengine: >>> **** with open(json_filename, mode="w") as jf: >>> feb 10 15:10:16 raspberrypi weewxd[4548]: ERROR weewx.reportengine: >>> **** ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>> feb 10 15:10:16 raspberrypi weewxd[4548]: ERROR weewx.reportengine: >>> **** FileNotFoundError: [Errno 2] Bestand of map bestaat niet: >>> '/var/www/html/json/homepage.json' >>> >>> -- > 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 weewx-user+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/030883da-55f0-4ab2-bbf5-33c79849364fn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/030883da-55f0-4ab2-bbf5-33c79849364fn%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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CACngpzZEWuwPQrkEpwCQ_XguCXFgTXSkHKdw3%2BmO3XPduuc0tQ%40mail.gmail.com.