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

Showing datapoints/Tracks in Webbrowser is broken after upgrade/downgrade of mysql #12

Open
marc4s opened this issue Aug 4, 2023 · 0 comments

Comments

@marc4s
Copy link

marc4s commented Aug 4, 2023

Hi,

somehow the view of datapoints is broken in my instance. Via Phonetrack-App it is still fine.

From my point of view it was general broken after the latest mysql/libmysql security update

Upgrade: libmysqlclient-dev:amd64 (8.0.33-0ubuntu0.20.04.2, 8.0.33-0ubuntu0.20.04.4), mysql-client-8.0:amd64 (8.0.33-0ubuntu0.20.04.2, 8.0.33-0ubuntu0.20.04.4), mysql-server:amd64 (8.0.33-0ubuntu0.20.04.2, 8.0.33-0ubuntu0.20.04.4), mysql-server-8.0:amd64 (8.0.33-0ubuntu0.20.04.2, 8.0.33-0ubuntu0.20.04.4), mysql-client:amd64 (8.0.33-0ubuntu0.20.04.2, 8.0.33-0ubuntu0.20.04.4), mysql-client-core-8.0:amd64 (8.0.33-0ubuntu0.20.04.2, 8.0.33-0ubuntu0.20.04.4), libmysqlclient21:amd64 (8.0.33-0ubuntu0.20.04.2, 8.0.33-0ubuntu0.20.04.4), mysql-server-core-8.0:amd64 (8.0.33-0ubuntu0.20.04.2, 8.0.33-0ubuntu0.20.04.4)

as after this upgrade everything was broken. webview, update and view view phonetrack.
the only hint from logfile:

2023/07/26 13:14:43 [error] 1583#1583: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory in /data1TB/www/nextcloud/lib/private/DB/Connection.php:139
Stack trace:
#0 /data1TB/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1519): OC\DB\Connection->connect()
#1 /data1TB/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1041): Doctrine\DBAL\Connection->getWrappedConnection()
#2 /data1TB/www/nextcloud/lib/private/DB/Connection.php(261): Doctrine\DBAL\Connection->executeQuery()
#3 /data1TB/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\DB\Connection->executeQuery()
#4 /data1TB/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(281): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /data1TB/www/nextcloud/lib/private/AppConfig.php(419): OC\DB\QueryBuilder\QueryBuilder->execute()
#6 /data1TB/www/nextcloud/lib/private/AppConfig.php(184): OC\AppConfig->loadConfigValu" while reading response header from upstream, client: 2a03:4000:24:10::1, server: nextcloud.HOSTNAME.de, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.1-fpm.sock:", host: "nextcloud.HOSTNAME.de:PORT", referrer: "https://nextcloud.HOSTNAME.de:PORT/"
2023/07/26 13:14:43 [error] 1583#1583: *1 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Uncaught Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [2002] No such file or directory in /data1TB/www/nextcloud/lib/private/DB/Connection.php:139
Stack trace:
#0 /data1TB/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1519): OC\DB\Connection->connect()
#1 /data1TB/www/nextcloud/3rdparty/doctrine/dbal/src/Connection.php(1041): Doctrine\DBAL\Connection->getWrappedConnection()
#2 /data1TB/www/nextcloud/lib/private/DB/Connection.php(261): Doctrine\DBAL\Connection->executeQuery()
#3 /data1TB/www/nextcloud/3rdparty/doctrine/dbal/src/Query/QueryBuilder.php(345): OC\DB\Connection->executeQuery()
#4 /data1TB/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php(281): Doctrine\DBAL\Query\QueryBuilder->execute()
#5 /data1TB/www/nextcloud/lib/private/AppConfig.php(419): OC\DB\QueryBuilder\QueryBuilder->execute()
#6 /data1TB/www/nextcloud/lib/private/AppConfig.php(184): OC\AppConfig->loadConfigValu" while reading response header from upstream, client: 2a03:4000:24:10::1, server: nextcloud.HOSTNAME.de, request: "PUT /ocs/v2.php/apps/user_status/api/v1/heartbeat?format=json HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.1-fpm.sock:", host: "nextcloud.HOSTNAME.de:PORT", referrer: "https://nextcloud.HOSTNAME.de:PORT/"
2023/07/26 13:17:26 [error] 1583#1583: *52 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 2a02:3031:201:dde5:f555:dfb2:261b:268c, server: nextcloud.HOSTNAME.de, request: "POST /index.php/apps/phonetrack/logPost/f6a6163b381408e5adbdc0e05f9efe14/M2102J20SGPocoX3 HTTP/1.1", upstream: "fastcgi://unix:/var/run/php/php8.1-fpm.sock", host: "nextcloud.HOSTNAME.de:PORT"
2023/07/26 13:20:14 [error] 1583#1583: *65 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 2a03:4000:24:10::1, server: nextcloud.HOSTNAME.de, request: "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.1-fpm.sock", host: "nextcloud.HOSTNAME.de:PORT", referrer: "https://nextcloud.HOSTNAME.de:PORT/"
2023/07/26 13:20:25 [error] 1583#1583: *87 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 2a03:4000:24:10::1, server: nextcloud.HOSTNAME.de, request: "GET /apps HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php8.1-fpm.sock", host: "nextcloud.HOSTNAME.de:PORT"

after downgrading the packages above to "8.0.33-0ubuntu0.20.04.2" pohnetrack-android was able to send updates to the server and the phoinetrack app is able to show the datapoints. but not the webview in browser. it is still broken...

Would be great to get some help for fixing the webview

@marc4s marc4s changed the title Showing datapoints/Tracks in Webbrowser is broken Showing datapoints/Tracks in Webbrowser is broken after upgrade/downgrade of mysql Aug 4, 2023
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

1 participant