Yes - I think the issue is only with the update process and there are just 
too many potential situations for the update script to be comprehensive.
I would suggest you replace the old file before the next update.  I have 
previously shot myself in the foot by "cleaning up" after an installation - 
things I learned to do with rpm installs don't work with .debs.

On Tuesday, 6 April 2021 at 10:56:43 am UTC+10 PJO wrote:

> Well, in principle one *should *be able to delete an old init.d file; my 
> understanding is that your original advice was correct. The problem appears 
> to have been an assumption that the init.d file would still be in place and 
> available for use by the update procedure. I can restore it if necessary 
> before the next update.
> On Tuesday, April 6, 2021 at 1:31:49 AM UTC+1 Cameron D wrote:
>
>> Hi PJO,
>> I have changed the "advice" in the wiki relating to custom systemd unit 
>> files and init.d files. Sorry.  I can't recall the situation that led to 
>> that advice, but once the custom unit file is working properly then the 
>> init.d file is simply ignored.
>>
>> On Sunday, 4 April 2021 at 10:57:35 pm UTC+10 PJO wrote:
>>
>>> Yes, you're right I removed /etc/init.d/weewx -- when I switched to 
>>> using systemd ; I didn't realize this would still be needed. In fact, I 
>>> followed advice here <https://github.com/weewx/weewx/wiki/systemd> that 
>>> leaving this in place was not a good idea.
>>>  
>>> Attached are copies of the original and bad weewx.conf files and a file 
>>> listing (from which I've deleted git related things to do with the skin 
>>> I've been working on).
>>>
>>> I didn't mention it earlier because I hadn't realized it yet, but fyi 
>>> other problems I encountered were
>>>
>>> 1. issues with my copy of sensors.inc from the Seasons skin (see issue 
>>> <https://github.com/gjr80/weewx-gw1000/issues/35>)
>>> 2. as result of my not checking things properly before restarting I 
>>> ended up with some bad records until I reverted to the original weewx.conf 
>>> file because of a changed schema
>>>
>>> Lessons learned: switch to Seasons before running the update if using 
>>> sensors.inc; verify weewx.conf changes properly (first time I've had an 
>>> issue).
>>>
>>> On Sunday, April 4, 2021 at 1:25:50 PM UTC+1 t...@tom.org wrote:
>>>
>>>> Interesting that Belchertown 1.2 is working for you. Everything works 
>>>> great on 4.4.0 but reporting (downloading the Aeris forecast) fails on 
>>>> 4.5.1. I filed a bug in the Belchertown GitHub repo.
>>>>
>>>> On Saturday, April 3, 2021 at 11:44:31 PM UTC-4 nevilled...@gmail.com 
>>>> wrote:
>>>>
>>>>> Hi
>>>>> Just updated my system to 4.5.1 without problems.
>>>>> For information also running Belchertown skin v 1.2 python 3 with OWFS 
>>>>> rain bucket...... all good
>>>>>
>>>>> Neville
>>>>>
>>>>> On Sunday, April 4, 2021 at 12:19:58 PM UTC+10 mksm...@gmail.com 
>>>>> wrote:
>>>>>
>>>>>> I am sure about this finding 
>>>>>> when using "sudo nano /etc/weewx/weewx.conf" the file shows 4.4.0
>>>>>> syslog shows "INFO __main__: Starting up weewx version 4.5.1"
>>>>>> web page also shows 4.5.1
>>>>>>
>>>>>> On Sunday, April 4, 2021 at 4:53:54 AM UTC+3 tke...@gmail.com wrote:
>>>>>>
>>>>>>> Hmmm, the upgrade process should have upgraded the version number in 
>>>>>>> weewx.conf. Are you sure you're looking at the right one? If you did a 
>>>>>>> Debian install it should be at /etc/weewx/weewx.conf.
>>>>>>>
>>>>>>> There were no changes to weewx.conf, so, if it comes to it, you can 
>>>>>>> just change the version number. But, it would be useful to know what 
>>>>>>> happened.
>>>>>>>
>>>>>>> On Sat, Apr 3, 2021 at 6:44 PM Mks Mk <mksm...@gmail.com> wrote:
>>>>>>>
>>>>>>>> the update to 4.5.1 worked for me this time but have one issue that 
>>>>>>>> weewx.conf shows  version  4.4.0 but the generated web page shows 
>>>>>>>> WeeWX 
>>>>>>>> version 4.5.1
>>>>>>>> can I change weewx.conf line to 4.5.1 or keep it as is?
>>>>>>>>
>>>>>>>> On Friday, April 2, 2021 at 11:32:40 PM UTC+3 tke...@gmail.com 
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Version 4.5.1 out.
>>>>>>>>>
>>>>>>>>> My apologies.
>>>>>>>>>
>>>>>>>>> On Fri, Apr 2, 2021 at 1:12 PM Tom Keffer <tke...@gmail.com> 
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> My mistake. I knew there was a reason why we didn't transition 
>>>>>>>>>> the old wview schema to the new V4 style!
>>>>>>>>>>
>>>>>>>>>> I should have a dot-dot release out later today. 
>>>>>>>>>>
>>>>>>>>>> -tk
>>>>>>>>>>
>>>>>>>>>> On Fri, Apr 2, 2021 at 12:14 PM Mks Mk <mksm...@gmail.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> the upgrade to 4.5 from 4.4 failed and weewx is broken please 
>>>>>>>>>>> advice
>>>>>>>>>>> used these commands for upgrade
>>>>>>>>>>> sudo apt update
>>>>>>>>>>> apt list --upgradable  (4.5 was showing)
>>>>>>>>>>> sudo apt full-upgrade
>>>>>>>>>>> then I answered "N" to the upgrade select to keep my old files
>>>>>>>>>>>
>>>>>>>>>>> Apr  2 21:31:49 raspberrypi systemd[1]: Starting LSB: weewx 
>>>>>>>>>>> weather system...
>>>>>>>>>>> Apr  2 21:31:49 raspberrypi weewx[1049]: Starting weewx weather 
>>>>>>>>>>> system: weewxTraceback (most recent call last):
>>>>>>>>>>> Apr  2 21:31:49 raspberrypi weewx[1049]:   File 
>>>>>>>>>>> "/usr/share/weewx/weewxd", line 29, in <module>
>>>>>>>>>>> Apr  2 21:31:49 raspberrypi weewx[1049]:     import 
>>>>>>>>>>> user.extensions
>>>>>>>>>>> Apr  2 21:31:49 raspberrypi weewx[1049]:   File 
>>>>>>>>>>> "/usr/share/weewx/user/extensions.py", line 20, in <module>
>>>>>>>>>>> Apr  2 21:31:49 raspberrypi weewx[1049]:     schema_extended = 
>>>>>>>>>>> schemas.wview.schema + [('lightning_strikes', 'REAL'), 
>>>>>>>>>>> ('avg_distance', 
>>>>>>>>>>> 'REAL')]
>>>>>>>>>>> Apr  2 21:31:49 raspberrypi weewx[1049]: TypeError: unsupported 
>>>>>>>>>>> operand type(s) for +: 'dict' and 'list'
>>>>>>>>>>> Apr  2 21:31:49 raspberrypi weewx[1049]:  failed!
>>>>>>>>>>> Apr  2 21:31:49 raspberrypi systemd[1]: weewx.service: Control 
>>>>>>>>>>> process exited, code=exited, status=1/FAILURE
>>>>>>>>>>> Apr  2 21:31:49 raspberrypi systemd[1]: weewx.service: Failed 
>>>>>>>>>>> with result 'exit-code'.
>>>>>>>>>>> Apr  2 21:31:49 raspberrypi systemd[1]: Failed to start LSB: 
>>>>>>>>>>> weewx weather system.
>>>>>>>>>>> On Friday, April 2, 2021 at 6:11:42 PM UTC+3 tke...@gmail.com 
>>>>>>>>>>> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> *Change log*
>>>>>>>>>>>>
>>>>>>>>>>>> The utility wee_database has new options --add-column, 
>>>>>>>>>>>> --rename-column, and
>>>>>>>>>>>> --drop-columns for adding, renaming, and deleting columns in the 
>>>>>>>>>>>> database.
>>>>>>>>>>>>
>>>>>>>>>>>> New optional tag ".series()", for creating and formatting series 
>>>>>>>>>>>> in templates.
>>>>>>>>>>>> See the document series_tags.md in the docs subdirectory. This is 
>>>>>>>>>>>> still
>>>>>>>>>>>> experimental and subject to change! Addresses issue #341.
>>>>>>>>>>>>
>>>>>>>>>>>> New optional tag ".json()" for formatting results as JSON.
>>>>>>>>>>>>
>>>>>>>>>>>> New optional tag ".round()". Useful for rounding results of .raw 
>>>>>>>>>>>> and .json tags.
>>>>>>>>>>>>
>>>>>>>>>>>> Improved performance when calculating series using aggregation 
>>>>>>>>>>>> periods that are
>>>>>>>>>>>> multiples of a day.
>>>>>>>>>>>>
>>>>>>>>>>>> Changed NOAA reports to use the 'normalized_ascii' encoding 
>>>>>>>>>>>> instead of 'utf8'
>>>>>>>>>>>> (which did not display correctly for most browsers). Fixes issue 
>>>>>>>>>>>> #646.
>>>>>>>>>>>>
>>>>>>>>>>>> Plots longer than 2 years use a 6 month time increment.
>>>>>>>>>>>>
>>>>>>>>>>>> Uploads to PWSWeather and WOW now use HTTPS. Fixes issue #650.
>>>>>>>>>>>>
>>>>>>>>>>>> Fixed bug that prevented the Vantage driver from waiting before a 
>>>>>>>>>>>> wakeup retry.
>>>>>>>>>>>> Thanks to user Les Niles!
>>>>>>>>>>>>
>>>>>>>>>>>> Changed the way of expressing the old "wview" schema to the new V4 
>>>>>>>>>>>> way.
>>>>>>>>>>>> Hopefully, this will lead to fewer support issues. Fixes issue 
>>>>>>>>>>>> #651.
>>>>>>>>>>>>
>>>>>>>>>>>> Fixed problem where iterating over a time period without an 
>>>>>>>>>>>> aggregation would
>>>>>>>>>>>> wrongly include the record on the left.
>>>>>>>>>>>>
>>>>>>>>>>>> Fixed bug that caused the incorrect label to be applied to plots 
>>>>>>>>>>>> where the
>>>>>>>>>>>> aggregation type changes the unit. Fixes issue #654.
>>>>>>>>>>>>
>>>>>>>>>>>> Plots now locate the x-coordinate in the middle of the aggregation 
>>>>>>>>>>>> interval for
>>>>>>>>>>>> all aggregation types (not just min, max, avg). Revisits PR #232.
>>>>>>>>>>>>
>>>>>>>>>>>> Added new time units 'unix_epoch_ms' and 'unix_epoch_ns', which 
>>>>>>>>>>>> are unix epoch
>>>>>>>>>>>> time in milliseconds and nanoseconds, respectively.
>>>>>>>>>>>>
>>>>>>>>>>>> The FTP uploader now calculates and saves a hash value for each 
>>>>>>>>>>>> uploaded file.
>>>>>>>>>>>> If it does not change, the file is not uploaded, resulting in 
>>>>>>>>>>>> significant
>>>>>>>>>>>> time savings. PR #655. Thanks to user Karen!
>>>>>>>>>>>>
>>>>>>>>>>>> Updated the version of six.py included with WeeWX to 1.15.0. Fixes 
>>>>>>>>>>>> issue #657.
>>>>>>>>>>>>
>>>>>>>>>>>> Option aggregate_interval can now be specified by using one of the 
>>>>>>>>>>>> "shortcuts",
>>>>>>>>>>>> that is, 'hour', 'day', 'week', 'month', or 'year'.
>>>>>>>>>>>>
>>>>>>>>>>>> Options "log_success" and "log_failure" are now honored by the 
>>>>>>>>>>>> StdArchive
>>>>>>>>>>>> service.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> -- 
>>>>>>>>>>> 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+...@googlegroups.com.
>>>>>>>>>>> To view this discussion on the web visit 
>>>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/0dea450f-7d87-4470-a552-634375db58aan%40googlegroups.com
>>>>>>>>>>>  
>>>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/0dea450f-7d87-4470-a552-634375db58aan%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>>>>> .
>>>>>>>>>>>
>>>>>>>>>> -- 
>>>>>>>> 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+...@googlegroups.com.
>>>>>>>>
>>>>>>> To view this discussion on the web visit 
>>>>>>>> https://groups.google.com/d/msgid/weewx-user/356eef2d-048d-44e5-80d5-afc1e8e46e54n%40googlegroups.com
>>>>>>>>  
>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/356eef2d-048d-44e5-80d5-afc1e8e46e54n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>>
>>>>>>>

-- 
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/bb43b98b-4c85-4134-b399-62739ee759aan%40googlegroups.com.

Reply via email to