Some more observations: 

ps aux | grep weewx
root      5298  0.1  2.6 166124 55040 ?        S    Jul07   1:42 python /usr
/bin/weewxd --daemon --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf


My /etc/weewx/weewx.conf is supposed to save StdReport to 
    HTML_ROOT = /var/www/html/belchertownweather/weewx



Yet in /var/log/syslog I can see weewx is saving it to 
Jul  8 10:45:15 weewx[5298]: copygenerator: copied 0 files to /var/www/html/
weewx

Again, if I run it manually via
sudo /usr/share/weewxd /etc/weewx/weewx.conf

Then StdReport does this (as it should):
Jul  8 11:05:21 xenon weewx[13620]: reportengine: copied 9 files to /var/www
/html/belchertownweather/weewx



I'm very confused as to what's going on and what I'm missing with restoring 
a backup onto a new server. 


On Saturday, July 8, 2017 at 10:25:34 AM UTC-4, Pat wrote:
>
> Hey guys, I'm moving from CentOS to Ubuntu 16.04 for my weewx setup. I've 
> installed the weewx package and all defaults worked fine. I then moved the 
> /etc/weewx dir to /etc/weewx-dist just do I had a copy. I then copied over 
> my custom driver and /etc/weewx/ which includes my weewx.conf for MySQL, 
> and other files. When I start the weewx service it's still doing the 
> Simulator data and logging to the default sqlite db. 
>
> I've done a manual weewxd command with /usr/share/weewxd 
> /etc/weewx/weewx.conf and it works as it should. Loads my driver and 
> connects to MySQL. 
>
> I checked /etc/init.d/weewx and saw that it should be calling this same 
> config file. WEEWX_CFG=/etc/weewx/weewx.conf
>
> If it's not loading my restored /etc/weewx/weewx.conf, then what is it 
> loading? Any thoughts on what I'm missing?
>

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to