Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrating from 2.3.15 to 2.3.18 does not work #397

Open
johan-smits opened this issue Jan 15, 2021 · 3 comments
Open

Migrating from 2.3.15 to 2.3.18 does not work #397

johan-smits opened this issue Jan 15, 2021 · 3 comments

Comments

@johan-smits
Copy link

johan-smits commented Jan 15, 2021

When upgrading the container stops working. Did not see any changes in the changelog that might need configuration changes.

Here is a log of the console output:

172.31.19.170 - - [15/Jan/2021:08:17:34 +0000] "GET / HTTP/1.1" 500 581781 "-" "kube-probe/1.18+" "-"
2021/01/15 08:17:34 [error] 73#73: *9 FastCGI sent in stderr: "PHP message: [2021-01-15 08:17:34] production.ERROR: ErrorException: count(): Parameter must be an array or an object that implements Countable in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:1161
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'count(): Parame...', '/var/www/html/v...', 1161, Array)
#1 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1161): count(NULL)
#2 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1395): Illuminate\Database\Eloquent\Builder->callScope(Array, Array)
#3 [internal function]: Illuminate\Database\Eloquent\Builder->__call('notScheduled', Array)
#4 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(3505): call_user_func_array(Array, Array)
#5 [internal function]: Illuminate\Database\Eloquent\Model->__call('notScheduled', Array)
#6 /var/www/html/vendor/laravel/framework/src/" while reading response header from upstream, client: 172.31.19.170, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "172.31.16.158:8000"
2021/01/15 08:17:34 [warn] 73#73: *9 an upstream response is buffered to a temporary file /tmp/fastcgi/4/00/0000000004 while reading upstream, client: 172.31.19.170, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "172.31.16.158:8000"
[15-Jan-2021 08:17:57] WARNING: [pool www] child 84 said into stderr: "NOTICE: PHP message: [2021-01-15 08:17:57] production.ERROR: ErrorException: count(): Parameter must be an array or an object that implements Countable in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:1161"
[15-Jan-2021 08:17:57] WARNING: [pool www] child 84 said into stderr: "Stack trace:"
[15-Jan-2021 08:17:57] WARNING: [pool www] child 84 said into stderr: "#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'count(): Parame...', '/var/www/html/v...', 1161, Array)"
[15-Jan-2021 08:17:57] WARNING: [pool www] child 84 said into stderr: "#1 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1161): count(NULL)"
[15-Jan-2021 08:17:57] WARNING: [pool www] child 84 said into stderr: "#2 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1395): Illuminate\Database\Eloquent\Builder->callScope(Array, Array)"
[15-Jan-2021 08:17:57] WARNING: [pool www] child 84 said into stderr: "#3 [internal function]: Illuminate\Database\Eloquent\Builder->__call('notScheduled', Array)"
[15-Jan-2021 08:17:57] WARNING: [pool www] child 84 said into stderr: "#4 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(3505): call_user_func_array(Array, Array)"
[15-Jan-2021 08:17:57] WARNING: [pool www] child 84 said into stderr: "#5 [internal function]: Illuminate\Database\Eloquent\Model->__call('notScheduled', Array)"
[15-Jan-2021 08:17:57] WARNING: [pool www] child 84 said into stderr: "#6 /var/www/html/vendor/laravel/framework/src/..."
172.31.19.170 - - [15/Jan/2021:08:17:57 +0000] "GET / HTTP/1.1" 500 391646 "-" "kube-probe/1.18+" "-"
2021/01/15 08:17:57 [error] 73#73: *11 FastCGI sent in stderr: "PHP message: [2021-01-15 08:17:57] production.ERROR: ErrorException: count(): Parameter must be an array or an object that implements Countable in /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php:1161
Stack trace:
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'count(): Parame...', '/var/www/html/v...', 1161, Array)
#1 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1161): count(NULL)
#2 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1395): Illuminate\Database\Eloquent\Builder->callScope(Array, Array)
#3 [internal function]: Illuminate\Database\Eloquent\Builder->__call('notScheduled', Array)
#4 /var/www/html/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(3505): call_user_func_array(Array, Array)
#5 [internal function]: Illuminate\Database\Eloquent\Model->__call('notScheduled', Array)
#6 /var/www/html/vendor/laravel/framework/src/" while reading response header from upstream, client: 172.31.19.170, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "172.31.16.158:8000"
2021/01/15 08:17:57 [warn] 73#73: *11 an upstream response is buffered to a temporary file /tmp/fastcgi/5/00/0000000005 while reading upstream, client: 172.31.19.170, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "172.31.16.158:8000"
@alexsanderp
Copy link

I have the same problem

@mahernoz-d
Copy link

I too have the same problem

@johan-smits
Copy link
Author

@mahernoz-d @alexsanderp did one of you already solved this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants