Ubuntu 20.04 install, no HTML Files at all

195 views
Skip to first unread message

Rob Cook

unread,
Jan 15, 2021, 4:14:36 PM1/15/21
to weewx-user
I've been trying to install WeeWx today in a Ubuntu 20.04 VM and at the point that I'm tying to get the apache2 integration to work I get stuck. 

I'm using the "wget" means to install. 

I have nothing in /home/weewx -- as in the directory does not exist
I have nothing in /var/www/html/weewx -- as in the directory does not exist

The process has been to spin up the VM, update it, add the weewx repo, install apache2, install weewx. 

Following the guides supposedly by installing via deb there should be a /home/weewx and /var/www/html/weewx directories created but they are not there. I've downloaded the tarball and extracted it and I see nothing that I could copy into /var/www/html either. 

What am I missing?

Greg from Oz

unread,
Jan 15, 2021, 4:25:10 PM1/15/21
to weewx-user
Are you following these instructions?

Ubuntu 20.04 doesn't have apache installed by default either so you have to install it first.

sudo apt install apache2

All you have to do is:
wget -qO - https://weewx.com/keys.html | sudo apt-key add -

wget -qO - https://weewx.com/apt/weewx-python3.list | sudo tee /etc/apt/sources.list.d/weewx.list

sudo apt-get update 
sudo apt-get install weewx

To restart etc:
 sudo systemctl restart weewx.service && tail -f /var/log/syslog|grep weewx

Rob Cook

unread,
Jan 15, 2021, 4:49:15 PM1/15/21
to weewx...@googlegroups.com
Yes, following those instructions. The only difference I made was to run the wget statements, then install Apache2, apt update, then lastly install weewx. I can't see why installing apache2 first matters as long as it's installed prior to the weewx installation? 

I've now installed weewx 3 times today, once without apache2, once installing apache2 after weewx and lastly in the means above. Not one install produced a /home/weewx or /var/www/html/weewx directory. 

Very confusing. 

--
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/GZtJCLk-IAk/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/5fc818c0-750d-49de-bd9f-ffb82e5a6f57n%40googlegroups.com.


--

Tom Keffer

unread,
Jan 15, 2021, 5:06:59 PM1/15/21
to weewx-user
Installs using apt-get (or apt) do not install in /home/weewx. They install in the conventional Debian spots. Read the Debian guide, bottom part.

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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAB0G93c56%2B2UwiXqbXqbTzqGyvoBGX_4ybH_DOnWKQv5viCjbw%40mail.gmail.com.

Rob Cook

unread,
Jan 15, 2021, 6:08:34 PM1/15/21
to weewx...@googlegroups.com
Notice that I have nothing in /var/www/html other than index.html, that's my issue. The installer isn't (assuming it's supposed to) installing files in /var/www/html and I can't seem to figure out via documentation where else they would be. 

Every guide and all the documentation state that the html files should be either in /home/weewx or /var/www/html/weewx and they aren't there. 

rcook@t630weewx:~$ ls /usr/bin/wee
wee_config     wee_database   wee_debug      wee_device     wee_extension  wee_import     wee_reports    weewxd
rcook@t630weewx:~$ ls /etc/weewx/
apache/          import/          logrotate.d/     logwatch/        rsyslog.d/       scripts/         skins/           udev/            weewx.conf       weewx.conf.dist
rcook@t630weewx:~$ ls /var/lib/weewx/
weewx.sdb
rcook@t630weewx:~$ ls /var/www/html/
index.html
rcook@t630weewx:~$ ls /usr/share/doc/weewx/
accum.md          changes.txt  copyright.htm  customizing.htm  devnotes.htm  hardware.htm  js          macos.htm   redhat.htm  suse.htm       usersguide.htm  xtypes.md
changelog.Debian  copyright    css            debian.htm       examples      images        logging.md  readme.htm  setup.htm   upgrading.htm  utilities.htm
rcook@t630weewx:~$





--

Glenn McKechnie

unread,
Jan 15, 2021, 6:29:15 PM1/15/21
to weewx...@googlegroups.com
On 16/01/2021, Rob Cook <rdj...@gmail.com> wrote:
> Notice that I have nothing in /var/www/html other than index.html, that's
> my issue. The installer isn't (assuming it's supposed to) installing files

The installer doesn't place any files into any html directory.

> in /var/www/html and I can't seem to figure out via documentation where
> else they would be.

The html directory will only start showing weewx related files once
weewx is up and successfully running.

