小编Rob*_*obo的帖子

Gunicorn.service:无法确定用户凭据:没有这样的进程 - django、gunicorn 和 nginx

当我运行时sudo systemctl status gunicorn,出现以下错误:

\n
\xe2\x97\x8f gunicorn.service - gunicorn daemon\n   Loaded: loaded (/etc/systemd/system/gunicorn.service; enabled; vendor preset: enabled)\n   Active: failed (Result: exit-code) since Tue 2022-02-08 07:29:18 UTC; 17min ago\n Main PID: 21841 (code=exited, status=217/USER)\n\nFeb 08 07:29:18 ip-172-31-37-113 systemd[1]: Started gunicorn daemon.\nFeb 08 07:29:18 ip-172-31-37-113 systemd[21841]: gunicorn.service: Failed to determine user credentials: No such process\nFeb 08 07:29:18 ip-172-31-37-113 systemd[21841]: gunicorn.service: Failed at step USER spawning /home/ubuntu/bookclub/venv/bin/gun\nFeb 08 07:29:18 ip-172-31-37-113 systemd[1]: gunicorn.service: Main process exited, code=exited, status=217/USER\nFeb 08 07:29:18 ip-172-31-37-113 systemd[1]: …
Run Code Online (Sandbox Code Playgroud)

python django nginx gunicorn

5
推荐指数
1
解决办法
1万
查看次数

Git diff 无法在 Github Actions 上工作 -fatal: bad object 7100c3bbc34a9667ca9034a8ec321677ed4b5828

我想查看 Github Actions 上两次提交之间的文件之间的差异。这是我的main.yml文件:

name: GitHub Actions Test
on: [push]
jobs:
  Test-GitHub-Actions:
    runs-on: ubuntu-latest
    steps:
      - name: Adding actions/checkout@v2
        uses: actions/checkout@v2
      - name: Git diff
        run: git diff 7100c3bbc34a9667ca9034a8ec321677ed4b5828 4c5952b60b8a5911154534ea1fefec3567c49c52 ${{ github.workspace }}/data.xml
      - name: Run Python
        run: |
          python3 ${{ github.workspace }}/.github/workflows/app.py
      - name: Setup git - step 1
        run: git config --global user.email "adithraghavs@gmail.com"
      - name: Setup git - step 2
        run: git config --global user.name "Adith Raghav"
      - name: Check for changes
        run: git status …
Run Code Online (Sandbox Code Playgroud)

git github git-diff github-actions

5
推荐指数
1
解决办法
2817
查看次数

标签 统计

django ×1

git ×1

git-diff ×1

github ×1

github-actions ×1

gunicorn ×1

nginx ×1

python ×1