Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Some problems post update
#6
(2021 Nov 30, 08:29 PM)astrogerard Wrote: Maybe a Python version or file permission issue? 
I'm running 3.7.3 and up on several (SIP 4.1.28) instances. So far no problems.

--Gerard

Yes, Python version! Had to change to Python3.

Here are the steps I took to get it working:

Code:
sudo systemctl stop sip.service
sudo systemctl disable sip.service

sudo rm /etc/systemd/system/sip.service

sudo cp SIP/sip3.service /etc/systemd/system/

sudo systemctl enable sip3.service
sudo systemctl start sip3.service

For the dietpi OS I had to change the sip3.service to look like this:

Quote:#Service for SIP running on a SystemD service
#
[Unit]
Description=SIP for Python3
After=syslog.target network.target
[Service]
ExecStart=/usr/bin/python3 -u /home/dietpi/SIP/sip.py
Restart=on-abort
WorkingDirectory=/home/dietpi/SIP/
SyslogIdentifier=sip
[Install]
WantedBy=multi-user.target


Thank you, Gerard
Reply


Messages In This Thread
Some problems post update - by numero9 - 2021 Nov 30, 03:10 PM
RE: Some problems post update - by dan - 2021 Nov 30, 03:31 PM
RE: Some problems post update - by dan - 2021 Nov 30, 04:13 PM
RE: Some problems post update - by rdrice - 2021 Nov 30, 06:16 PM
RE: Some problems post update - by astrogerard - 2021 Nov 30, 08:29 PM
RE: Some problems post update - by rdrice - 2021 Nov 30, 10:33 PM
RE: Some problems post update - by numero9 - 2021 Dec 01, 06:46 PM
RE: Some problems post update - by astrogerard - 2021 Dec 01, 07:42 PM
RE: Some problems post update - by DavidCNZ - 2021 Dec 22, 11:26 PM
RE: Some problems post update - by DavidCNZ - 2021 Dec 23, 03:21 AM
RE: Some problems post update - by DavidCNZ - 2021 Dec 23, 10:31 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)