'[email protected]' via weewx-user <[email protected]> wrote:

output of "ls -al /vat/www/rumoclock.dk/web/weewx/" is:
total 920
drwxrwsr-x 7 web1  client1  4096 feb  8 14:19 .

So as you aint answered which user weewx is running I assume it is
running as weewx as that would also explain that you cannot create the
temp files when creating the HTLM output:

Feb  8 14:54:16 frej weewxd[754]: ERROR weewx.reportengine:         ****  
[Errno 13] Permission denied: '/var/www/rumoclock.dk/web/weewx/index.html.tmp'

You wrote you did `chown -R weewx: /var/www/rumoclock.dk/web/weewx/` -
but that directory is still owned by user web1. So either you did not
run the command or it gets reverted by something else (maybe your
ispconfig tool).

If that's not the case, maybe another directory on the path is missing
permissions, you can check that too with this:

ls -ld /vat/www/{,rumoclock.dk/{,web}}

I doubt /var/www will have wrong permissions, but you can check those
directories as well if everything else looks ok.

Also maybe run `sudo ps ux | grep weewxd` to confirm the daemon runs as
user weewx - it is, probably.

drw-r-xr-x 4 root  root     4096 jul 17  2023 ..
[snip files...]

My weewx output is actually generated and put in the standard output folder: /
var/www/html/weewx/ All files in here are chmod 644 and chown weewx:weewx.

But in order to be shown right in my setup using a open-source control-panel
called ispconfig, In the working root of my primary homepage I have made a
folder called /weewx (hence the /var/www/rumoclock.dk/web/weewx/ with the chown
of that particular virtual homepage chown client1:web1- That folder is
symlinked to the standard output folder. This has worked from version 4.10.2 up
til 5.0.0, but gives me a hard time in 5.0.1 after the upgrade. I can't figure
out why.

torsdag den 8. februar 2024 kl. 20.10.18 UTC+1 skrev vince:

   We would need to see "ls -al /var/www/rumoclock.dk/web/weewx/" and also
   tell us what user+group weewx is running as.

   On Thursday, February 8, 2024 at 5:55:20 AM UTC-8 [email protected] wrote:

       I was to fast. It did come up with the resent generated html, but it
       will not continue generating new html pages. It made one for the time I
       was at when I did the  chown -R weewx: /var/www/rumoclock.dk/web/weewx/


       Feb  8 14:54:16 frej weewxd[754]: ERROR weewx.reportengine:        
       ****  PermissionError: [Errno 13] Permission denied: '/var/www/
       rumoclock.dk/web/weewx/index.html.tmp'
       Feb  8 14:54:16 frej weewxd[754]: ERROR weewx.reportengine:        
       ****  Generator terminated

--
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 on the web visit https://groups.google.com/d/msgid/
weewx-user/ac78ec0e-1723-4858-9c8c-d87cc0a5cfa0n%40googlegroups.com.


--
Be the change that you wish to see in the world.
- Mahatma Gandhi

--
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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/%24fczqnfvnz-%24rZXlPtl-%24RmbQX-2024%40odin.oe7drt.com.

Reply via email to