The weewx.conf file has the location (HTML_ROOT = ...)

Once weewx is up and running and generating output (the Simulator
driver is often used for testing a new installation) it will then
transfer any generated files into that html/ location. (The first
thing it will do is generate the weewx/ directory.)

[...]

--


Cheers
Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie

Greg from Oz

unread,
Jan 15, 2021, 6:38:56 PM1/15/21
to weewx-user
Check to see if weewx is running otherwise there will be no files as Gelnn said earlier.
Run the command below:
status weewx.service 

You should see a green dot and something similar to below which means it is running.
● weewx.service - LSB: weewx weather system
     Loaded: loaded (/etc/init.d/weewx; generated)
     Active: active (running) since Thu 2021-01-14 08:10:38 AEDT; 2 days ago
       Docs: man:systemd-sysv-generator(8)
      Tasks: 7 (limit: 9450)
     Memory: 68.0M
     CGroup: /system.slice/weewx.service
             └─1231 python3 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf


Rob Cook

unread,
Jan 15, 2021, 6:43:18 PM1/15/21
to weewx...@googlegroups.com
It's running, just not creating the files. Seems like there is an issue talking to the USB Datalogger. I have it as a USB 2 device in VMWare, I assume that is correct?

rcook@t630weewx:/etc/weewx$ sudo systemctl status weewx

● weewx.service - LSB: weewx weather system
     Loaded: loaded (/etc/init.d/weewx; generated)
     Active: active (running) since Fri 2021-01-15 23:41:00 UTC; 5s ago
       Docs: man:systemd-sysv-generator(8)
    Process: 2216 ExecStart=/etc/init.d/weewx start (code=exited, status=0/SUCCESS)
      Tasks: 1 (limit: 4620)
     Memory: 12.2M
     CGroup: /system.slice/weewx.service
             └─2231 python3 /usr/share/weewx/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf

Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO weewx.restx: PWSweather: Posting not enabled.
Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO weewx.restx: CWOP: Posting not enabled.
Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO weewx.restx: WOW: Posting not enabled.
Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO weewx.restx: AWEKAS: Posting not enabled.
Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO __main__: Starting up weewx version 4.3.0
Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO weewx.engine: Clock error is 0.05 seconds (positive is fast)
Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO weewx.manager: Starting backfill of daily summaries
Jan 15 23:41:00 t630weewx python3[2231]: weewx[2231] INFO weewx.engine: Starting main packet loop.
Jan 15 23:41:05 t630weewx python3[2231]: weewx[2231] ERROR weewx.drivers.vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead

--
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/GZtJCLk-IAk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.


--

Tom Keffer

unread,
Jan 15, 2021, 6:46:55 PM1/15/21
to weewx-user
You are having connectivity problems with your station. Most likely, the problem is getting VMWare to recognize the device.

See the wiki article Establishing connectivity.

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 weewx-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAB0G93e24zocA_NsacjQU3CxnoQnBpjN36ar1%3DVo4hawwUUN4A%40mail.gmail.com.

Rob Cook

unread,
Jan 15, 2021, 6:52:40 PM1/15/21
to weewx...@googlegroups.com
Per minicom I received my TEST response so I do have connectivity. Interestingly this works in Windows 10. I'm trying WeeWx because the WeatherLink software dies randomly. That and who doesn't like a challenge?




--

Tom Keffer

unread,
Jan 15, 2021, 6:55:29 PM1/15/21
to weewx-user
Then we need to see the full log (not just what sysctl status shows).

Set debug=1, restart weewx, post the log from the startup through the first reporting cycle.

Greg Reive

unread,
Jan 15, 2021, 6:57:41 PM1/15/21
to weewx...@googlegroups.com
Run this command:
 tail -f /var/log/syslog|grep weewx

That will show you what is going on.





--
¯\_(ツ)_/¯

Tom Keffer

unread,
Jan 15, 2021, 7:00:04 PM1/15/21
to weewx-user
Actually, when it's a connectivity issue, it's better to see the full log. The kernel may be messing with the port.

Rob Cook

unread,
Jan 15, 2021, 7:04:32 PM1/15/21
to weewx...@googlegroups.com
First, thanks for all the help. I'll post logs below but I need to go feed my dogs and make dinner so if I don't get back to this tonight I'll pick it up in the morning. 

I've attached the entire syslog as well. Hopefully there's something in there. 

