I upgraded b13 to b16 and didn't see anything unexpected other than what 
looks like a pre-configuration weewx.conf.4.0.0b16 file in /home/weewx - 
the actual upgrade looked ok to me here with python3 and runs fine.

Here's a transcript.
Note the 'bin.4.0.0b13' directory and 'weewx.conf.4.0.0b13' file were 
stashed manually by me before upgrading, just in case it went sideways.

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-development" 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-development/16285899-21fd-4968-a9e0-3f000c74f793%40googlegroups.com.
# build
root@debian:~/wee4/weewx# python3 setup.py build
running build
running build_py
copying bin/weewx/__init__.py -> build/lib/weewx
copying bin/weewx/engine.py -> build/lib/weewx
copying bin/weewx/accum.py -> build/lib/weewx
copying bin/weewx/wxservices.py -> build/lib/weewx
copying bin/weeutil/logger.py -> build/lib/weeutil
copying bin/weecfg/__init__.py -> build/lib/weecfg
running build_scripts

# install
root@debian:~/wee4/weewx# python3 setup.py install
running install
running build
running build_py
running build_scripts
running install_lib
copying build/lib/weewx/__init__.py -> /home/weewx/bin/weewx
copying build/lib/weewx/engine.py -> /home/weewx/bin/weewx
copying build/lib/weewx/accum.py -> /home/weewx/bin/weewx
copying build/lib/weewx/wxservices.py -> /home/weewx/bin/weewx
copying build/lib/weeutil/logger.py -> /home/weewx/bin/weeutil
copying build/lib/weecfg/__init__.py -> /home/weewx/bin/weecfg
creating /home/weewx/bin/user
copying build/lib/user/__init__.py -> /home/weewx/bin/user
copying build/lib/user/extensions.py -> /home/weewx/bin/user
byte-compiling /home/weewx/bin/weewx/__init__.py to __init__.cpython-38.pyc
byte-compiling /home/weewx/bin/weewx/engine.py to engine.cpython-38.pyc
byte-compiling /home/weewx/bin/weewx/accum.py to accum.cpython-38.pyc
byte-compiling /home/weewx/bin/weewx/wxservices.py to wxservices.cpython-38.pyc
byte-compiling /home/weewx/bin/weeutil/logger.py to logger.cpython-38.pyc
byte-compiling /home/weewx/bin/weecfg/__init__.py to __init__.cpython-38.pyc
byte-compiling /home/weewx/bin/user/__init__.py to __init__.cpython-38.pyc
byte-compiling /home/weewx/bin/user/extensions.py to extensions.cpython-38.pyc
removing '/home/weewx/bin/user' (and everything under it)
running install_data
copying weewx.conf -> /home/weewx/weewx.conf.4.0.0b16
copying docs/accum.md -> /home/weewx/docs
copying docs/xtypes.md -> /home/weewx/docs
copying docs/changes.txt -> /home/weewx/docs
copying docs/setup.htm -> /home/weewx/docs
copying docs/js/cash.min.js -> /home/weewx/docs/js
copying docs/js/tocbot-4.3.1.min.js -> /home/weewx/docs/js
copying docs/images/pipeline.png -> /home/weewx/docs/images
copying util/udev/rules.d/weewx.rules -> /home/weewx/util/udev/rules.d
copying util/init.d/weewx-multi -> /home/weewx/util/init.d
copying util/apache/conf.d/weewx.conf -> /home/weewx/util/apache/conf.d
running install_egg_info
running egg_info
creating bin/weewx.egg-info
writing bin/weewx.egg-info/PKG-INFO
writing dependency_links to bin/weewx.egg-info/dependency_links.txt
writing requirements to bin/weewx.egg-info/requires.txt
writing top-level names to bin/weewx.egg-info/top_level.txt
writing manifest file 'bin/weewx.egg-info/SOURCES.txt'
reading manifest file 'bin/weewx.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '**/junk*'
writing manifest file 'bin/weewx.egg-info/SOURCES.txt'
Copying bin/weewx.egg-info to /home/weewx/bin/weewx-4.0.0b16-py3.8.egg-info
running install_scripts
changing mode of /home/weewx/bin/wee_import to 755
changing mode of /home/weewx/bin/wee_database to 755
changing mode of /home/weewx/bin/weewxd to 755
changing mode of /home/weewx/bin/wee_reports to 755
changing mode of /home/weewx/bin/wee_config to 755
changing mode of /home/weewx/bin/wunderfixer to 755
changing mode of /home/weewx/bin/wee_debug to 755
changing mode of /home/weewx/bin/wee_device to 755
changing mode of /home/weewx/bin/wee_extension to 755
Saved backup to /home/weewx/weewx.conf.20200315091334
Saved configuration to /home/weewx/weewx.conf


# check what's there now - I created the bin.4.0.0b13 and weewx.conf.4.0.0b13 
files myself before upgrading
#   => note the unexpected weewx.conf.4.0.0b16 that was created (looks like a 
blank pre-configuration template)
root@debian:~/wee4/weewx# cd /home/weewx
root@debian:/home/weewx# ls
.   archive  bin.4.0.0b13  examples    LICENSE.txt  README     saratoga   skins 
 wee_device--info.txt  weewx.conf.20200315091334  weewx.conf.4.0.0b16
..  bin      docs          .gitignore  public_html  README.md  setup.pyc  util  
 weewx.conf            weewx.conf.4.0.0b13        weewx.sdb

# anything funny under bin ?
root@debian:/home/weewx# ls bin
.   daemon.py    schemas  user    wee_config    weedb      wee_device     
weeimport   weeplot      weeutil  weewx-4.0.0b13-py3.8.egg-info  weewxd
..  __pycache__  six.py   weecfg  wee_database  wee_debug  wee_extension  
wee_import  wee_reports  weewx    weewx-4.0.0b16-py3.8.egg-info  wunderfixer

# stop/restart
root@debian:/home/weewx# cd -
/root/wee4/weewx

root@debian:~/wee4/weewx# service weewx stop
[ ok ] Stopping weewx weather system: weewx..

root@debian:~/wee4/weewx# service weewx start
[ ok ] Starting weewx weather system: weewx.

# verify it started
root@debian:~/wee4/weewx# ps axu|grep weewx
root      7776 71.8 14.4  69880 17816 ?        Sl   09:14   0:05 
/usr/local/bin/python3 /home/weewx/bin/weewxd --daemon 
--pidfile=/var/run/weewx.pid /home/weewx/weewx.conf
root      7800  0.0  0.6   3832   800 pts/0    S+   09:14   0:00 grep weewx

Reply via email to