Tested on debian10 (current raspi os) with the Simulator...

   -  you did not need to create /home/weewx, the 'setup.py install' will 
   handle that for you
   -  public_html and webpages are not created by the installation process, 
   they are created and populated when run weewx as a daemon and it runs its 
   reports the first time
   -  there 'should' be a /home/weewx/archive/weewx.sdb created for you 
   when you ran that 'weewxd' command the first time

If you run "sudo ./bin/wee_reports" then it'll create public_html and 
populate it for you immediately.

Als, if you're debugging a new system, set debug=1 in weewx.conf please, at 
least initially, so it logs more verbosely.


On Saturday, April 24, 2021 at 10:24:14 AM UTC-7 [email protected] wrote:

> I downloaded weewx-4.5.1 source code from github and I've been following 
> the setup.py method of install into a Ubuntu 20 virtual machine.
> see:  https://weewx.com/docs/setup.htm
>
> I created a 'weewx' Ubuntu user, so the /home/weewx directory structure 
> would be created.
> I've edited the weewx.conf file for my setup to use an RTL-SDR to receive 
> data from an Acurite Atlas weather station.
> The stock apache2 conf.d file included in weewx, points to the web server 
> location of:
> Alias /weewx /home/weewx/public_html
> <Directory /home/weewx/public_html>
> That public_html directory was not created by the installation process.  
> Was it supposed to?
>
> When I manually start weewx with the suggested commands:
> cd /home/weewx 
> sudo ./bin/weewxd
>
> Parts of the system start and i see the SDR reading the Atlas data.
> There doesn't appear to be a database file, and there isn't any webpage 
> files being created or updated.
>
> weewx@Ubuntu20-WEEWX:~/Desktop$ sudo tail -f /var/log/syslog
> Apr 24 12:04:56 Ubuntu20-WEEWX weewx[16422] DEBUG weewx.engine: Finished 
> loading service weewx.engine.StdPrint
> Apr 24 12:04:56 Ubuntu20-WEEWX weewx[16422] DEBUG weewx.engine: Loading 
> service weewx.engine.StdReport
> Apr 24 12:04:56 Ubuntu20-WEEWX weewx[16422] DEBUG weewx.engine: Finished 
> loading service weewx.engine.StdReport
> Apr 24 12:04:56 Ubuntu20-WEEWX weewx[16422] INFO __main__: Starting up 
> weewx version 4.5.1
> Apr 24 12:04:56 Ubuntu20-WEEWX weewx[16422] DEBUG weewx.engine: Station 
> does not support reading the time
> Apr 24 12:04:56 Ubuntu20-WEEWX weewx[16422] INFO weewx.engine: Using 
> binding 'wx_binding' to database 'weewx.sdb'
> Apr 24 12:04:56 Ubuntu20-WEEWX weewx[16422] INFO weewx.manager: Starting 
> backfill of daily summaries
> Apr 24 12:04:56 Ubuntu20-WEEWX weewx[16422] INFO weewx.manager: Empty 
> database
> Apr 24 12:04:56 Ubuntu20-WEEWX weewx[16422] INFO weewx.engine: Starting 
> main packet loop.
> Apr 24 12:04:59 Ubuntu20-WEEWX weewx[16422] DEBUG user.sdr: lines=[]
> Apr 24 12:05:03 Ubuntu20-WEEWX weewx[16422] DEBUG user.sdr: 
> lines=['{"time" : "2021-04-24 17:04:59", "model" : "Acurite-Atlas", "id" : 
> 17, "channel" : "A", "sequence_num" : 0, "battery_ok" : 1, "message_type" : 
> 38, "wind_avg_mi_h" : 0.000, "wind_dir_deg" : 200.000, "rain_in" : 0.130, 
> "strike_count" : 0, "strike_distance" : 31, "exception" : 0, "raw_msg" : 
> "c011660006a08d009f09"}\n', '{"time" : "2021-04-24 17:04:59", "model" : 
> "Acurite-Atlas", "id" : 17, "channel" : "A", "sequence_num" : 1, 
> "battery_ok" : 1, "message_type" : 38, "wind_avg_mi_h" : 0.000, 
> "wind_dir_deg" : 200.000, "rain_in" : 0.130, "strike_count" : 0, 
> "strike_distance" : 31, "exception" : 0, "raw_msg" : 
> "c411660006a08d009f0d"}\n', '{"time" : "2021-04-24 17:04:59", "model" : 
> "Acurite-Atlas", "id" : 17, "channel" : "A", "sequence_num" : 2, 
> "battery_ok" : 1, "message_type" : 38, "wind_avg_mi_h" : 0.000, 
> "wind_dir_deg" : 200.000, "rain_in" : 0.130, "strike_count" : 0, 
> "strike_distance" : 31, "exception" : 0, "raw_msg" : 
> "c811660006a08d009f11"}\n']
>
> I've gone through the install process several times, to be sure that no 
> steps were missed, but it isn't working as expected.
> Is this a known problem with version 4.5.1?
>
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f7de4155-2bb7-4275-9b41-765f1828a3e2n%40googlegroups.com.

Reply via email to