On Tuesday, February 13, 2024 at 9:11:14 AM UTC-5 wagr...@gmail.com wrote:
Feb 13 12:40:54 hp weewxd[4425]: ERROR weewx.imagegenerator: Unable to save to file '/var/www/html/weewx/yearrx.png' [Errno 13] Keine Berechtigung: '/var/www/html/weewx/yearrx.png': Feb 13 12:40:54 hp weewxd[4425]: INFO weewx.imagegenerator: Generated 0 images for report SeasonsReport in 3.97 seconds Feb 13 12:40:54 hp weewxd[4425]: ERROR weewx.reportengine: Caught unrecoverable exception in generator 'weewx.reportengine.CopyGenerator' Feb 13 12:40:54 hp weewxd[4425]: ERROR weewx.reportengine: **** [Errno 13] Keine Berechtigung: '/var/www/html/weewx' Feb 13 12:40:54 hp weewxd[4425]: ERROR weewx.reportengine: **** Traceback (most recent call last): Feb 13 12:40:54 hp weewxd[4425]: ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 220, in run Feb 13 12:40:54 hp weewxd[4425]: ERROR weewx.reportengine: **** obj.start() Feb 13 12:40:54 hp weewxd[4425]: Traceback (most recent call last): Feb 13 12:40:54 hp weewxd[4425]: File "/usr/share/weewx/weewx/reportengine.py", line 220, in run Feb 13 12:40:54 hp weewxd[4425]: obj.start() Feb 13 12:40:54 hp weewxd[4425]: File "/usr/share/weewx/weewx/reportengine.py", line 409, in start Feb 13 12:40:54 hp weewxd[4425]: self.run() Feb 13 12:40:54 hp weewxd[4425]: File "/usr/share/weewx/weewx/reportengine.py", line 560, in run Feb 13 12:40:54 hp weewxd[4425]: ncopy += weeutil.weeutil.deep_copy_path(path, html_dest_dir) Feb 13 12:40:54 hp weewxd[4425]: File "/usr/share/weewx/weeutil/weeutil.py", line 1807, in deep_copy_path Feb 13 12:40:54 hp weewxd[4425]: os.makedirs(d, exist_ok=True) Feb 13 12:40:54 hp weewxd[4425]: File "/usr/lib/python3.9/os.py", line 225, in makedirs Feb 13 12:40:54 hp weewxd[4425]: mkdir(name, mode) Feb 13 12:40:54 hp weewxd[4425]: PermissionError: [Errno 13] Keine Berechtigung: '/var/www/html/weewx' Feb 13 12:40:54 hp weewxd[4425]: ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 409, in start Feb 13 12:40:54 hp weewxd[4425]: ERROR weewx.reportengine: **** self.run() Feb 13 12:40:54 hp weewxd[4425]: ERROR weewx.reportengine: **** File "/usr/share/weewx/weewx/reportengine.py", line 560, in run Feb 13 12:40:54 hp weewxd[4425]: ERROR weewx.reportengine: **** ncopy += weeutil.weeutil.deep_copy_path(path, html_dest_dir) Feb 13 12:40:54 hp weewxd[4425]: ERROR weewx.reportengine: **** File "/usr/share/weewx/weeutil/weeutil.py", line 1807, in deep_copy_path Feb 13 12:40:54 hp weewxd[4425]: ERROR weewx.reportengine: **** os.makedirs(d, exist_ok=True) Feb 13 12:40:54 hp weewxd[4425]: ERROR weewx.reportengine: **** File "/usr/lib/python3.9/os.py", line 225, in makedirs Feb 13 12:40:54 hp weewxd[4425]: ERROR weewx.reportengine: **** mkdir(name, mode) Feb 13 12:40:54 hp weewxd[4425]: ERROR weewx.reportengine: **** PermissionError: [Errno 13] Keine Berechtigung: '/var/www/html/weewx' Feb 13 12:40:54 hp weewxd[4425]: ERROR weewx.reportengine: **** Generator terminated the process 'weewxd' does not have permission to create the directory /var/www/html/weewx assuming that weewxd is configured to run as the user 'weewx', you can fix it like this: sudo mkdir /var/www/html/weewx sudo chown weewx /var/www/html/weewx sudo chgrp weewx /var/www/html/weewx -- 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/6b55fae4-553c-453d-b03b-c5dcbd3f7ecbn%40googlegroups.com.