Hi,
I have installed version 5.0.0rc1 with the pip method on a new VM (Debian
Bookworm). I want to use nginx as web server.
When calling xxx.xxx.xxx.xx I get from NGINX: 403 Forbidden
This means a rights problem for me. Where can I start?
The following is contained in /etc/nginx/sites-available/default, among
other things:
---------
root /var/www/html;
# Add index.php to the list if you are using PHP
index index.html index.htm index.nginx-debian.html;
server_name _;
location / {
# First attempt to serve request as file, then
# as directory, then fall back to displaying a 404.
try_files $uri $uri/ =404;
}
location /weewx {
alias /home/michael/weewx-data/public_html;
}
# pass PHP scripts to FastCGI server
#
------------
Many thanks in advance for any advice.
Greetings Michael
Tom Keffer schrieb am Freitag, 22. Dezember 2023 um 00:07:40 UTC+1:
> Celebrate the solstice (coming up in 4 hours) and the start of Winter with
> a WeeWX release candidate!
>
> *Changes since b17*
> We gave up on a standalone logger and have gone back to whatever your
> system uses. This is more robust to permission problems, but may make it
> harder to get the logs back out. See the wiki article *View logs
> <https://github.com/weewx/weewx/wiki/view-logs>* for tips on how to
> convince your system to let you have a look.
>
> As always, you can add a [Logging] section to weewx.conf and set up your
> own rotating log system. See the article *WeeWX V4 and logging
> <https://github.com/weewx/weewx/wiki/WeeWX-v4-and-logging>* for how to do
> this.
>
> *Pip*
>
> For pip installs, please delete your old virtual environment, then install
> from scratch by following the pip install instructions
> <https://weewx.com/docs/5.0/quickstarts/pip/#install-in-a-virtual-environment>.
>
> While upgrading should work, we are particularly interested in the
> experience of a new install, including setting up a daemon and udev files.
> Make sure to follow the new instructions that use a daemon setup script.
>
>
> *Debian*
>
> For Debian package installs, modify /etc/apt/sources.list as follows:
>
> *echo "deb [arch=all] https://weewx.com/apt-test/python3
> <https://weewx.com/apt-test/python3> buster main" | sudo tee
> /etc/apt/sources.list.d/weewx.list*
>
> Note the "apt-test". This tells apt to look there for the beta release,
> instead of the normal repository. You may want to change it back when
> you're done.
>
>
> *Red Hat*
>
> For Red Hat package installs, put this in /etc/yum.repos.d/weewx.repo
>
> *[weewx]
> name=weewx
> baseurl=http://weewx.com/yum-test/weewx/el9
> <http://weewx.com/yum-test/weewx/el9>
> enabled=1*
>
> Note the "yum-test". This tells yum to look there for the beta release,
> instead of the normal repository. Again, you may want to change things back
> when you're done.
>
>
> *What we're looking for*
>
> 1. We are interested in your upgrade experience. Did the installers get
> your configuration file right? Skins? Is the daemon configured correctly?
>
> 2. With this release, we have included udev rules to set the correct
> permissions for devices. Did it work? If not, did unplugging then
> replugging the device work?
>
> 3. How about logging? Is it going to your system logger? Do the labels
> look reasonable?
>
> *Thanks!*
>
> -Tom & Matt
>
--
You received this message because you are subscribed to the Google Groups
"weewx-development" 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-development/0d88d537-1856-4bf0-8c92-2c39ffd0ea8dn%40googlegroups.com.