If you use systemd to start uwsgi, check what uwsgi is started

Take a look here:

cat /etc/systemd/system/multi-user.target.wants/uwsgi.service

mine:

[Unit]
Description=uWSGI Web2Py
After=network.target

[Service]
ExecStart=*/home/www-data/.pyenv/shims/uwsgi* --ini
/home/www-data/uwsgi/w2p.ini
# Requires systemd version 211 or newer
Restart=always
KillSignal=SIGQUIT
Type=notify
StandardError=syslog
NotifyAccess=all

[Install]
WantedBy=multi-user.target

Il giorno mer 30 nov 2022 alle ore 13:35 lucas <sjluk...@gmail.com> ha
scritto:

> also all of the symbolic links, like "python", run to python3.9.  and
> scripts that have "#!/usr/bin/env python" seem to be running python3.9
> also.  so, I can not figure out why web2py is backtracking to python3.8, as
> shown for instance in the admin interface or under error trace files.
>
> On Tuesday, November 29, 2022 at 10:58:57 PM UTC-5 lucas wrote:
>
>> hello one and all,
>>
>> i just upgraded my centos8stream server from python3.8 to python3.9
>> running nginx1.14 and uwsgi2.0.21 and web2py2.22.5.
>>
>> when i restart web2py it says it is still accessing and running under
>> python3.8.
>>
>> how do i setup web2py to start using python3.9?
>>
>> thank you in advance, lucas
>>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http://github.com/web2py/web2py (Source code)
> - https://code.google.com/p/web2py/issues/list (Report Issues)
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to web2py+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/web2py/9fd566c0-93e5-4715-baae-772d41e44aa6n%40googlegroups.com
> <https://groups.google.com/d/msgid/web2py/9fd566c0-93e5-4715-baae-772d41e44aa6n%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Massimiliano

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/CANPTPxK7SSWuv4jTa4BduyYRe6DrF96ERGXWaXsgAGsgmaS-iQ%40mail.gmail.com.

Reply via email to