-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
I have the following error when i run the container with the command that you provide.
Any sugestions?
-v `pwd`/RT_SiteConfig.d:/opt/rt/etc/RT_SiteConfig.d/ \
-p 8000:8000 \
quay.io/abh/rt:latest
[7] [Thu Dec 20 15:19:11 2018] [warning]: DBI connect('dbname=rt4;host=localhost','rt_user',...) failed: Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2 "No such file or directory") at /usr/local/share/perl5/site_perl/DBIx/SearchBuilder/Handle.pm line 106. (/usr/share/perl5/core_perl/Carp.pm:169)
RT couldn't connect to the database where tickets are stored.
If this is a new installation of RT, you should visit the URL below
to configure RT and initialize your database.
If this is an existing RT installation, this may indicate a database
connectivity problem.
The error RT got back when trying to connect to your database was:
Connect Failed Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2 "No such file or directory")
at /opt/rt/sbin/../lib/RT.pm line 221.
[7] [Thu Dec 20 15:19:11 2018] [warning]: DBI connect('dbname=rt4;host=localhost','rt_user',...) failed: Can't connect to local MySQL server through socket '/run/mysqld/mysqld.sock' (2 "No such file or directory") at /usr/local/share/perl5/site_perl/DBIx/SearchBuilder/Handle.pm line 106. (/usr/share/perl5/core_perl/Carp.pm:169)
[7] [Thu Dec 20 15:19:12 2018] [critical]: Can't call method "AddRight" on an undefined value at /opt/rt/local/plugins/RT-Authen-Token/lib/RT/Authen/Token.pm line 7.
Compilation failed in require at /opt/rt/sbin/../lib/RT.pm line 775. (/opt/rt/sbin/../lib/RT.pm:408)
Can't call method "AddRight" on an undefined value at /opt/rt/local/plugins/RT-Authen-Token/lib/RT/Authen/Token.pm line 7.
Compilation failed in require at /opt/rt/sbin/../lib/RT.pm line 775```
Metadata
Metadata
Assignees
Labels
No labels