weewx pip installation on fresh installation of Debian 12.11/xfce on Dell Vostro 200/Intel Core2

70 views
Skip to first unread message

tmia...@gmail.com

unread,
Jul 24, 2025, 8:13:00 AM7/24/25
to weewx-user
I am a long-time user of Debian (25 years).  I have used weewx for about ten years and have installed weewx several times using pip.

Machine & OS: Debian 12.11/xfce (fresh installation), Dell Vostro 200/Intel Core2

My weather system is a Davis Vantage Pro2 wireless.  I normally devote a local machine to weewx, and upload a new set of web pages to a remote web server (HostGator) once a minute, 24/7.

Following the section of the WeeWx 5 manual titled "Installation using pip", I installed weewx in a virtual environment.  Everything appeared to go properly until I reached the subsection title "Verify".


I find in the user directory (which is /home/weewx) the directories weewx-data and weewx-venv .

I find in the directory /var the subdirectory /www/ with the subdirectory /html .  In /html I find the file index.html which is the "Debian Logo Apache2 Debian Default Page".

Looking at the log files with systemd-journald, I see one prominent error message (there may be others):

CRITICAL weewx.engine: *** PermissionError: [Errno 13] Permission denied: '/dev/ttyUSB0'

At this point I do not know how to proceed.

RLH

P.S. Note to Manual Writers:

(1) Please start putting numerical section numbers (1., 1.1, 1.1.1, etc.) on manual headings and on the manual index!

(2) Please make it possible (and, preferably, easy) to print out the entire manual in one batch.

RLH

michael.k...@gmx.at

unread,
Jul 24, 2025, 10:12:51 AM7/24/25
to weewx-user
Googling "Permission denied: '/dev/ttyUSB0'" leads me to solutions adding the user "weewx" to the group "dialout" which I remember being the solution for such problems.
You may (I don't for sure, but this may be your next hurdle) also take a look into /home/weewx/weewx-data/util/udev/rules.d

vince

unread,
Jul 24, 2025, 11:41:46 AM7/24/25
to weewx-user
See if https://github.com/weewx/weewx/wiki/Understanding-permissions#how-to-fix-device-permissions helps you any.   You probably need to add your weewx user into group dialout.
Reply all
Reply to author
Forward
0 new messages