Hello again,
Just a clarification; on my previous installations,
I always installed Apache2 using the Debian method: `apt install
apache2`, which created the `/var/www/html` directory.
After installing Weewx, there's `/var/www/html/weewx`.
With a PIP installation, how should I proceed? Is there a specific
order for installing Apache2.4?
Because installing Weewx in `venv` created a `public_html` directory in
`weewx-data`.
Should I install Apache2 after installing Weewx?
I readed the document but I didn't found the base installation of apache
and so in what order.
thanks
Patrick
Le 23/11/2025 à 19:28, vince a écrit :
See
https://github.com/weewx/weewx/wiki/Configure-a-web-server-(Apache,-NGINX-or-lighttpd)
for some ways to integrate weewx with apache
On Sunday, November 23, 2025 at 10:00:24 AM UTC-8 salinois wrote:
so,
I send screen copy installation directories:
I left my Apache installation from before switching to venv,
should I delete it?
thanks
Patrick
Le 23/11/2025 à 18:14, vince a écrit :
Your apache logs are wherever your os puts them. Weewx in a venv
does not alter anything apache does.
Based on the info you provided try http://192.168.0.10/weewx for
your URL and see if that works. That looks like it should work
on your LAN if apache is set up correctly.
On Sunday, November 23, 2025 at 4:44:42 AM UTC-8 salinois wrote:
Hello,
In the end, I installed Weewx on Trixies using PIP, so in a
virtual environment, because normally I was having problems
with certain modules (bme280).
I managed to get it working.I can see the website locally on
my Raspberry Pi with
file:///home/patrick/weewx-data/public_html/index.html.
But remotely; It's not working. In Firefox, I'm using:
http://192.168.0.10/home/patrick/weewx-data/public_html.
When I look at the Apache logs, I see: 192.168.0.6 - -
[23/Nov/2025:13:11:36 +0100] "GET /favicon.ico HTTP/1.1" 404
490
"http://192.168.0.10/home/patrick/weewx-data/public_html/"
<http://192.168.0.10/home/patrick/weewx-data/public_html/>
"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:145.0)
Gecko/20100101 Firefox/145.0".
Here are my configurations;
/home/patrick/weewx-data/weewx.conf (affected lines)
[Station]# example, "http://" or "https://" station_url =
http://192.168.0.10/home/patrick/weewx-data/public_html # The
start of the rain year (1=January; 10=October, etc.).
[StdReport]
# Where the skins reside, relative to WEEWX_ROOT
SKIN_ROOT = skins
# Where the generated reports should go, relative to WEEWX_ROOT
HTML_ROOT = public_html
and in the apache config:
/home/patrick/weex-data/util/apache/weewx.conf
Alias /weewx /home/patrick/weewx-data/public_html
<Directory /home/patrick/weewx-data/public_html>
Options FollowSymlinks
AllowOverride None
2 questions:where are apache logs located in venv
environment?is my config good?
thanks
Patrick
Le 19/11/2025 à 23:57, John Smith a écrit :
On Thu, 20 Nov 2025 at 01:00, 'Peter Fletcher' via
weewx-user <[email protected]> wrote:
additional library (pyMySQL, I think) be pip installed.
The strong recommendation, if you are going to do this,
is to
It also can use the MySQLdb module which I installed from
from a deb package...
--
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 visit
https://groups.google.com/d/msgid/weewx-user/CAGTinV5NVuFHNXYg%2B2AcmmJ%3DgHL6TxKS1Qp-6Dow%3D_QPxt9w9Q%40mail.gmail.com
<https://groups.google.com/d/msgid/weewx-user/CAGTinV5NVuFHNXYg%2B2AcmmJ%3DgHL6TxKS1Qp-6Dow%3D_QPxt9w9Q%40mail.gmail.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 visit
https://groups.google.com/d/msgid/weewx-user/bb207edf-ea04-4f7d-b3fb-5c4499c710b6n%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/bb207edf-ea04-4f7d-b3fb-5c4499c710b6n%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 visit
https://groups.google.com/d/msgid/weewx-user/f04bad38-78e7-4fb8-88f6-50f75e20b4a0n%40googlegroups.com
<https://groups.google.com/d/msgid/weewx-user/f04bad38-78e7-4fb8-88f6-50f75e20b4a0n%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 visit
https://groups.google.com/d/msgid/weewx-user/50d85dae-fb84-409e-88ae-20ed283f5167%40gmail.com.