The daemon will run as the user that ran the script "setup-daemon.sh". In your case, that's probably "bg".
When you say that you are "unable to display [index.html]", what do you mean? You get an error? It displays incorrectly? You can't read the file? On Tue, May 28, 2024 at 2:23 PM [email protected] <[email protected]> wrote: > Hello, > I have an RPI5 running bookworm on which I want to setup a test site of > weewx 5. I have the latest 4.10.2 which has been running on an Ubuntu > machine for 10+ years (grattans.org/wx). Not being a programmer, I'm > trying to get things setup before I make the permanent move. > > I have noticed that the user "weewx" has not been created and I'm > following direction for a pip install. I have created the primary user "bg" > rather than "pi" and wonder if that is a problem? > > The simulator seems to be running and posting to > /home/bg/weewx-data/public_html/index.html but I am unable to display the > page. > > I'm certain there is something simple I'm not doing here but am rather > stuck. Thanks for any suggestions. Below is a service status. > > Many thanks in advance. > Bob > > weewx.service - WeeWX weather system > Loaded: loaded (/etc/systemd/system/weewx.service; enabled; preset: > enabled) > Active: active (running) since Tue 2024-05-28 11:19:23 EDT; 6h ago > Docs: https://weewx.com/docs > Main PID: 1036 (python3) > Tasks: 1 (limit: 9248) > CPU: 52.847s > CGroup: /system.slice/weewx.service > └─1036 /home/bg/weewx-venv/bin/python3 > /home/bg/weewx-venv/lib/python3.11/site-packages/weewxd.py > /home/bg/weewx-data/weewx.conf > > May 28 17:15:15 RPI5 weewxd[1036]: INFO weewx.manager: Added record > 2024-05-28 17:15:00 EDT (1716930900) to database 'weewx.sdb' > May 28 17:15:15 RPI5 weewxd[1036]: INFO weewx.manager: Added record > 2024-05-28 17:15:00 EDT (1716930900) to daily summary in 'weewx.sdb' > May 28 17:15:16 RPI5 weewxd[1036]: INFO weewx.cheetahgenerator: Generated > 8 files for report SeasonsReport in 0.32 seconds > May 28 17:15:16 RPI5 weewxd[1036]: INFO weewx.imagegenerator: Generated 15 > images for report SeasonsReport in 0.21 seconds > May 28 17:15:16 RPI5 weewxd[1036]: INFO weewx.reportengine: Copied 0 files > to /home/bg/weewx-data/public_html > May 28 17:20:15 RPI5 weewxd[1036]: INFO weewx.manager: Added record > 2024-05-28 17:20:00 EDT (1716931200) to database 'weewx.sdb' > May 28 17:20:15 RPI5 weewxd[1036]: INFO weewx.manager: Added record > 2024-05-28 17:20:00 EDT (1716931200) to daily summary in 'weewx.sdb' > May 28 17:20:16 RPI5 weewxd[1036]: INFO weewx.cheetahgenerator: Generated > 8 files for report SeasonsReport in 0.32 seconds > May 28 17:20:16 RPI5 weewxd[1036]: INFO weewx.imagegenerator: Generated 15 > images for report SeasonsReport in 0.21 seconds > May 28 17:20:16 RPI5 weewxd[1036]: INFO weewx.reportengine: Copied 0 files > to /home/bg/weewx-data/public_html > > -- > 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/a9248288-cbd5-45bc-a835-1fa4e81c721bn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/a9248288-cbd5-45bc-a835-1fa4e81c721bn%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 on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEDj4O_A2LMikAEh9fjPjPgEd%3DS1TCtskfaTzN9eJ2BVDw%40mail.gmail.com.