Jan 15 23:58:39 t630weewx systemd[1]: weewx.service: Succeeded.
Jan 15 23:58:39 t630weewx systemd[1]: Stopped LSB: weewx weather system.
Jan 15 23:58:39 t630weewx systemd[1]: Starting LSB: weewx weather system...
Jan 15 23:58:39 t630weewx weewx[3329]:  * Starting weewx weather system weewx
Jan 15 23:58:39 t630weewx weewx[3354] INFO __main__: Initializing weewx version 4.3.0
Jan 15 23:58:39 t630weewx weewx[3354] INFO __main__: Using Python 3.8.5 (default, Jul 28 2020, 12:59:40) #012[GCC 9.3.0]
Jan 15 23:58:39 t630weewx weewx[3354] INFO __main__: Platform Linux-5.4.0-62-generic-x86_64-with-glibc2.29
Jan 15 23:58:39 t630weewx weewx[3354] INFO __main__: Locale is 'C.UTF-8'
Jan 15 23:58:39 t630weewx weewx[3354] INFO __main__: PID file is /var/run/weewx.pid
Jan 15 23:58:39 t630weewx weewx[3357] INFO __main__: Using configuration file /etc/weewx/weewx.conf
Jan 15 23:58:39 t630weewx weewx[3357] INFO __main__: Debug is 1
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG __main__: Initializing engine
Jan 15 23:58:39 t630weewx weewx[3329]:    ...done.
Jan 15 23:58:39 t630weewx systemd[1]: Started LSB: weewx weather system.
Jan 15 23:58:39 t630weewx weewx[3357] INFO weewx.engine: Loading station type Vantage (weewx.drivers.vantage)
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Driver version is 3.2.1
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Option loop_request=1
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Opened up serial port /dev/ttyUSB0; baud 19200; timeout 4.00
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Hardware type is 16
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: ISS ID is 1
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Hardware name: Vantage Pro2
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.engine.StdTimeSynch
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.engine.StdTimeSynch
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.engine.StdConvert
Jan 15 23:58:39 t630weewx weewx[3357] INFO weewx.engine: StdConvert target unit is 0x1
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.engine.StdConvert
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.engine.StdCalibrate
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.engine.StdCalibrate
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.engine.StdQC
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.engine.StdQC
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.wxservices.StdWXCalculate
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.manager: Daily summary version is 3.0
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.wxservices.StdWXCalculate
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdWXXTypes
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdWXXTypes
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdPressureCooker
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdPressureCooker
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdRainRater
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdRainRater
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.wxxtypes.StdDelta
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.wxxtypes.StdDelta
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.engine.StdArchive
Jan 15 23:58:39 t630weewx weewx[3357] INFO weewx.engine: Archive will use data binding wx_binding
Jan 15 23:58:39 t630weewx weewx[3357] INFO weewx.engine: Record generation will be attempted in 'hardware'
Jan 15 23:58:39 t630weewx weewx[3357] ERROR weewx.engine: The archive interval in the configuration file (300) does not match the station hardware interval (1800).
Jan 15 23:58:39 t630weewx weewx[3357] INFO weewx.engine: Using archive interval of 1800 seconds (specified by hardware)
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Use LOOP data in hi/low calculations: 1
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.engine.StdArchive
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.restx.StdStationRegistry
Jan 15 23:58:39 t630weewx weewx[3357] INFO weewx.restx: StationRegistry: Registration not requested.
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.restx.StdStationRegistry
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.restx.StdWunderground
Jan 15 23:58:39 t630weewx weewx[3357] INFO weewx.restx: Wunderground: Posting not enabled.
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.restx.StdWunderground
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.restx.StdPWSweather
Jan 15 23:58:39 t630weewx weewx[3357] INFO weewx.restx: PWSweather: Posting not enabled.
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.restx.StdPWSweather
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.restx.StdCWOP
Jan 15 23:58:39 t630weewx weewx[3357] INFO weewx.restx: CWOP: Posting not enabled.
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.restx.StdCWOP
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.restx.StdWOW
Jan 15 23:58:39 t630weewx weewx[3357] INFO weewx.restx: WOW: Posting not enabled.
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.restx.StdWOW
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.restx.StdAWEKAS
Jan 15 23:58:39 t630weewx weewx[3357] INFO weewx.restx: AWEKAS: Posting not enabled.
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.restx.StdAWEKAS
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.engine.StdPrint
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.engine.StdPrint
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Loading service weewx.engine.StdReport
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.engine: Finished loading service weewx.engine.StdReport
Jan 15 23:58:39 t630weewx weewx[3357] INFO __main__: Starting up weewx version 4.3.0
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jan 15 23:58:39 t630weewx weewx[3357] INFO weewx.engine: Clock error is 2.21 seconds (positive is fast)
Jan 15 23:58:39 t630weewx weewx[3357] INFO weewx.engine: Using binding 'wx_binding' to database 'weewx.sdb'
Jan 15 23:58:39 t630weewx weewx[3357] INFO weewx.manager: Starting backfill of daily summaries
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Getting archive packets since 2021-01-15 23:56:00 UTC (1610754960)
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Retrieving 0 page(s); starting index= 0
Jan 15 23:58:39 t630weewx weewx[3357] INFO weewx.engine: Starting main packet loop.
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.
Jan 15 23:58:39 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jan 15 23:58:42 t630weewx multipathd[673]: sda: add missing path
Jan 15 23:58:42 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 15 23:58:42 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 15 23:58:42 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 15 23:58:47 t630weewx multipathd[673]: sda: add missing path
Jan 15 23:58:47 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 15 23:58:47 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 15 23:58:47 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 15 23:58:52 t630weewx multipathd[673]: sda: add missing path
Jan 15 23:58:52 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 15 23:58:52 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 15 23:58:52 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 15 23:58:57 t630weewx multipathd[673]: sda: add missing path
Jan 15 23:58:57 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 15 23:58:57 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 15 23:58:57 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 15 23:59:02 t630weewx multipathd[673]: sda: add missing path
Jan 15 23:59:02 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 15 23:59:02 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 15 23:59:02 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 15 23:59:07 t630weewx multipathd[673]: sda: add missing path
Jan 15 23:59:07 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 15 23:59:07 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 15 23:59:07 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 15 23:59:12 t630weewx multipathd[673]: sda: add missing path
Jan 15 23:59:12 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 15 23:59:12 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 15 23:59:12 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 15 23:59:17 t630weewx multipathd[673]: sda: add missing path
Jan 15 23:59:17 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 15 23:59:17 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 15 23:59:17 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 15 23:59:22 t630weewx multipathd[673]: sda: add missing path
Jan 15 23:59:22 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 15 23:59:22 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 15 23:59:22 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 15 23:59:27 t630weewx multipathd[673]: sda: add missing path
Jan 15 23:59:27 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 15 23:59:27 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 15 23:59:27 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 15 23:59:32 t630weewx multipathd[673]: sda: add missing path
Jan 15 23:59:32 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 15 23:59:32 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 15 23:59:32 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 15 23:59:37 t630weewx multipathd[673]: sda: add missing path
Jan 15 23:59:37 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 15 23:59:37 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 15 23:59:37 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 15 23:59:42 t630weewx multipathd[673]: sda: add missing path
Jan 15 23:59:42 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 15 23:59:42 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 15 23:59:42 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 15 23:59:47 t630weewx multipathd[673]: sda: add missing path
Jan 15 23:59:47 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 15 23:59:47 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 15 23:59:47 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 15 23:59:52 t630weewx multipathd[673]: sda: add missing path
Jan 15 23:59:52 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 15 23:59:52 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 15 23:59:52 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 15 23:59:57 t630weewx multipathd[673]: sda: add missing path
Jan 15 23:59:57 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 15 23:59:57 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 15 23:59:57 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 16 00:00:00 t630weewx weewx[3357] ERROR weewx.drivers.vantage: LOOP try #1; error: Expected to read 99 chars; got 0 instead
Jan 16 00:00:02 t630weewx multipathd[673]: sda: add missing path
Jan 16 00:00:02 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 16 00:00:02 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 16 00:00:02 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 16 00:00:03 t630weewx systemd[1]: Starting Rotate log files...
Jan 16 00:00:03 t630weewx systemd[1]: Starting Daily man-db regeneration...
Jan 16 00:00:03 t630weewx systemd[1]: logrotate.service: Succeeded.
Jan 16 00:00:03 t630weewx systemd[1]: Finished Rotate log files.
Jan 16 00:00:03 t630weewx systemd[1]: man-db.service: Succeeded.
Jan 16 00:00:03 t630weewx systemd[1]: Finished Daily man-db regeneration.
Jan 16 00:00:07 t630weewx multipathd[673]: sda: add missing path
Jan 16 00:00:07 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 16 00:00:07 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 16 00:00:07 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 16 00:00:12 t630weewx multipathd[673]: sda: add missing path
Jan 16 00:00:12 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 16 00:00:12 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 16 00:00:12 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 16 00:00:16 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Getting archive packets since 2021-01-15 23:56:00 UTC (1610754960)
Jan 16 00:00:16 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jan 16 00:00:16 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Retrieving 1 page(s); starting index= 1
Jan 16 00:00:16 t630weewx weewx[3357] INFO weewx.manager: Added record 2021-01-16 00:00:00 UTC (1610755200) to database 'weewx.sdb'
Jan 16 00:00:16 t630weewx weewx[3357] INFO weewx.manager: Added record 2021-01-16 00:00:00 UTC (1610755200) to daily summary in 'weewx.sdb'
Jan 16 00:00:16 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: DMPAFT complete: page timestamp 2020-10-02 03:30:00 UTC (1601609400) less than final timestamp 2021-01-16 00:00:00 UTC (1610755200)
Jan 16 00:00:16 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Catch up complete.
Jan 16 00:00:16 t630weewx weewx[3357] DEBUG weewx.reportengine: Running reports for latest time in the database.
Jan 16 00:00:16 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.
Jan 16 00:00:16 t630weewx weewx[3357] DEBUG weewx.reportengine: Running report 'SeasonsReport'
Jan 16 00:00:16 t630weewx weewx[3357] DEBUG weewx.drivers.vantage: Gentle wake up of console successful
Jan 16 00:00:16 t630weewx weewx[3357] DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Jan 16 00:00:16 t630weewx weewx[3357] DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras']
Jan 16 00:00:16 t630weewx weewx[3357] DEBUG weewx.manager: Daily summary version is 3.0
Jan 16 00:00:17 t630weewx multipathd[673]: sda: add missing path
Jan 16 00:00:17 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 16 00:00:17 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 16 00:00:17 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory
Jan 16 00:00:18 t630weewx weewx[3357] INFO weewx.cheetahgenerator: Generated 12 files for report SeasonsReport in 1.36 seconds
Jan 16 00:00:18 t630weewx weewx[3357] DEBUG weewx.manager: Daily summary version is 3.0
Jan 16 00:00:20 t630weewx weewx[3357] INFO weewx.imagegenerator: Generated 60 images for report SeasonsReport in 2.32 seconds
Jan 16 00:00:20 t630weewx weewx[3357] INFO weewx.reportengine: Copied 5 files to /var/www/html/weewx
Jan 16 00:00:20 t630weewx weewx[3357] DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Jan 16 00:00:20 t630weewx weewx[3357] DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
Jan 16 00:00:20 t630weewx weewx[3357] DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
Jan 16 00:00:20 t630weewx weewx[3357] DEBUG weewx.reportengine: Report 'FTP' not enabled. Skipping.
Jan 16 00:00:20 t630weewx weewx[3357] DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
Jan 16 00:00:22 t630weewx multipathd[673]: sda: add missing path
Jan 16 00:00:22 t630weewx multipathd[673]: sda: failed to get udev uid: Invalid argument
Jan 16 00:00:22 t630weewx multipathd[673]: sda: failed to get sysfs uid: Invalid argument
Jan 16 00:00:22 t630weewx multipathd[673]: sda: failed to get sgio uid: No such file or directory



