Weewx, no public_html directory and it does not tell me anything when I run it via Terminal

1,673 views
Skip to first unread message

William Wright

unread,
Dec 5, 2013, 4:07:21 PM12/5/13
to weewx...@googlegroups.com
Hello,

I am a Newbie to Weewx. I have just installed it and I have had some issues:

1) I cannot find nor see the public_html/index.html directory or file. Do I have to configure it first?

2) When I run the Weewx software via Terminal, it does not come back with any information. It just stays on a new line. Is this normal?

I am using the version of Weewx from the Python Tool and my Weather Station is a Fine Offset WH1080 (Which when I lookup on lsusb, returns that it is a Dream Link WH1080 Weather Station / USB Missile Launcher!).

Thomas Keffer

unread,
Dec 5, 2013, 5:34:54 PM12/5/13
to weewx-user
William,

When you say "from the Python Tool," do  you mean that you installed it using the setup.py method? Or something else? 

1. The directory public_html is generated automatically. If you used the setup.py method, it will appear in /home/weewx/public_html. If you used the Debian install method, it will appear in /var/www/weewx.

2. If you run weewxd from the terminal, it should print "loop packets" (i.e., current readings) every 2-60 seconds, depending on your hardware. It will print "archive records" every 5 minutes or so.

It's hard to say anything more without seeing the log. If you have a Debian system, it will be in /var/log/syslog.

-tk



--
You received this message because you are subscribed to the Google Groups "Weewx user's group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx-user+...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

vigilancewx

unread,
Dec 6, 2013, 8:18:27 AM12/6/13
to weewx...@googlegroups.com
Hi

Approximately 1 month ago I installed Weewx with the setup method (several times) on a pi

Weewx did not install  the public_html folder or the archive folder. I just created them with the correct permissions and weewx started working

Thomas Keffer

unread,
Dec 6, 2013, 8:29:02 AM12/6/13
to weewx-user
Weewx does "attempt" to make the public_html and archive subdirectories but, of course, whatever user it is running under must have the necessary permissions.

It's no different than any other Linux process that way.

-tk


William Wright

unread,
Dec 6, 2013, 11:18:46 AM12/6/13
to weewx...@googlegroups.com
Hi Tom,

I have installed the software via the setup.py method. However, it is not printing the Loop Packets. I was assuming that I would do something like that but it is not. Have I configured it properly?

My Computer is running Ubuntu 13.10. I tried looking for the System Log for Weewx and I could not find it.

Thomas Keffer

unread,
Dec 6, 2013, 4:27:50 PM12/6/13
to weewx-user
I'm sorry, but without the system log it's hard to offer much help. Did you try looking in the spot that I suggested earlier (/var/log/syslog)? If it's not there, then there is something very non-standard about the way your Ubuntu system was set up. Where did you get the distribution? Direct from Ubuntu? 

Also, what happens when you type in weewxd in the terminal? Absolutely nothing? Does it print anything at all?

-tk

William Wright

unread,
Dec 7, 2013, 6:14:04 AM12/7/13
to weewx...@googlegroups.com
Hi Tom,

I still cannot find the /var/log/syslog file. I do have a version of Ubuntu direct and it was installed on standard settings.

However, when I type in weewxd in a terminal is responds by stating that the command is not found.

I only installed by the Python setup becuase I wanted to see how the Software should run because I am planning to put in on a Raspberry Pi for the Weather Station at my School.

When I

Andrew Milner

unread,
Dec 7, 2013, 6:25:43 AM12/7/13
to weewx...@googlegroups.com
try /var/log/messages - if that is not the right one then what files DO you have under /var/log??

mwall

unread,
Dec 7, 2013, 8:33:43 AM12/7/13
to weewx...@googlegroups.com
On Saturday, December 7, 2013 6:14:04 AM UTC-5, William Wright wrote:
Hi Tom,

I still cannot find the /var/log/syslog file. I do have a version of Ubuntu direct and it was installed on standard settings.

However, when I type in weewxd in a terminal is responds by stating that the command is not found.


william,

see the 'running weewx' section of the users guide.

do this to see the contents of the syslog file:

sudo cat /var/log/syslog

do this in one terminal to watch the syslog as you run weewx from another terminal:

sudo tail -f /var/log/syslog

do this to start weewx:

sudo /home/weewx/bin/weewxd /home/weewx/weewx.conf

m
Reply all
Reply to author
Forward
0 new messages