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.

Reply via email to