Skip to content

Freescout gives "502 Bad Gateway" error #276

Open
@sagat79

Description

@sagat79

After installing Freescout give a 502 Bad Gateway nginx error.

Oct 05 12:26:25 fsrvnl mash-freescout[552528]: 2024-10-05.09:26:25 [STARTING] ** [php-fpm] [45] Starting php-fpm 8.3.10
Oct 05 12:26:27 fsrvnl mash-freescout[552528]: 2024-10-05.09:26:27 [STARTING] ** [php-fpm] [46] Starting php-fpm 8.3.10
Oct 05 12:26:29 fsrvnl mash-freescout[552528]: 2024-10-05.09:26:29 [STARTING] ** [php-fpm] [47] Starting php-fpm 8.3.10
Oct 05 12:26:31 fsrvnl mash-freescout[552528]: 2024-10-05.09:26:31 [STARTING] ** [php-fpm] [48] Starting php-fpm 8.3.10
Oct 05 12:26:33 fsrvnl mash-freescout[552528]: 2024-10-05.09:26:33 [STARTING] ** [php-fpm] [49] Starting php-fpm 8.3.10
Oct 05 12:26:35 fsrvnl mash-freescout[552528]: 2024-10-05.09:26:35 [STARTING] ** [php-fpm] [50] Starting php-fpm 8.3.10
Oct 05 12:26:35 fsrvnl mash-freescout[552528]: [05-Oct-2024 09:26:35] ERROR: failed to open error_log (/www/logs/php-fpm/error.log): Permission denied (13)
Oct 05 12:26:35 fsrvnl mash-freescout[552528]: [05-Oct-2024 09:26:35] ERROR: failed to post process the configuration
Oct 05 12:26:35 fsrvnl mash-freescout[552528]: [05-Oct-2024 09:26:35] ERROR: FPM initialization failed
Oct 05 12:26:36 fsrvnl mash-freescout[552528]: 2024-10-05.09:26:36 [ERROR] ** [php-fpm] POTENTIAL RUNWAY DETECTECTED: Disabling 20-php-fpm service because it has tried restarting '50' times
  Process: 552486 ExecStartPre=/usr/bin/env sh -c /usr/bin/env docker rm mash-freescout 2>/dev/null || true (code=exited, status=0/SUCCESS)
    Process: 552498 ExecStartPre=/usr/bin/env docker create --rm --name=mash-freescout --log-driver=none --network=mash-freescout --env-file=/mash/freescout/env --label-file=/mash/freescout/labels --m>
    Process: 552508 ExecStartPre=/usr/bin/env docker network connect traefik mash-freescout (code=exited, status=0/SUCCESS)
    Process: 552518 ExecStartPre=/usr/bin/env docker network connect mash-postgres mash-freescout (code=exited, status=0/SUCCESS)
   Main PID: 552528 (docker)
      Tasks: 12 (limit: 28687)
     Memory: 8.8M
        CPU: 174ms
     CGroup: /system.slice/mash-freescout.service
             └─552528 docker start --attach mash-freescout

Oct 05 12:26:25 fsrvnl mash-freescout[552528]: 2024-10-05.09:26:25 [STARTING] ** [php-fpm] [45] Starting php-fpm 8.3.10
Oct 05 12:26:27 fsrvnl mash-freescout[552528]: 2024-10-05.09:26:27 [STARTING] ** [php-fpm] [46] Starting php-fpm 8.3.10
Oct 05 12:26:29 fsrvnl mash-freescout[552528]: 2024-10-05.09:26:29 [STARTING] ** [php-fpm] [47] Starting php-fpm 8.3.10
Oct 05 12:26:31 fsrvnl mash-freescout[552528]: 2024-10-05.09:26:31 [STARTING] ** [php-fpm] [48] Starting php-fpm 8.3.10
Oct 05 12:26:33 fsrvnl mash-freescout[552528]: 2024-10-05.09:26:33 [STARTING] ** [php-fpm] [49] Starting php-fpm 8.3.10
Oct 05 12:26:35 fsrvnl mash-freescout[552528]: 2024-10-05.09:26:35 [STARTING] ** [php-fpm] [50] Starting php-fpm 8.3.10
Oct 05 12:26:35 fsrvnl mash-freescout[552528]: [05-Oct-2024 09:26:35] ERROR: failed to open error_log (/www/logs/php-fpm/error.log): Permission denied (13)
Oct 05 12:26:35 fsrvnl mash-freescout[552528]: [05-Oct-2024 09:26:35] ERROR: failed to post process the configuration
Oct 05 12:26:35 fsrvnl mash-freescout[552528]: [05-Oct-2024 09:26:35] ERROR: FPM initialization failed
Oct 05 12:26:36 fsrvnl mash-freescout[552528]: 2024-10-05.09:26:36 [ERROR] ** [php-fpm] POTENTIAL RUNWAY DETECTECTED: Disabling 20-php-fpm service because it has tried restarting '50' times

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions