Unfortunately I can no longer provide that information, I realize it may 
have helped identify a bug and I apologize for that. I nuked my raspberrypi 
installation and spun up a fresh OS copy. I am happy to report I have Weewx 
working properly now.
For history: I was running the buster raspbian release. I had been using 
weewx since 2015 and was running 4.8 when i attempted the upgrade to 5.0.2, 
first using the pip method, then the package install method. From what 
others have posted my weewx.service file appeared to be correct, and files 
appeared to be located in the appropriate directories. I know I had old 
files around in different places.

Thanks again, all, for your help.

-Joseph

On Tuesday, April 2, 2024 at 5:08:53 PM UTC-5 Tom Keffer wrote:

> Discussed this with Matthew. Could you post the contents of a few things 
> for us? 
>
> 1. Contents of /usr/lib/systemd/system/weewx.service
> 2. Contents of /etc/default/weewx.  
> 3. Does /etc/systemd/system/weewx.service exist? If so, what does it 
> contain?
> 4. Contents of /usr/bin/weewxd
> 5. Contents of /etc/os-release
>
> Please note any changes you have made since the install.
>
>
> On Tue, Apr 2, 2024 at 2:02 PM crecre9 <jrmcc...@gmail.com> wrote:
>
>> That's what my service file looked like. i was getting the error saying 
>> the path wasn't absolute, so i removed the "weewxd" portion from the 
>> ExecStart line, but as i mentioned, i don't have any idea how to fix that 
>> file. I have no idea why it wouldn't work out of the box either. The only 
>> thing i can think of is the removal of older versions of weewx were 
>> incomplete somehow and is somehow interfering.
>>
>> On Tuesday, April 2, 2024 at 2:18:26 PM UTC-5 vince wrote:
>>
>>> Are you running an unusual os on the pi ?
>>>  Did you do something to edit the weewx.service file ?
>>>
>>>  A clean pi running raspios installs+works just fine here with the 
>>> apt-get dpkg.
>>> The vanilla service file looks like:
>>>
>>> pi@raspberrypi:~ $ cat /usr/lib/systemd/system/weewx.service
>>> # systemd service configuration file for WeeWX
>>>
>>> [Unit]
>>> Description=WeeWX
>>> Documentation=https://weewx.com/docs
>>> Requires=time-sync.target
>>> After=time-sync.target
>>> Wants=network-online.target
>>> After=network-online.target
>>>
>>> [Service]
>>> ExecStart=weewxd /etc/weewx/weewx.conf
>>> StandardOutput=null
>>> StandardError=journal+console
>>> RuntimeDirectory=weewx
>>> RuntimeDirectoryMode=775
>>> User=weewx
>>> Group=weewx
>>>
>>> [Install]
>>> WantedBy=multi-user.target
>>>
>>> On Tuesday, April 2, 2024 at 11:50:36 AM UTC-7 crecre9 wrote:
>>>
>>>> I have a fresh 5.0.2 install using apt-get. The program won't run as a 
>>>> service:
>>>>
>>>> ● weewx.service - WeeWX
>>>>    Loaded: loaded (/etc/systemd/system/weewx.service; enabled; vendor 
>>>> preset: en
>>>>    Active: failed (Result: exit-code) since Tue 2024-04-02 13:26:02 
>>>> -05; 1min 2s
>>>>      Docs: https://weewx.com/docs
>>>>   Process: 2178 ExecStart=/etc/weewx/weewx.conf (code=exited, 
>>>> status=203/EXEC)
>>>>  Main PID: 2178 (code=exited, status=203/EXEC)
>>>>
>>>> Apr 02 13:26:02 rpi systemd[1]: Started WeeWX.
>>>> Apr 02 13:26:02 rpi systemd[1]: weewx.service: Main process exited, 
>>>> code=exited,
>>>> Apr 02 13:26:02 rpi systemd[1]: weewx.service: Unit entered failed 
>>>> state.
>>>> Apr 02 13:26:02 rpi systemd[1]: weewx.service: Failed with result 
>>>> 'exit-code'.
>>>>
>>>> And when I look at status:
>>>>
>>>> Apr 02 13:28:28 rpi systemd[1]: 
>>>> [/usr/lib/systemd/system/weewx.service:12] Executable path is not 
>>>> absolute, 
>>>> ignoring: weewxd /etc/weewx/weewx.conf
>>>> Apr 02 13:28:28 rpi systemd[1]: weewx.service: Service lacks both 
>>>> ExecStart= and ExecStop= setting. Refusing.
>>>>
>>>>
>>>> Any ideas? Its like the installation files improperly set up the daemon 
>>>> service.
>>>>
>>>>
>>>> -Joseph
>>>>
>>> -- 
>> 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+...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/weewx-user/9965cf0f-391b-4d22-ab92-5f16edc03369n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/weewx-user/9965cf0f-391b-4d22-ab92-5f16edc03369n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
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 on the web visit 
https://groups.google.com/d/msgid/weewx-user/8e9c7333-3c6c-4e67-ba50-46996401f3ban%40googlegroups.com.

Reply via email to