[weewx-user] Re: raspberry pi 3 and weewx fail at first hurdle

2018-05-02 Thread 'Stuart Smith' via weewx-user
ok, after your post Andrew i decided to uninstall weewx then reinstall using 
the apt-get command, this time around as you said it should i was asked for my 
location and altitude.

i then used: sudo tail -f /var/log/syslog

which gave me this:

May  2 11:52:07 raspberrypi weewx[1345]: engine: Using binding 'wx_binding' to 
database 'weewx.sdb'
May  2 11:52:07 raspberrypi weewx[1345]: manager: Starting backfill of daily 
summaries
May  2 11:52:08 raspberrypi weewx[1345]: restx: StationRegistry: Registration 
not requested.
May  2 11:52:08 raspberrypi weewx[1345]: restx: Wunderground: Posting not 
enabled.
May  2 11:52:08 raspberrypi weewx[1345]: restx: PWSweather: Posting not enabled.
May  2 11:52:08 raspberrypi weewx[1345]: restx: CWOP: Posting not enabled.
May  2 11:52:08 raspberrypi weewx[1345]: restx: WOW: Posting not enabled.
May  2 11:52:08 raspberrypi weewx[1345]: restx: AWEKAS: Posting not enabled.
May  2 11:52:08 raspberrypi weewx[1345]: engine: Starting up weewx version 3.8.0
May  2 11:52:08 raspberrypi weewx[1345]: fousb: synchronising to the weather 
station (quality=0)
May  2 11:53:25 raspberrypi weewx[1345]: fousb: unstable read: blocks differ 
for ptr 0x000f80
May  2 11:54:05 raspberrypi weewx[1345]: fousb: invalid data in get_records at 
0x0b80, 2018-05-01T01:23:59

already seems better don't you think? 

now awaiting for the appearance of the web page for the weather station...then 
will need to edit the config file, which up until now i haven't been able to 
do, might have to come back for that...

thanks to everyone for everything so far, mostly your patience!

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


[weewx-user] Re: raspberry pi 3 and weewx fail at first hurdle

2018-05-01 Thread Andrew Milner
the easiest way to install weewx is to follow the apt-get Debian install 
instructions which, if followed correctly, will ask you for station type 
(select simulator) and altitude etc and make the initial edits to 
weewx.conf for you.

You can still use wee_config though to edit the .conf for you
see 

http://weewx.com/docs/utilities.htm#wee_config_utility



However, if you did the install using the setup.py method you can edit 
weewx.conf by using the nano editor and giving the command 
sudo nano weewx.conf



On Tuesday, 1 May 2018 12:52:48 UTC+3, Stuart Smith wrote:
>
>
>
> On Tuesday, 1 May 2018 11:19:49 UTC+2, Stuart Smith wrote:
>>
>> Hi Andrew,
>>
>> Thanks for the reply and your patience!
>>
>> My brother-in-law bought a raspberry pi and hooked it up to a weather 
>> station a couple of years back with no linux experience so guessed it would 
>> be easy enough for me to do, he is clearly smarter than me! :-)
>>
>> So, looking in the weewx.conf file there is no altitude set, i should 
>> probably mention that there is also a weewx.conf.dist file in the same 
>> location and then a second weewx.conf file in the location: 
>> /etc/weewx/logwatch/conf/logfiles
>>
>> i am still also unable to save any edits i tray and make in the conf 
>> files (headbang)
>>
>>

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


[weewx-user] Re: raspberry pi 3 and weewx fail at first hurdle

2018-05-01 Thread 'Stuart Smith' via weewx-user


On Tuesday, 1 May 2018 11:19:49 UTC+2, Stuart Smith wrote:
>
> Hi Andrew,
>
> Thanks for the reply and your patience!
>
> My brother-in-law bought a raspberry pi and hooked it up to a weather 
> station a couple of years back with no linux experience so guessed it would 
> be easy enough for me to do, he is clearly smarter than me! :-)
>
> So, looking in the weewx.conf file there is no altitude set, i should 
> probably mention that there is also a weewx.conf.dist file in the same 
> location and then a second weewx.conf file in the location: 
> /etc/weewx/logwatch/conf/logfiles
>
> i am still also unable to save any edits i tray and make in the conf files 
> (headbang)
>
>

