Open
Description
So after deploying gitea to my "just installed" piku setup using your awesome playbook. I looked at the logs:
🍺 $ ssh piku@mypiku.local logs gitea
web.1 | [uwsgi-daemons] respawning "GITEA_WORK_DIR=$VIRTUAL_ENV/gitea/ ./gitea web -p $PORT" (uid: 1001 gid: 33)
web.1 | /bin/sh: 1: ./gitea: Permission denied
web.1 | [uwsgi-daemons] respawning "GITEA_WORK_DIR=$VIRTUAL_ENV/gitea/ ./gitea web -p $PORT" (uid: 1001 gid: 33)
web.1 | /bin/sh: 1: ./gitea: Permission denied
web.1 | [uwsgi-daemons] throttling "GITEA_WORK_DIR=$VIRTUAL_ENV/gitea/ ./gitea web -p $PORT" for 15 seconds
web.1 | [uwsgi-daemons] respawning "GITEA_WORK_DIR=$VIRTUAL_ENV/gitea/ ./gitea web -p $PORT" (uid: 1001 gid: 33)
web.1 | /bin/sh: 1: ./gitea: Permission denied
web.1 | [uwsgi-daemons] respawning "GITEA_WORK_DIR=$VIRTUAL_ENV/gitea/ ./gitea web -p $PORT" (uid: 1001 gid: 33)
web.1 | /bin/sh: 1: ./gitea: Permission denied
so it looks like $VIRTUAL_ENV
and $PORT
need to be defined...