Installing version 4.2.0 on raspberry pi

103 views
Skip to first unread message

Mamvcivm

unread,
Dec 24, 2020, 6:11:23 PM12/24/20
to weewx-user
4890CFFF-3DD6-4D69-85D0-1300C2ABE8B7.jpegI’ve followed the instructions for installing the above on a brand new download of the full buster installation on a RPi from http://weewx.com/docs/debian.htm 

The installation went smoothly enough, however, when I enter the IP address of the Pi in a browser, ie 192.168.1.205/weewx I get the following error message: (above)

If I try file:///var/www/html/weewx/index.html on the Pi, I get file not found error, however, if I drill down to the /var/www/html/weewx/ folder and then double click the html file it says the file is in use by another process, but gives me the option to unlock it, this allows me to display the file in the local browser, but not in a browser I another machine on the network. I can’t see the data if I try 127.0.0.1/weewx on the Pi either...

I feel I’ve missed something new as I’ve installed 3.9.1 without problem over a year ago the same way and it “just worked”...

Thanks for any advice...

Andrew





vince

unread,
Dec 24, 2020, 7:15:18 PM12/24/20
to weewx-user
A new SD card os does not have a webserver installed.  You have to pick one that you want to use and install it.

I'd suggest 'sudo apt-get install nginx' for one that works nicely on a pi.
Then run 'sudo systemctl status nginx.service' to verify it's running.


andrew longdon

unread,
Dec 25, 2020, 7:45:07 AM12/25/20
to weewx...@googlegroups.com
Thanks Vince, that sorted it! If only I’d read the user guide as well as the installation guide.

All the best for the holidays.

Andrew

--


You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.


To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/QV-rQYiKQns/unsubscribe.


To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.


To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/4f233e8f-01f2-4e7a-99f2-cbb11daab74an%40googlegroups.com.


--
Andrew
Reply all
Reply to author
Forward
0 new messages