-- 
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.
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2015 Tom Keffer 
# See the file LICENSE.txt for your rights.

##

# This section is for general configuration information.

# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 0

# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /

# How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20

# Do not modify this. It is used when installing and updating weewx.
version = 3.8.0

##

#   This section is for information about the station.

[Station]

# Description of the station location
location = ""

# Latitude and longitude in decimal degrees
latitude = ok
longitude = ok

# Altitude of the station, with unit it is in. This is downloaded from
# from the station if the hardware supports it.
altitude = , 

# Set to type of station hardware. There must be a corresponding stanza
# in this file with a 'driver' parameter indicating the driver to be used.
station_type = Simulator

# If you have a website, you may specify an URL
#station_url = http://www.example.com

# The start of the rain year (1=January; 10=October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1

# Start of week (0=Monday, 6=Sunday)
week_start = 6

##

[Simulator]
# This section is for the weewx weather station simulator

# The time (in seconds) between LOOP packets.
loop_interval = 2.5

# The simulator mode can be either 'simulator' or 'generator'.
# Real-time simulator. Sleep between each LOOP packet.
mode = simulator
# Generator.  Emit LOOP packets as fast as possible (useful for testing).
#mode = generator

# The start time. Format is -mm-ddTHH:MM. If not specified, the default 
# is to use the present time.
#start = 2011-01-01T00:00

# The driver to use:
driver = weewx.drivers.simulator

##

#   This section is for uploading data to Internet sites

[StdRESTful]

[[StationRegistry]]
# To register this weather station with weewx, set this to true
register_this_station = false

[[AWEKAS]]
# This section is for configuring posts to AWEKAS.

# If you wish to do this, set the option 'enable' to true,
# and specify a username and password.
enable = false
username = replace_me
# To guard against parsing errors, put your password in quotes:
password = replace_me

[[CWOP]]
# This section is for configuring posts to CWOP.

# If you wish to do this, set the option 'enable' to true,
# and specify the station ID (e.g., CW1234).
enable = false
station = replace_me

# If this is an APRS (radio amateur) station, uncomment
# the following and replace with a passcode (e.g., 12345).
#passcode = replace_me (APRS stations only)

[[PWSweather]]
# This section is for configuring posts to PWSweather.com.

# If you wish to do this, set the option 'enable' to true,
# and specify a station and password.
enable = false
station = replace_me
# To guard against parsing errors, put your password in quotes:
password = replace_me

[[WOW]]
# This section is for configuring posts to WOW.

# If you wish to do this, set the option 'enable' to true,
# and specify a station and password.
enable = false
station = replace_me
# To guard against parsing errors, put your 

[weewx-user] Re: raspberry pi 3 and weewx fail at first hurdle

2018-05-01 Thread 'Stuart Smith' via weewx-user
Hi Andrew,

Thanks for the reply and your patience!

My brother-in-law bought a raspberry pi and hooked it up to a weather station a 
couple of years back with no linux experience so guessed it would be easy 
enough for me to do, he is clearly smarter than me! :-)

So, looking in the weewx.conf file there is no altitude set, i should probably 
mention that there is also a weewx.conf.dist file in the same location and then 
a second weewx.conf file in the location: /etc/weewx/logwatch/conf/logfiles

i am still also unable to save any edits i tray and make in the conf files 
(headbang)

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


[weewx-user] Re: raspberry pi 3 and weewx fail at first hurdle

2018-05-01 Thread Andrew Milner
OK it looks as though weewx is not starting.

can you attach your weewx.conf to the forum.  I suspect your altitude has 
been wrongly specified in weewx.conf
it should be in the format
altitude = 108, meter

or

altitude = 108, foot

note the comma and that the units are in the singular (not meters or feet)

also the location is in decimal degrees



