As I said, V5 pip runs as whatever unprivileged user you ran pip as, so no 
there is no required username. I installed as ‘pi’ so it runs as ‘pi’.

Any webserver works as long as the unprivileged user weewx runs as can 
write to the output directory you configured things to write to…and as long 
as the other unprivileged user yout webserver runs as can read those files. 
 There are many past threads and wiki and faq discussions of the many ways 
to set that up

On Wednesday, May 29, 2024 at 1:30:58 PM UTC-7 bgra...@umw.edu wrote:

> Thanks Vince and Tom. I’m still curious. Is group « weewx » necessary to 
> be present? It wasn’t created with the pip install.
> Also, I already have Apache2 installed. Can I simlink to that or is it 
> better to have nginx? Thanks and much appreciated for all the work you have 
> put into weewx!
> Cheers,
> Bob
>
>
> On Tuesday, May 28, 2024 at 6:51:06 PM UTC-4 vince wrote:
>
>> If you are doing a pip install, it will install and configure itself as 
>> the user 'pip' is run as.
>>
>> For your other issue it is likely you neglected to add the webserver of 
>> your choice.  Just do "sudo systemctl add nginx" for one that works.
>>
>> On Tuesday, May 28, 2024 at 2:23:35 PM UTC-7 bgra...@umw.edu 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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/cbf5fff0-9bde-4ac2-8157-2fe9070db5ebn%40googlegroups.com.

Reply via email to