Thanks that fixed it

On Wednesday, 23 January 2019 01:05:59 UTC, Thomas Keffer wrote:
>
> Yup. It looks like wee_database lost executable permission somewhere along 
> the way. I've corrected it in commit 1e9b0 
> <https://github.com/weewx/weewx/commit/1e9b0a0c1c38631db1e6d0d919096a8e1ff45149>
> .
>
> You can fix your installation with
>
> *sudo chmod +x /usr/share/weewx/wee_database*
>
> -tk
>
>
> On Tue, Jan 22, 2019 at 4:53 PM mercurystorm <[email protected] 
> <javascript:>> wrote:
>
>> root@raspberrypi:/usr/share/weewx# ls -l `which wee_database`
>> total 172
>> -rw-r--r-- 1 root root  2891 Jan 22 17:47 daemon.py
>> -rw-r--r-- 1 root root  2715 Jan 23 00:32 daemon.pyc
>> drwxr-xr-x 2 root root  4096 Jan 23 00:32 schemas
>> drwxr-xr-x 3 root root  4096 Jan 23 00:36 user
>> drwxr-xr-x 2 root root  4096 Jan 23 00:32 weecfg
>> -rwxr-xr-x 1 root root  5414 Jan 22 17:47 wee_config
>> -rw-r--r-- 1 root root 36533 Jan 22 17:47 wee_database
>> drwxr-xr-x 2 root root  4096 Jan 23 00:32 weedb
>> -rwxr-xr-x 1 root root 16154 Jan 22 17:47 wee_debug
>> -rwxr-xr-x 1 root root  1924 Jan 22 17:47 wee_device
>> -rwxr-xr-x 1 root root  3016 Jan 22 17:47 wee_extension
>> drwxr-xr-x 2 root root  4096 Jan 23 00:32 weeimport
>> -rwxr-xr-x 1 root root 31175 Jan 22 17:47 wee_import
>> drwxr-xr-x 2 root root  4096 Jan 23 00:35 weeplot
>> -rwxr-xr-x 1 root root  2171 Jan 22 17:47 wee_reports
>> drwxr-xr-x 2 root root  4096 Jan 23 00:36 weeutil
>> drwxr-xr-x 3 root root  4096 Jan 23 00:35 weewx
>> -rwxr-xr-x 1 root root  2566 Jan 22 17:47 weewxd
>> -rwxr-xr-x 1 root root 21132 Jan 22 17:47 wunderfixer
>> root@raspberrypi:/usr/share/weewx#
>>
>>
>> On Wednesday, 23 January 2019 00:49:55 UTC, Thomas Keffer wrote:
>>>
>>> Francis, can you check the permissions on the executables.
>>>
>>> For example,
>>>
>>> *ls -l `which wee_database`*
>>>
>>> -tk
>>>
>>>
>>> On Tue, Jan 22, 2019 at 4:45 PM Francis Yates <[email protected]> 
>>> wrote:
>>>
>>>> root@raspberrypi:~/software/weewx# systemctl stop weewx
>>>> root@raspberrypi:~/software/weewx# wee_database --drop-daily
>>>> Using configuration file /etc/weewx/weewx.conf
>>>> Using database binding 'wx_binding', which is bound to database 
>>>> 'archive_mysql'
>>>> Proceeding will delete all your daily summaries from database 'weewx'
>>>> Are you sure you want to proceed (y/n)? y
>>>> Dropping daily summary tables from 'weewx' ...
>>>> Daily summary tables dropped from database 'weewx' in 2.84 seconds
>>>> root@raspberrypi:~/software/weewx# dpkg -i weewx
>>>> weewx_3.8.2-1_all.deb    weewx_3.9.0b1-1_all.deb  weewx-sdr-master/
>>>> root@raspberrypi:~/software/weewx# dpkg -i weewx_3.9.0b1-1_all.deb
>>>> (Reading database ... 45970 files and directories currently installed.)
>>>> Preparing to unpack weewx_3.9.0b1-1_all.deb ...
>>>> Unpacking weewx (3.9.0b1-1) over (3.8.2-1) ...
>>>> Setting up weewx (3.9.0b1-1) ...
>>>>
>>>> Configuration file '/etc/weewx/weewx.conf'
>>>>  ==> Modified (by you or by a script) since installation.
>>>>  ==> Package distributor has shipped an updated version.
>>>>    What would you like to do about it ?  Your options are:
>>>>     Y or I  : install the package maintainer's version
>>>>     N or O  : keep your currently-installed version
>>>>       D     : show the differences between the versions
>>>>       Z     : start a shell to examine the situation
>>>>  The default action is to keep your current version.
>>>> *** weewx.conf (Y/I/N/O/D/Z) [default=N] ?
>>>> Installing new version of config file /etc/weewx/weewx.conf.dist ...
>>>> Installing new version of config file
>>>> /etc/weewx/logwatch/scripts/services/weewx ...
>>>> Installing new version of config file /etc/weewx/skins/Rsync/skin.conf 
>>>> ...
>>>> Installing new version of config file
>>>> /etc/weewx/skins/Standard/index.html.tmpl ...
>>>> Installing new version of config file 
>>>> /etc/weewx/skins/Standard/skin.conf ...
>>>> Installing new version of config file /etc/weewx/skins/Ftp/skin.conf ...
>>>> Installing new version of config file /etc/weewx/import/wu-example.conf 
>>>> ...
>>>> Installing new version of config file 
>>>> /etc/weewx/import/cumulus-example.conf ...
>>>> Installing new version of config file 
>>>> /etc/weewx/import/csv-example.conf ...
>>>> saving previous config file as /etc/weewx/weewx.conf-3.8.2
>>>> saving distribution config file as /etc/weewx/weewx.conf-3.9.0b1
>>>> merging previous and distribution into /etc/weewx/weewx.conf
>>>> Using configuration file /etc/weewx/weewx.conf-3.8.2
>>>> Saved configuration to /etc/weewx/weewx.conf
>>>> Processing triggers for systemd (232-25+deb9u8) ...
>>>> root@raspberrypi:~/software/weewx# wee_database --rebuld-daily
>>>> -su: /usr/bin/wee_database: Permission denied
>>>> root@raspberrypi:~/software/weewx# wee_database --rebuld-daily
>>>> -su: /usr/bin/wee_database: Permission denied
>>>> root@raspberrypi:~/software/weewx# wee_database
>>>> -su: /usr/bin/wee_database: Permission denied
>>>> root@raspberrypi:~/software/weewx# systemctl status weewx
>>>> ● weewx.service - LSB: weewx weather system
>>>>    Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled)
>>>>    Active: active (running) since Wed 2019-01-23 00:25:44 GMT; 43s ago
>>>>      Docs: man:systemd-sysv-generator(8)
>>>>    CGroup: /system.slice/weewx.service
>>>>            ├─26285 python /usr/bin/weewxd --daemon
>>>> --pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf
>>>>            └─26286 /usr/local/bin/rtl_433 -f 868.3M -R 119 -F json
>>>>
>>>> Jan 23 00:25:45 raspberrypi weewx[26285]: engine: Finished loading
>>>> service weewx.engine.StdQC
>>>> Jan 23 00:25:45 raspberrypi weewx[26285]: engine: Loading service
>>>> weewx.wxservices.StdWXCalculate
>>>> Jan 23 00:25:45 raspberrypi weewx[26285]: wxcalculate: The following
>>>> values will be calculated: barometer=software, windchill=software,
>>>> dewpoint=prefer_hardware, appTemp=prefer_hardware, rainRate=software,
>>>> windrun=prefer_h
>>>> Jan 23 00:25:45 raspberrypi weewx[26285]: wxcalculate: The following
>>>> algorithms will be used for calculations: altimeter=aaNOAA,
>>>> maxSolarRad=RS
>>>> Jan 23 00:25:45 raspberrypi weewx[26285]: engine: Finished loading
>>>> service weewx.wxservices.StdWXCalculate
>>>> Jan 23 00:25:45 raspberrypi weewx[26285]: engine: Loading service
>>>> weewx.engine.StdArchive
>>>> Jan 23 00:25:45 raspberrypi weewx[26285]: engine: Archive will use
>>>> data binding wx_binding
>>>> Jan 23 00:25:45 raspberrypi weewx[26285]: engine: Record generation
>>>> will be attempted in 'software'
>>>> Jan 23 00:25:45 raspberrypi weewx[26285]: engine: Using archive
>>>> interval of 300 seconds (software record generation)
>>>> Jan 23 00:25:45 raspberrypi weewx[26285]: engine: Use LOOP data in
>>>> hi/low calculations: 1
>>>>
>>>> root@raspberrypi:~/software/weewx# systemctl stop weewx
>>>> root@raspberrypi:~/software/weewx# wee
>>>> wee_config     wee_debug      wee_device     wee_extension  wee_import
>>>>     wee_reports    weewxd
>>>> root@raspberrypi:~/software/weewx# wee_de
>>>> wee_debug   wee_device
>>>> root@raspberrypi:~/software/weewx# wee_database
>>>> -su: /usr/bin/wee_database: Permission denied
>>>> root@raspberrypi:~/software/weewx# updatedb
>>>> root@raspberrypi:~/software/weewx# wee_database
>>>> -su: /usr/bin/wee_database: Permission denied
>>>>
>>>> On Wed, Jan 23, 2019 at 12:37 AM gjr80 <[email protected]> wrote:
>>>> >
>>>> > Should be there. What type of a WeeWX install do you have and where 
>>>> have you looked?
>>>> >
>>>> > Gary
>>>> >
>>>> > --
>>>> > You received this message because you are subscribed to a topic in 
>>>> the Google Groups "weewx-user" group.
>>>> > To unsubscribe from this topic, visit 
>>>> https://groups.google.com/d/topic/weewx-user/py_nuerC8Ss/unsubscribe.
>>>> > To unsubscribe from this group and all its topics, send an email to 
>>>> [email protected].
>>>> > For more options, visit https://groups.google.com/d/optout.
>>>>
>>>> -- 
>>>> 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.
>>>>
>>> -- 
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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.

Reply via email to