gitium icon indicating copy to clipboard operation
gitium copied to clipboard

"Under Maintenance" page after manual commit from Status page

Open skazhikadyadya opened this issue 6 years ago • 3 comments

Hi. CentOS 7, PHP-FPM 7.2, nginx, latest version of gitium from github.

Result: Only "Under maintenance" page. After remove .maintenance file manually other seems no changes. Webhook works correctly.

How we can help me with that problem? Thank you!

skazhikadyadya avatar Jul 18 '18 03:07 skazhikadyadya

With enabled debug of site error log looks like that:

2018/07/18 01:36:50 [error] 12770#12770: *19575 FastCGI sent in stderr: "PHP message: '0 git \'status\' \'-s\' 2>&1'/n/n''/n/n
PHP message: '0 git \'rev-parse\' \'--abbrev-ref\' \'--symbolic-full-name\' \'@{u}\' 2>&1'/n/n'origin/master'/n/n
PHP message: '0 git \'fetch\' \'origin\' 2>&1'/n/n''/n/n
PHP message: '0 git \'status\' \'-s\' \'-b\' \'-u\' 2>&1'/n/n'## master...origin/master [behind 1]'/n/n
PHP message: '0 git \'rev-list\' \'master..origin/master\' \'--count\' 2>&1'/n/n'1'/n/n
PHP message: '0 git \'rev-list\' \'origin/master..master\' \'--count\' 2>&1'/n/n'0'/n/n
PHP message: '0 git \'diff\' \'-z\' \'--name-status\' \'master~0\' \'origin/master\' 2>&1'/n/n'M' . "\0" . 'tmmmp.php' . "\0" . ''/n/n
PHP message: '0 git \'config\' \'--get\' \'remote.origin.url\' 2>&1'/n/n'[email protected]:MyUser/my_project'/n/n
PHP message: '0 git \'rev-parse\' \'--abbrev-ref\' \'--symbolic-full-name\' \'@{u}\' 2>&1'/n/n'origin/master'/n/n
PHP message: '0 git \'rev-list\' \'@{u}..\' 2>&1'/n/n''/n/n
PHP message: '0 git \'rev-list\' \'..@{u}\' 2>&1'/n/n'06cb1a26d31a6db230953008bc081276c4782612'/n/n" while reading response header from upstream, client: 111.222.333.444, server: dev.myserver.com, request: "GET /wp-admin/admin.php?page=gitium/gitium.php HTTP/2.0", upstream: "fastcgi://127.0.0.1:9014", host: "dev.myserver.com", referrer: "https://dev.myserver.com/wp-admin/"
2018/07/18 01:37:31 [error] 12770#12770: *19575 FastCGI sent in stderr: "PHP message: '0 git \'add\' \'-n\' \'--all\' 2>&1'/n/n''/n/n
PHP message: '0 git \'add\' \'--all\' 2>&1'/n/n''/n/n
PHP message: '1 git \'commit\' \'-m\' \'Merged changes from https://dev.myserver/com on 07.18.2018\' \'--author\' \'My Name <my@emailcom>\' 2>&1'/n/n'On branch master
Your branch is behind \'origin/master\' by 1 commit, and can be fast-forwarded.
  (use "git pull" to update your local branch)

nothing to commit, working tree clean'/n/n" while reading response header from upstream, client: 37.57.106.39, server: dev.myserver.com, request: "POST /wp-admin/admin.php?page=gitium%2Fgitium.php HTTP/2.0", upstream: "fastcgi://127.0.0.1:9014", host: "dev.myserver.com", referrer: "https://dev.myserver.com/wp-admin/admin.php?page=gitium%2Fgitium.php"

skazhikadyadya avatar Jul 18 '18 08:07 skazhikadyadya

Hello, same error here.

cgnunezbantics avatar Oct 10 '18 20:10 cgnunezbantics

Hello, I disable de maintenance mode. In the file function.php from plugin, i change the name of file .maintenance for .maintenance.no in lines 29 y 41. This works.

cgnunezbantics avatar Oct 11 '18 14:10 cgnunezbantics