Leantime / docker-leantime

Official Docker Image for Leantime https://leantime.io
GNU Affero General Public License v3.0
190 stars 86 forks source link

Always need to connect #27

Closed FlorianByl closed 2 years ago

FlorianByl commented 3 years ago

Hello

I facing with strange error. I've installed leantime (2.1.4) with docker-compose. I've configured my accounts, projects, clients without problems. But after a certain time (more than 1 hour) i must reconnect for every actions.

So, i've look in logs files (in my leantime docker container) and i've seen this :

/var/www/html/resources/logs/error.log ``` ... [04-Jan-2021 06:58:52 America/Los_Angeles] PHP Warning: ini_set(): Headers already sent. You cannot change the session module's ini settings at this time in /var/www/html/src/core/class.session.php on line 41 [04-Jan-2021 06:58:52 America/Los_Angeles] PHP Warning: session_name(): Cannot change session name when headers already sent in /var/www/html/src/core/class.session.php on line 71 [04-Jan-2021 06:58:52 America/Los_Angeles] PHP Warning: session_id(): Cannot change session id when headers already sent in /var/www/html/src/core/class.session.php on line 72 [04-Jan-2021 06:58:52 America/Los_Angeles] PHP Warning: session_start(): Cannot start session when headers already sent in /var/www/html/src/core/class.session.php on line 73 [04-Jan-2021 06:58:52 America/Los_Angeles] PHP Warning: Cannot modify header information - headers already sent by (output started at php://input:1) in /var/www/html/src/core/class.session.php on line 74 [04-Jan-2021 06:58:52 America/Los_Angeles] PHP Warning: Cannot modify header information - headers already sent by (output started at php://input:1) in /var/www/html/src/core/class.login.php on line 299 [04-Jan-2021 06:58:52 America/Los_Angeles] PHP Warning: Cannot modify header information - headers already sent by (output started at php://input:1) in /var/www/html/src/core/class.login.php on line 299 [04-Jan-2021 06:58:52 America/Los_Angeles] PHP Warning: Cannot modify header information - headers already sent by (output started at php://input:1) in /var/www/html/src/core/class.application.php on line 100 [04-Jan-2021 06:58:52 America/Los_Angeles] PHP Warning: Cannot modify header information - headers already sent by (output started at php://input:1) in /var/www/html/src/core/class.application.php on line 101 [04-Jan-2021 06:58:52 America/Los_Angeles] PHP Warning: Cannot modify header information - headers already sent by (output started at php://input:1) in /var/www/html/src/core/class.application.php on line 102 [04-Jan-2021 06:58:52 America/Los_Angeles] PHP Warning: Cannot modify header information - headers already sent by (output started at php://input:1) in /var/www/html/src/core/class.login.php on line 299 ... ```

And, in my docker container logs (docker logs -f [CONTAINER ID]) i've this :

