Try adding this to "[Service]": User=root Group=www-data
I think is not a good idea have your app running as root user, you can change the user, first move your .ini (don't forget change this path in your uwsgi.service file) to your app path and do a recursive chown to define user and group, something like: chown your_user:www-data -R /var/www/html/your_app On Wed, Nov 4, 2020 at 1:33 PM Clemens <clemens.odend...@claret-clover.de> wrote: > > Is your Python version compatible with you uWSGI lib? > https://groups.google.com/g/web2py/c/cr2HmXYNieg/m/2YYHFmr_BAAJ > > Have a look to "my personal step-by-step deployment guide for web2py and > Nginx" (mainly inspired by the shell script setup-web2py-nginx-uwsgi-ubuntu). > This configuration works well. > https://groups.google.com/g/web2py/c/BFvo2tn9IAI/m/GsIBbiVkAwAJ > > Or you can even use the Ansible Playbook provided by Jim: > https://groups.google.com/g/web2py/c/BFvo2tn9IAI/m/nQMgO7HRBAAJ > > Hope, this helps! > > Best regards > Clemens > > > On Wednesday, November 4, 2020 at 2:10:52 PM UTC+1 ermolaev...@gmail.com > wrote: >> >> >> Please help: >> https://gitlab.com/d.ermolaev/7pay_in/-/issues/41 >> > -- > 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/7861350d-7b69-4d6d-af7c-a36bb79cc788n%40googlegroups.com. -- 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/CALfVey9ana3663qHR3awJ%3Dzr5M6UKL6_AiTnu9oijefjVHwi4g%40mail.gmail.com.