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 <mercuryst...@gmail.com>
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 <gjroder...@gmail.com> 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
> weewx-user+unsubscr...@googlegroups.com.
> > 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 weewx-user+unsubscr...@googlegroups.com.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to