On Tuesday, 1 May 2018 11:00:32 UTC+3, Stuart Smith wrote:
>
> Hi Vince, 
>  here is what i get when i run the weewx.service status command: 
>
> pi@raspberrypi:~ $ sudo systemctl status weewx.service 
> ● weewx.service - LSB: weewx weather system 
>Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled) 
>Active: active (exited) since Tue 2018-05-01 09:49:56 CEST; 8min ago 
>  Docs: man:systemd-sysv-generator(8) 
>CGroup: /system.slice/weewx.service 
>
> May 01 09:49:56 raspberrypi weewx[456]: File 
> "/usr/share/weewx/weewx 
> May 01 09:49:56 raspberrypi weewx[456]:   engine = 
> engine_class(conf 
> May 01 09:49:56 raspberrypi weewx[456]: File 
> "/usr/share/weewx/weewx 
> May 01 09:49:56 raspberrypi weewx[456]:  
>  self.preLoadServices(confi 
> May 01 09:49:56 raspberrypi weewx[456]: File 
> "/usr/share/weewx/weewx 
> May 01 09:49:56 raspberrypi weewx[456]:   self.stn_info = 
> weewx.stat 
> May 01 09:49:56 raspberrypi weewx[456]: File 
> "/usr/share/weewx/weewx 
> May 01 09:49:56 raspberrypi weewx[456]:   self.altitude_vt = 
> weewx.u 
> May 01 09:49:56 raspberrypi weewx[456]:   IndexError: list index 
> out of 
> May 01 09:49:56 raspberrypi weewx[456]:   Exiting. 
> lines 1-16/16 (END) 
>
> and when i run the journalctl command, this: 
>
> pi@raspberrypi:~ $ sudo journalctl -u weewx.service 
> -- Logs begin at Tue 2018-05-01 09:49:51 CEST, end at Tue 2018-05-01 
> 09:59:59 CE 
> May 01 09:49:53 raspberrypi systemd[1]: Starting LSB: weewx weather 
> system... 
> May 01 09:49:56 raspberrypi weewx[438]: engine: Initializing weewx version 
> 3.8.0 
> May 01 09:49:56 raspberrypi weewx[438]: engine: Using Python 2.7.13 
> (default, No 
> [GCC 6.3.0 20170516] 
> May 01 09:49:56 raspberrypi weewx[438]: engine: Platform 
> Linux-4.14.34-v7+-armv7 
> May 01 09:49:56 raspberrypi weewx[438]: engine: Locale is 'en_GB.UTF-8' 
> May 01 09:49:56 raspberrypi weewx[438]: engine: pid file is 
> /var/run/weewx.pid 
> May 01 09:49:56 raspberrypi weewx[456]: engine: Using configuration file 
> /etc/we 
> May 01 09:49:56 raspberrypi weewx[456]: engine: Loading station type 
> Simulator ( 
> May 01 09:49:56 raspberrypi weewx[304]: Starting weewx weather system: 
> weewx. 
> May 01 09:49:56 raspberrypi systemd[1]: Started LSB: weewx weather system. 
> May 01 09:49:56 raspberrypi weewx[456]: engine: Caught unrecoverable 
> exception i 
> May 01 09:49:56 raspberrypi weewx[456]:   list index out of range 
> May 01 09:49:56 raspberrypi weewx[456]:   Traceback (most recent 
> call la 
> May 01 09:49:56 raspberrypi weewx[456]: File 
> "/usr/share/weewx/weewx 
> May 01 09:49:56 raspberrypi weewx[456]:   engine = 
> engine_class(conf 
> May 01 09:49:56 raspberrypi weewx[456]: File 
> "/usr/share/weewx/weewx 
> May 01 09:49:56 raspberrypi weewx[456]:  
>  self.preLoadServices(confi 
> May 01 09:49:56 raspberrypi weewx[456]: File 
> "/usr/share/weewx/weewx 
> May 01 09:49:56 raspberrypi weewx[456]:   self.stn_info = 
> weewx.stat 
> May 01 09:49:56 raspberrypi weewx[456]: File 
> "/usr/share/weewx/weewx 
> May 01 09:49:56 raspberrypi weewx[456]:   self.altitude_vt = 
> weewx.u 
> lines 1-23 
>
> i installed desktop version. 
>

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


[weewx-user] Re: raspberry pi 3 and weewx fail at first hurdle

2018-05-01 Thread 'Stuart Smith' via weewx-user
Hi Vince,
 here is what i get when i run the weewx.service status command:

pi@raspberrypi:~ $ sudo systemctl status weewx.service
● weewx.service - LSB: weewx weather system
   Loaded: loaded (/etc/init.d/weewx; generated; vendor preset: enabled)
   Active: active (exited) since Tue 2018-05-01 09:49:56 CEST; 8min ago
 Docs: man:systemd-sysv-generator(8)
   CGroup: /system.slice/weewx.service

May 01 09:49:56 raspberrypi weewx[456]: File "/usr/share/weewx/weewx
May 01 09:49:56 raspberrypi weewx[456]:   engine = engine_class(conf
May 01 09:49:56 raspberrypi weewx[456]: File "/usr/share/weewx/weewx
May 01 09:49:56 raspberrypi weewx[456]:   self.preLoadServices(confi
May 01 09:49:56 raspberrypi weewx[456]: File "/usr/share/weewx/weewx
May 01 09:49:56 raspberrypi weewx[456]:   self.stn_info = weewx.stat
May 01 09:49:56 raspberrypi weewx[456]: File "/usr/share/weewx/weewx
May 01 09:49:56 raspberrypi weewx[456]:   self.altitude_vt = weewx.u
May 01 09:49:56 raspberrypi weewx[456]:   IndexError: list index out of 
May 01 09:49:56 raspberrypi weewx[456]:   Exiting.
lines 1-16/16 (END)

and when i run the journalctl command, this:

pi@raspberrypi:~ $ sudo journalctl -u weewx.service
-- Logs begin at Tue 2018-05-01 09:49:51 CEST, end at Tue 2018-05-01 09:59:59 CE
May 01 09:49:53 raspberrypi systemd[1]: Starting LSB: weewx weather system...
May 01 09:49:56 raspberrypi weewx[438]: engine: Initializing weewx version 3.8.0
May 01 09:49:56 raspberrypi weewx[438]: engine: Using Python 2.7.13 (default, No
[GCC 6.3.0 20170516]
May 01 09:49:56 raspberrypi weewx[438]: engine: Platform Linux-4.14.34-v7+-armv7
May 01 09:49:56 raspberrypi weewx[438]: engine: Locale is 'en_GB.UTF-8'
May 01 09:49:56 raspberrypi weewx[438]: engine: pid file is /var/run/weewx.pid
May 01 09:49:56 raspberrypi weewx[456]: engine: Using configuration file /etc/we
May 01 09:49:56 raspberrypi weewx[456]: engine: Loading station type Simulator (
May 01 09:49:56 raspberrypi weewx[304]: Starting weewx weather system: weewx.
May 01 09:49:56 raspberrypi systemd[1]: Started LSB: weewx weather system.
May 01 09:49:56 raspberrypi weewx[456]: engine: Caught unrecoverable exception i
May 01 09:49:56 raspberrypi weewx[456]:   list index out of range
May 01 09:49:56 raspberrypi weewx[456]:   Traceback (most recent call la
May 01 09:49:56 raspberrypi weewx[456]: File "/usr/share/weewx/weewx
May 01 09:49:56 raspberrypi weewx[456]:   engine = engine_class(conf
May 01 09:49:56 raspberrypi weewx[456]: File "/usr/share/weewx/weewx
May 01 09:49:56 raspberrypi weewx[456]:   self.preLoadServices(confi
May 01 09:49:56 raspberrypi weewx[456]: File "/usr/share/weewx/weewx
May 01 09:49:56 raspberrypi weewx[456]:   self.stn_info = weewx.stat
May 01 09:49:56 raspberrypi weewx[456]: File "/usr/share/weewx/weewx
May 01 09:49:56 raspberrypi weewx[456]:   self.altitude_vt = weewx.u
lines 1-23

i installed desktop version.

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


[weewx-user] Re: raspberry pi 3 and weewx fail at first hurdle

2018-04-29 Thread vk3anz
Unless you specifically want your RPi to be a DHCP server for WiFI devices, 
I suggest that you stop the 'dhcpcd' service.
The commands:

sudo systemctl stop dhcpcd
sudo systemctl disable dhcpcd

should do the trick. (The first stops the service running if it is, and the 
second stops is automatically starting on booting.)
Susan

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


[weewx-user] Re: raspberry pi 3 and weewx fail at first hurdle

2018-04-28 Thread vince
On Saturday, April 28, 2018 at 3:59:09 AM UTC-7, Stuart Smith wrote:
>
> i've searched the syslog file for any instances of weewx but comes up with 
> nothing 
> iàve searched the system and no weewx.log exists 
> to view thw log i use: sudo tail -f /var/log/syslog 
>

Lets try this:

   - sudo systemctl status weewx.service

When it's running it'll look something like:

● weewx.service - LSB: weewx weather system

   Loaded: loaded (/etc/init.d/weewx; bad; vendor preset: enabled)

   Active: active (running) since Sat 2018-04-28 09:33:59 PDT; 4s ago

 Docs: man:systemd-sysv-generator(8)

  Process: 5372 ExecStop=/etc/init.d/weewx stop (code=exited, 
status=0/SUCCESS)

  Process: 5419 ExecStart=/etc/init.d/weewx start (code=exited, 
status=0/SUCCESS)

Tasks: 1

   Memory: 9.5M

  CPU: 135ms

   CGroup: /system.slice/weewx.service

   └─5436 python /usr/bin/weewxd --daemon 
--pidfile=/var/run/weewx.pid /etc/weewx/weewx.conf



I suspect yours will look shorter/different and refer you to the journalctl 
command for more details.

So try:

   - sudo journalctl -u weewx.service
   
Which should print out any log entries that came from weewx when systemd 
tried to start it.


Lastly - which raspbian did you install ?  Raspbian desktop or light ?

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


Re: [weewx-user] Re: raspberry pi 3 and weewx fail at first hurdle

2018-04-28 Thread 'Stuart Smith' via weewx-user

check ifconfig -all and see if you actually have an IP address

ifconfig -agives me: 

eth0: flags=4099  mtu 1500
ether b8:27:eb:ce:73:d8  txqueuelen 1000  (Ethernet)
RX packets 0  bytes 0 (0.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 0  bytes 0 (0.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73  mtu 65536
inet 127.0.0.1  netmask 255.0.0.0
inet6 ::1  prefixlen 128  scopeid 0x10
loop  txqueuelen 1000  (Local Loopback)
RX packets 2  bytes 100 (100.0 B)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 2  bytes 100 (100.0 B)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163  mtu 1500
inet 10.169.194.6  netmask 255.252.0.0  broadcast 255.255.255.255
inet6 fe80::9da1:d2dd:450f:c678  prefixlen 64  scopeid 0x20
ether b8:27:eb:9b:26:8d  txqueuelen 1000  (Ethernet)
RX packets 2292  bytes 801120 (782.3 KiB)
RX errors 0  dropped 0  overruns 0  frame 0
TX packets 1423  bytes 204514 (199.7 KiB)
TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0


next do 

ps -ef|grep weewx, gives me:

pi2593  1840  0 12:46 pts/100:00:00 grep --color=auto weewx


if you are using 
sudo vi /etc/weewx/weewx.conf and cannot open the file to write something more 
fundamental with your pi is going on try doing 

using the command above i can open the config file but not make any changes to 
it

ls -la /etc/weewx and see what the perms are, but sudo should allow you to open 
the file AND write it as you are root

the above command gives me:

total 88
drwxr-xr-x   9 root root  4096 Apr 28 12:40 .
drwxr-xr-x 113 root root  4096 Apr 27 16:37 ..
drwxr-xr-x   3 root root  4096 Apr  7 12:54 apache
drwxr-xr-x   2 root root  4096 Apr  9 11:53 import
drwxr-xr-x   2 root root  4096 Apr  9 11:53 logrotate.d
drwxr-xr-x   4 root root  4096 Apr  7 12:54 logwatch
drwxr-xr-x   2 root root  4096 Apr  9 11:53 rsyslog.d
drwxr-xr-x   5 root root  4096 Apr  7 12:54 skins
drwxr-xr-x   3 root root  4096 Apr  7 12:54 udev
-rw-r--r--   1 root root 14795 Apr  9 11:53 weewx.conf
-rw-r--r--   1 root root 13722 Nov 22 14:36 weewx.conf.dist
-rw-r--r--   1 root root 20480 Apr 28 12:37 .weewx.conf.swp


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


[weewx-user] Re: raspberry pi 3 and weewx fail at first hurdle

2018-04-27 Thread Andrew Milner
a silly question - how do you know it is actually running?? how did you 
start it??

there should be at least weewx startup log messages

are you sure the messages are not being diverted to weewx.log??

what command did you use to view the log??



On Friday, 27 April 2018 18:47:36 UTC+3, Stuart Smith wrote:

> On Friday, 27 April 2018 17:19:42 UTC+2, vince  wrote: 
> > On Friday, April 27, 2018 at 8:15:55 AM UTC-7, Stuart Smith wrote: 
> > bought a raspberry pi 3, came with noobs on the sd card, installed 
> raspbian from here. 
> > followed the instructions on installing weewx at 
> www.weewx.com/docs/debian.htm 
> > configured apt, no problem 
> > installed weewx, no problem 
> > step 3 is to check the syslog for message from weewx, there are none 
> whatsoever...the only activity in the log is pasted below. 
> > can anyone pleeaase help? I've looked through the wiki and searched 
> this group but found nothing of help, feel like a complete idiot! 
> > P.S. cannot edit the weewx.conf either, I can open it, tweek it but 
> cannot save it, tells me it cannot open the file to overwrite it. 
> > 
> > 
> > 
> > 
> > 
> > 
> > You're on a pi, so you are likely running as user 'pi' which has no 
> permissions to write to root-owned files. 
> > Try using "sudo" ala "sudo your_command_here" 
> > 
> > 
> > If you're a new Linux user completely, definitely get yourself some 
> online Linux training for the basics. 
> >   
>
> Yup, been using the sudo command...but why is weewx not reporting? Surely 
> my root permission has no bearing on this? 
>
> P.s. thanks for the reply

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


[weewx-user] Re: raspberry pi 3 and weewx fail at first hurdle

2018-04-27 Thread 'Stuart Smith' via weewx-user
On Friday, 27 April 2018 17:19:42 UTC+2, vince  wrote:
> On Friday, April 27, 2018 at 8:15:55 AM UTC-7, Stuart Smith wrote:
> bought a raspberry pi 3, came with noobs on the sd card, installed raspbian 
> from here.
> followed the instructions on installing weewx at www.weewx.com/docs/debian.htm
> configured apt, no problem
> installed weewx, no problem
> step 3 is to check the syslog for message from weewx, there are none 
> whatsoever...the only activity in the log is pasted below.
> can anyone pleeaase help? I've looked through the wiki and searched this 
> group but found nothing of help, feel like a complete idiot!
> P.S. cannot edit the weewx.conf either, I can open it, tweek it but cannot 
> save it, tells me it cannot open the file to overwrite it.
> 
> 
> 
> 
> 
> 
> You're on a pi, so you are likely running as user 'pi' which has no 
> permissions to write to root-owned files.
> Try using "sudo" ala "sudo your_command_here"
> 
> 
> If you're a new Linux user completely, definitely get yourself some online 
> Linux training for the basics.
>  

Yup, been using the sudo command...but why is weewx not reporting? Surely my 
root permission has no bearing on this?

P.s. thanks for the reply

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


[weewx-user] Re: raspberry pi 3 and weewx fail at first hurdle

2018-04-27 Thread vince
On Friday, April 27, 2018 at 8:15:55 AM UTC-7, Stuart Smith wrote:
>
> bought a raspberry pi 3, came with noobs on the sd card, installed 
> raspbian from here.
>
> followed the instructions on installing weewx at 
> www.weewx.com/docs/debian.htm
>
> configured apt, no problem
>
> installed weewx, no problem
>
> step 3 is to check the syslog for message from weewx, there are none 
> whatsoever...the only activity in the log is pasted below.
>
> can anyone pleeaase help? I've looked through the wiki and searched 
> this group but found nothing of help, feel like a complete idiot!
>
> P.S. cannot edit the weewx.conf either, I can open it, tweek it but cannot 
> save it, tells me it cannot open the file to overwrite it.
>
>
>

You're on a pi, so you are likely running as user 'pi' which has no 
permissions to write to root-owned files.
Try using "sudo" ala "sudo your_command_here"

If you're a new Linux user completely, definitely get yourself some online 
Linux training for the basics.
 

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