On Monday, January 1, 2018 at 9:33:55 AM UTC-5, Cycle London wrote: > > Now I seem to have broken the entire thing. I decided to try the python > installation method, so ran `apt-get remove weewx` and then downloaded the > tarball to try a manual installation. > > This time, there is content in /var/www/html but hardly anything (except > user) under /usr/share/weewx. Everything is under /home but even when I > place the new driver into /usr/share/weewx/user and modify the > configuration file, I still get... >
welcome to "unix is user-friendly, it is just picky about who its friends are" there are a few things you should understand about debian linux and about python. 1) setup.py and apt-get are not compatible you really should use one or the other. the weewx wiki has instructions about how to change from one to the other. https://github.com/weewx/weewx/wiki/How%20to%20convert%20from%20setup.py%20install%20to%20debian%20install 2) how to use apt-get apt-get install weewx apt-get remove weewx apt-get purge weewx install does both initial installation as well as updates (but not upgrades) three different commands which do three different things. remove does not destroy any configuration files, especially not any that you have modified. it also does not remove any debconf values. purge deletes all configuration files and debconf values. it does not touch any weewx data (nominally /var/lib/weewx/weewx.sdb) for the state diagrams, see: https://www.debian.org/doc/debian-policy/#maintainer-script-flowcharts we try to test installer stuff, but as you can see the surface area for testing is massive. so if you can clarify any procedures you make that result in unexpected results, that makes it more likely that someone will fix it. 3) python coders are lazy, and that is a good thing weewx does not create a database until it has to use it weewx does not create the html directory or any files in that directory until it has something to write. in a default installation, that means you will not see anything until after the first archive interval (nominally 5 minutes, but it depends on your configuration). 4) you almost never need to reinstall the operating system. linux is not windows, no matter how much certain redhat employees would like to make it so. hope that helps! m -- 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.
