> Mark - you're copping an attitude Yes I was and I apologize. I got frustrated because alll your questions were answered earlier in the thread. I do appreciate your effort to try to help me.
On Monday, June 24, 2024 at 10:28:44 PM UTC-7 vince wrote: > Mark - you're copping an attitude so I'm going to stop trying to help. Go > wild. > > FWIW - if you run the command at my repo at > https://github.com/vinceskahan/weewx-pipinstall it will do a > start-to-finish installation of v5 pip weewx in simulator mode, with nginx, > rsyslog, and logrotate installed and configured to work together as a > whole. One command to install a working setup. Believe it or not. Your > call. > > If you want to query your system to see what you did ages ago, try the > command at my repo at https://github.com/vinceskahan/weewx-quickconfig > which attempts to figure things out. > > Or don't use them. I'm done here. > > > On Monday, June 24, 2024 at 6:48:26 PM UTC-7 Mark Hahn wrote: > >> > What are 'all' the commands you executed ? >> Are you serious? I've been working on this for hours. >> >> > You should not need to 'change the location inside that script' if you >> are following the instructions correctly. >> I followed the pip install to the letter. See the commands I listed post >> before last. >> >> > are you installing v5 pip on a clean no-weewx system ? >> Read the thread. I took michael.k's suggestion. >> >> > are you upgrading a v4 setup to v5 pip ? >> Read the thread. I said "I installed weewx long ago (10 yrs?). It is >> version 4.10.2" >> >> > are you upgrading a v4 dpkg to a v5 pip ? >> The subject of the thread is "want to upgrade to 5.0, don't know original >> install method" >> >> > People have done hundreds (thousands?) of pip installations by now. >> And none had any problems. >> >> On Monday, June 24, 2024 at 6:14:39 PM UTC-7 vince wrote: >> >>> Mark you're going to have to be much less concise please. What are >>> 'all' the commands you executed ? What does the output look like end to >>> end ? >>> >>> What exactly are you doing ? >>> >>> - are you installing v5 pip on a clean no-weewx system ? >>> - or are you upgrading a v4 setup to v5 pip ? >>> - or are you upgrading a v4 dpkg to a v5 pip ? >>> >>> You should not need to 'change the location inside that script' if you >>> are following the instructions correctly. You have to be doing something >>> different or missing a step or several. People have done hundreds >>> (thousands?) of pip installations by now. >>> >>> Lets take a step back and please tell us where you're starting, what >>> you've done step-by-step, and what each step's output looked like. >>> >>> >>> On Monday, June 24, 2024 at 5:26:07 PM UTC-7 Mark Hahn wrote: >>> >>>> I did ... >>>> # Create the virtual environment python3 -m venv ~/weewx-venv # >>>> Activate the WeeWX virtual environment source ~/weewx-venv/bin/activate >>>> # Install WeeWX into the virtual environment python3 -m pip install >>>> weewx >>>> >>>> On Monday, June 24, 2024 at 5:23:27 PM UTC-7 Mark Hahn wrote: >>>> >>>>> > Activate the venv first >>>>> I followed the pip instructions carefully so I'm 99% sure I did " >>>>> source ~/weewx-venv/bin/activate". >>>>> >>>>> On Monday, June 24, 2024 at 5:04:16 PM UTC-7 vince wrote: >>>>> >>>>>> You used pip. Activate the venv first. Always. >>>>>> >>>>>> On Monday, June 24, 2024 at 5:01:38 PM UTC-7 Mark Hahn wrote: >>>>>> >>>>>>> As suggested I did a separate install using pip. It was very >>>>>>> quick. "weectl device --clear-memory" fixed my davis problem. >>>>>>> >>>>>>> I decided to run the new 5.0. I copied over the conf file. I >>>>>>> didn't need to copy the db file. Weewxd works great. >>>>>>> >>>>>>> But now I want to run it as a daemon. The pip install instructions >>>>>>> said to use "sh ~/weewx-data/scripts/setup-daemon.sh". I couldn't >>>>>>> run this because weewx-data is in the .env folder, not in root. I went >>>>>>> to >>>>>>> the weewx-data in .env and ran /setup-daemon.sh. I had to change the >>>>>>> location inside that script to also use weewx-data in .env. >>>>>>> >>>>>>> The daemon install gave no errors but when I run "systemctl start >>>>>>> weewx" I get this error ... >>>>>>> >>>>>>> /etc/systemd/system/weewx.service:12: Executable "WEEWX_PYTHON" not >>>>>>> found in path >>>>>>> "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" >>>>>>> weewx.service: Unit configuration has fatal error, unit will not be >>>>>>> started. >>>>>>> >>>>>>> Can anyone tell me how to fix this? Meanwhile I'll run in not as a >>>>>>> daemon but obviously I've got to fix this. >>>>>>> On Monday, June 24, 2024 at 11:49:27 AM UTC-7 michael.k...@gmx.at >>>>>>> wrote: >>>>>>> >>>>>>>> >>>>>>>> I'd recommend you to leave your old installation untouched, install >>>>>>>> weewx5 the pip way in a venv together with your extensions, a copy of >>>>>>>> your >>>>>>>> database and config and see if it works out. When the new installation >>>>>>>> works as desired, just switch. >>>>>>>> Mark Hahn schrieb am Montag, 24. Juni 2024 um 20:10:20 UTC+2: >>>>>>>> >>>>>>>>> I should say that I want to upgrade to get commands like "weectl >>>>>>>>> device --dump". Are there equivalent commands in 4.10.2? I need >>>>>>>>> those >>>>>>>>> commands to follow instructions in " Troubleshooting the Davis >>>>>>>>> Vantage station" page of wiki. My other post here about my davis >>>>>>>>> troubles >>>>>>>>> is at https://groups.google.com/g/weewx-user/c/DMByZT6hyFM. >>>>>>>>> >>>>>>>>> On Monday, June 24, 2024 at 11:05:06 AM UTC-7 Mark Hahn wrote: >>>>>>>>> >>>>>>>>>> I installed weewx long ago (10 yrs?). It is version 4.10.2. I >>>>>>>>>> don't have any idea how I installed it. The is nothing related to >>>>>>>>>> weewx in >>>>>>>>>> my /root directory. The is no weewx directory in /home. >>>>>>>>>> >>>>>>>>>> Any ideas on how I should upgrade to 5.0? Also, are there >>>>>>>>>> breaking changes from 4.10.2 to 5.0? >>>>>>>>>> >>>>>>>>> -- 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. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/a0e59298-ae1a-424e-b1b6-9963f7dc5e0en%40googlegroups.com.