-
Notifications
You must be signed in to change notification settings - Fork 64
Description
Platform
Virtual Machine
bndiagnostic ID know more about bndiagnostic ID
29e64ff3-2694-0f3a-a433-ea95827ee7e1
bndiagnostic output
Apache Issue:
[ E 2025-12-11 15:27:46.5033 33163/T6 age/Cor/TelemetryCollector.h:455 ]: Error
contacting anonymous telemetry server: error setting certificate verify
locations: CAfile: /etc/pki/tls/certs/ca-bundle.crt CApath: none
We only run this server locally without SSL.
bndiagnostic was not useful. Could you please tell us why?
It did not reveal any issue with MySQL.
Describe your issue as much as you can
Environment:
Linux 6.1.0-39-amd64 Debian 6.1.148-1
Redmine version 4.2.1.stable
Ruby version 2.6.7-p197 (2021-04-05) [x86_64-linux]
Rails version 5.2.5
Database adapter Mysql2
When I try to remove a plugin from this instance of Redmine using the command sudo bundle exec rake redmine:plugins NAME=redmine_agile version=0 rails_env=production, then I get an error Mysql2::Error::ConnectionError: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2).
If I run netstat -anp|grep mysql, then it appears that MySQL is on a different socket.
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 1351/mysqld.bin
tcp6 0 0 :::33060 :::* LISTEN 1351/mysqld.bin
unix 2 [ ACC ] STREAM LISTENING 27022 1351/mysqld.bin /tmp/mysqlx.sock
unix 2 [ ACC ] STREAM LISTENING 27024 1351/mysqld.bin /opt/bitnami/mysql/tmp/mysql.sock
How can I make the bundle command use the correct mysql socket?