--
syslog

Rob Cook

unread,
Jan 15, 2021, 7:07:07 PM1/15/21
to weewx...@googlegroups.com
....Aaaaaand now it's working? Was I simply being impatient? I now have files in /var/www/html/weewx and graphs. WTH? 

I guess I'm good, just need to enter in my Wunderground Info. 
--

Greg Reive

unread,
Jan 15, 2021, 7:09:51 PM1/15/21
to weewx...@googlegroups.com
You have to wait at least 5 minutes as that is the report generation time default.



--
¯\_(ツ)_/¯

Tom Keffer

unread,
Jan 15, 2021, 8:16:38 PM1/15/21
to weewx-user
Report generation happens with every archive interval. With the Vantage stations, the interval is set by the hardware, not by WeeWX. Your station hardware has it set to 30 minutes.

To change, either consult the directions that came with your console, or use the WeeWX utility wee_device with the --set-interval option. For example,

wee_device --set-interval=5

would change the interval to 5 minutes.

-tk

Rob Cook

unread,
Jan 17, 2021, 12:56:40 PM1/17/21
to weewx...@googlegroups.com
I wanted to reply back and let you all know that my WeeWx install is working now, publishing to Wunderground. Thanks for the help!



--
Reply all
Reply to author
Forward
0 new messages