[weewx-user] Re: Upgrade from 2.6.3 to 3.8.0 issues
Hi All, After examining the directory structure, it appears that original install was not done with setup.py. I had used the Debian install procedure. I attempted to update with the same but still go stuck accessing the archive. Decided "enough" and backed up my customization and weewx.sdb. Did a uninstall and made sure everything was gone. Did a fresh Debian install, let it build a new DB(this took awhile). I made sure everything was working. Moved my original DB over and let it update also. So far so good running the stock config and skins. I'll slowly start adding in my customization one at a time to ensure they work. I guess my old version was just that.. Too old for the update to work correctly. Thanks, TonyF On Saturday, November 25, 2017 at 11:30:22 AM UTC-8, Tony F wrote: > > Thanks Gary, > > I used procedure for setup.py to attempt upgrade. I unzipped and copied > the upgrade package over to /weewx-3.8.0 > - modified setup.cfg > home = /etc/weewx<- location of my old weewx install > ./setup.py build > sudo ./setup.py install > > It did it's thing, I check to make sure my old weewx.conf was saved. > Looked like it worked! > Manually started weewx > > /etc/init.d/weewx start > > I checked syslog and it appeared to be running. Initially FTP could not > connect to my webserver(which is a third party site) I checked and found > out it > was down at the time. Eventually it was able to connect and update the > webpage. > > Then I checked the website a few hours later and noticed it hadnt been > updated. Checked syslog and it was complaining as noted. > I attempted a restart a number of times and even a power cycle on the PI > but still will not start correctly. > > I ran weewx_debug and attached the output for analysis. > > > > TonyF > > > on Saturday, November 25, 2017 at 12:10:35 AM UTC-8, gjr80 wrote: > > Sorry, that last sentence should read: >> >> As an aside, the weeWX version number logged during startup is hard coded >> in the weeWX source and not necessarily the version read from weewx.conf, >> that being said I would expect weeWX 2.x to complain loudly if it was >> forced to use a weeWX 3.x config file. >> >> Gary >> >> -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[weewx-user] Re: Upgrade from 2.6.3 to 3.8.0 issues
Thanks Gary, I used procedure for setup.py to attempt upgrade. I unzipped and copied the upgrade package over to /weewx-3.8.0 - modified setup.cfg home = /etc/weewx<- location of my old weewx install ./setup.py build sudo ./setup.py install It did it's thing, I check to make sure my old weewx.conf was saved. Looked like it worked! Manually started weewx /etc/init.d/weewx start I checked syslog and it appeared to be running. Initially FTP could not connect to my webserver(which is a third party site) I checked and found out it was down at the time. Eventually it was able to connect and update the webpage. Then I checked the website a few hours later and noticed it hadnt been updated. Checked syslog and it was complaining as noted. I attempted a restart a number of times and even a power cycle on the PI but still will not start correctly. I ran weewx_debug and attached the output for analysis. TonyF on Saturday, November 25, 2017 at 12:10:35 AM UTC-8, gjr80 wrote: Sorry, that last sentence should read: > > As an aside, the weeWX version number logged during startup is hard coded > in the weeWX source and not necessarily the version read from weewx.conf, > that being said I would expect weeWX 2.x to complain loudly if it was > forced to use a weeWX 3.x config file. > > Gary > > -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. weewx.debug Description: Binary data
[weewx-user] Upgrade from 2.6.3 to 3.8.0 issues
Hi, Finally broke down and updated my weewx running on a raspberry pi from old version 2.6.3 to 3.8.0 Looked like everything was working but then a few hours later it just stopped. I cannot get it to stay running. Noticed that syslog says I am running version 2.6.3 ??? But when I look in weewx.conf it says 3.8.0. I thought my serial interface was toast so I connected the VantageVue to a PC and it works just fine. Since it could be my GPO ttl/rs232 interface on the Pi, I connected a USB to rs232 converter and changed weewx.conf to use this. Still wont stay up. Any help would be appreciated. Thanks, TonyF >From syslog: Nov 24 21:45:49 localhost weewx[2273]: wxengine: Initializing weewx version 2.6.3 Nov 24 21:45:49 localhost weewx[2273]: wxengine: Using Python 2.7.3 (default, Mar 18 2014, 05:13:23) #012[GCC 4.6.3] Nov 24 21:45:49 localhost weewx[2273]: wxengine: pid file is /var/run/weewx.pid Nov 24 21:45:50 localhost weewx[2275]: wxengine: Using configuration file /etc/weewx/weewx.conf Nov 24 21:45:50 localhost weewx[2275]: wxengine: Loading station type Vantage (weewx.drivers.vantage) Nov 24 21:45:50 localhost weewx[2275]: vantage: Opened up serial port /dev/ttyUSB0, baudrate 19200 Nov 24 21:45:50 localhost weewx[2275]: vantage: successfully woke up console Nov 24 21:45:50 localhost weewx[2275]: wxengine: Unable to open WX station hardware: 'archive_database' -- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.