docker leantime logs ```` [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "sh: chattr: not found" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "sh: chattr: not found" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "sh: chattr: not found" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "sh: chattr: not found" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "sh: ufw: not found" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "sh: iptables: not found" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "sh: sudo: not found" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "sh: can't create /proc/sys/kernel/nmi_watchdog: Read-only file system" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "sh: can't create /etc/sysctl.conf: Permission denied" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "userdel: not found" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "userdel: not found" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "sh: chattr: not found" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "sh: chattr: not found" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:22] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "cat: can't open '/tmp/.X11-unix/01': No such file or directory" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "cat: can't open '/tmp/.X11-unix/11': No such file or directory" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "cat: can't open '/tmp/.X11-unix/22': No such file or directory" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "cat: can't open '/tmp/.pg_stat.0': No such file or directory" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "cat: can't open '/tmp/.pg_stat.1': No such file or directory" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "cat: can't open '/home/www-data/data/./oka.pid': No such file or directory" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "ps" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: ": unrecognized option: " [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "w" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "BusyBox v1.31.1 ()" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: " multi-call binary." [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "Usage: " [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "ps" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: " " [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "[-o COL1,COL2=HEADER]" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "Show list of processes" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: " -o COL1,COL2=HEADER Select columns for display" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "ps" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: ": unrecognized option: " [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "w" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "BusyBox v1.31.1 () multi-call binary." [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "Usage: ps [-o COL1,COL2=HEADER]" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "Show list of processes" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: " -o COL1,COL2=HEADER Select columns for display" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "kill: invalid number 'USER'" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "grep: bad regex 'kworker -c\': Trailing backslash" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "kill: invalid number 'USER'" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "kill: invalid number 'www-data'" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "netstat: showing only processes with your user ID" [04-Jan-2021 14:39:23] WARNING: [pool www] child 45 said into stderr: "sh: systemctl: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "killall: log_rot: no process killed" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: chattr: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "rm: can't remove '/opt/atlassian/confluence/bin/1.sh': No such file or directory" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "rm: can't remove '/opt/atlassian/confluence/bin/1.sh.1': No such file or directory" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "rm: can't remove '/opt/atlassian/confluence/bin/1.sh.2': No such file or directory" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "rm: can't remove '/opt/atlassian/confluence/bin/1.sh.3': No such file or directory" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "rm: can't remove '/opt/atlassian/confluence/bin/3.sh': No such file or directory" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "rm: can't remove '/opt/atlassian/confluence/bin/3.sh.1': No such file or directory" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "rm: can't remove '/opt/atlassian/confluence/bin/3.sh.2': No such file or directory" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "rm: can't remove '/opt/atlassian/confluence/bin/3.sh.3': No such file or directory" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "rm: can't remove '/var/tmp/lib': No such file or directory" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "rm: can't remove '/var/tmp/.lib': No such file or directory" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: chattr: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "chmod: /tmp/lok: No such file or directory" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: docker: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: setenforce: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: can't create /etc/selinux/config: nonexistent directory" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: service: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: systemctl: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: service: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "sh: systemctl: not found" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "md5sum: can't open '/tmp/kinsing': No such file or directory" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "/tmp/kinsing is not 648effa354b3cbaad87b45f48d59c616, actual " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: "chmod: /tmp/kinsing: No such file or directory" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: " % Total % Received % Xferd Average Speed Time Time Time Current" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: " " [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: " Dload Upload Total Spent Left Speed" 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--"" [04-Jan-2021 14:39:24] WARNING: [pool www] child 45 said into stderr: ":-- 0" 63 13.9M 63 9052k 0 0 12.5M 0 0:00:01 --:--:-- 0:00:01 12.5M" 100 13.9M 100 13.9M "WARNING: [pool www] child 45 said into stderr: " [04-Jan-2021 14:39:25] WARNING: [pool www] child 45 said into stderr: " 0 0 16" [04-Jan-2021 14:39:25] WARNING: [pool www] child 45 said into stderr: ".6M 0 --:--:-- --:--:-- --:--:-- 16.6M" [04-Jan-2021 14:39:25] WARNING: [pool www] child 45 said into stderr: "/tmp/kinsing is 648effa354b3cbaad87b45f48d59c616" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "sh: write error: Broken pipe" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" [04-Jan-2021 14:39:26] WARNING: [pool www] child 45 said into stderr: "crontab: must be suid to work properly" ````

Do you think is a config error ?

This is my configs files for the docker-compose images

app.conf ```apache2 LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so ServerName 0.0.0.0 DocumentRoot "/var/www/html/public" ProxyPassMatch ^/(.*\.php(/.*)?)$ fcgi://127.0.0.1:9000/var/www/html/public/$1 Options Indexes FollowSymLinks AllowOverride All Require all granted DirectoryIndex index.php ```
custom.ini ```ini memory_limit = 1G max_execution_time = 60 ```
supervisord.conf ```ini [supervisord] nodaemon=true logfile=/dev/null logfile_maxbytes=0 pidfile=/run/supervisord.pid [program:php-fpm] command=php-fpm -F stdout_logfile=/dev/stdout stdout_logfile_maxbytes=0 stderr_logfile=/dev/stderr stderr_logfile_maxbytes=0 autorestart=false startretries=0 [program:httpd] command=httpd -D "FOREGROUND" numprocs=1 autostart=true autorestart=true ```
docker-compose.yml ```yaml version: '3.3' services: db: image: mysql:5.7 container_name: mysql_leantime volumes: - data:/var/lib/mysql restart: always environment: MYSQL_ROOT_PASSWORD: 'secret' MYSQL_DATABASE: 'leantime' MYSQL_USER: 'admin' MYSQL_PASSWORD: 'secret' command: --character-set-server=utf8 --collation-server=utf8_unicode_ci web: image: leantime/leantime:latest container_name: leantime environment: LEAN_DB_HOST: 'mysql_leantime' LEAN_DB_USER: 'admin' LEAN_DB_PASSWORD: 'secret' LEAN_DB_DATABASE: 'leantime' LEAN_APP_URL: 'https://domain.fr' ports: - "9000:9000" - "8080:80" depends_on: - db volumes: data: ```

Leantime is behind a reverse proxy on my server. This is my nginx conf :

/etc/nginx/sites-enabled/default ```nginx server { listen 80 default; server_name mydomain.fr; return 301 https://$server_name$request_uri; } server { listen 443 ssl default_server; ssl_certificate /etc/letsencrypt/live/mydomain.fr/cert.pem; ssl_certificate_key /etc/letsencrypt/live/mydomain.fr/privkey.pem; ssl on; access_log /var/log/nginx/leantime.access.log; error_log /var/log/nginx/leantime.error.log; if ($args ~ "(print=1\?print=1)") { return 301 $scheme://mydomain.fr$request_uri?print=1; } location / { add_header Front-End-Https on; add_header Cache-Control "public, must-revalidate"; add_header Strict-Transport-Security "max-age=2592000; includeSubdomains"; proxy_pass http://127.0.0.1:8080; proxy_next_upstream error timeout invalid_header http_500 http_502 http_503; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; } } ```
PascalBru commented 3 years ago

I'm having the same issue and nearly the same config like you (@FlorianByl) https://github.com/Leantime/leantime/issues/369

PascalBru commented 3 years ago

After a little research I found that /tmp/kdevtmpfsi and /tmp/kinsing are also running inside my docker image. According to https://github.com/laradock/laradock/issues/2451 this are MINER which probably affect the complete system.

I upgraded the Dockfile locally to php:7-fpm-alpine and have a look at it

PascalBru commented 3 years ago

Same issue with new image perhaps it has something to do with the port 9000 which is exposed to the world. But my local firewall should block that traffic.

PascalBru commented 3 years ago

Until now everything is looking good after removing the exposes port 9000 @FlorianByl Could you please try the same?

sk8darr commented 3 years ago

Hi @PascalBru @FlorianByl

I have the same problem, but i am using standalone installation (without docker) with nginx and I think this error could be related to the nginx configuration or the php-fpm module.

I have been looking for a bit and the amount of session request that leantime performs catches my attention. And I am considering that this is the request limit that nginx allows for each browser session

Look at this picture, the latest requests have not been answered

image

PascalBru commented 3 years ago

@sk8darr I haven't seen something like this on my system. At my instance I have no issues since changing the exposed ports.