Hello all.  My existing longtime weewx installation on Ubuntu was upgraded 
to version 5.0.1 after an OS upgrade.  I've gotten parts of it working, but 
the service doesn't appear to start using the new systemctl method.

 I am using a serial device from a Vantage 2 Pro console. I have added 
weewx to the dialout group for the /dev/ttyS0 device.  I can successfully 
start weewxd under the weewx user using this command:  sudo runuser -u 
weewx weewxd

 However using 'sudo systemctl start weewx' with start, status, or restart 
results in an error (stop produces no output).  Only the 3 lines below are 
logged to syslog:
Started weewx.service - weewx weather system.
weewx.service: Main process exited, code=exited, status=1/FAILURE
weewx.service: Failed with result 'exit-code'.

I have 'debug = 1' in my /etc/weewx/weewx.conf file.  
Serial device: crw-rw---- 1 root dialout 4, 64 Dec 29 12:06 /dev/ttyS0
dialout group members:
getent group dialout
dialout:x:20:weewx

I'm not sure what the next step is here.  There's a disconnect somewhere 
between the service setup and running it directly, and I'd appreciate any 
help.  Thank you!

-- 
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 visit 
https://groups.google.com/d/msgid/weewx-user/8d03547d-8674-4ffa-b955-57592caf60dfn%40googlegroups.com.

Reply via email to