As always.....another good reminder to NOT run things as 'root', if you 
don't have to.

On Saturday 27 January 2024 at 5:26:01 pm UTC+11 gjr80 wrote:

> The problem is encountered when using the extension installer/uninstaller 
> weectl 
> extension. If you install WeeWX v5 via a package install and then use weectl 
> extension install to install an extension, some or all of the extension 
> files may be installed in an incorrect location. At this stage nothing 
> destructive has occurred to your system other than the extension files 
> perhaps being in the wrong location (and almost certainly the extension 
> itself will not work with WeeWX - though WeeWX functions normally). If you 
> then happen to uninstall the extension (perhaps because it seemingly does 
> not work) with weectl extension uninstall that is when the uninstaller 
> might delete system files.
>
> So in these circumstances we recommend against installing or uninstalling 
> extensions with weectl extension. Manual installs/uninstalls of 
> extensions will be fine, it is just weectl extension that experiences 
> problems. Also, if you have upgraded from an earlier WeeWX package install 
> and the extension concerned was already installed (ie it was not installed 
> using weectl extension) then you will be fine.
>
> This issue will be fixed in v5.0.1 which should be released real soon.
>
> Gary 
>
> On Saturday 27 January 2024 at 16:09:06 UTC+10 [email protected] wrote:
>
>> I'm using weewx 5.0.0-1 (which I upgraded through Debian apt) and the 
>> GW1000 driver. Does that mean I should not install the driver via 
>> wee_extension until a new version comes out?
>>
>> Thanks...
>>
>>     Andrew 
>> On Wednesday, January 17, 2024 at 11:30:24 AM UTC-7 Tom Keffer wrote:
>>
>>> We have discovered a potentially serious bug. The specific situation is 
>>> as follows:
>>>
>>>    - A V4.x configuration file;
>>>    - Package installer;
>>>    - Install an extension;
>>>    - Uninstall the extension.
>>>
>>> Under these circumstances, the extension uninstaller could remove system 
>>> files!
>>>
>>> If you are using a V4.x configuration file, please do not install any 
>>> extensions until we get a fix out.
>>>
>>> Apologies.
>>>
>>> -tk
>>>
>>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d21285cb-9342-44f5-af13-99b8d145e887n%40googlegroups.com.

Reply via email to