-
AuthorPosts
-
-
31. July 2022 at 17:49 - Views: 424 #13503
Hello,
I changed value in HTTPSForceRedirect check to Enabled.
Now I get the two error:
[Notice][Kernel::System::Web::InterfaceAgent::Run] HttpType https is set, but http is used!
How to reset HTTPSForceRedirect the value?[Error][Kernel::System::Web::InterfaceAgent::Run][Line:206]: Can’t connect to MySQL server on ‚127.0.o.1‘
docker exec -it otobo_db_1 mysql -u otobo -p
I connect to otobo database without a problem.
/var/lib/docker/volumes/otobo_opt_otobo/_data/Kernel/Config.pm :
DatabaseHost = ‚db‘;
DatabaseUser: otobo
DatabasePw: same password/opt/otobo/Kernel/Config.pm
DatabaseHost = ‚127.0.0.1‘;
DatabaseUser: otobo
DatabasePw: same passwordI tried to rebuild, but got error:
su -c „bin/otobo.Console.pl Maint::Cache::Delete“ -s /bin/bash otobo
su -c „bin/otobo.Console.pl Maint::Config::Rebuild –cleanup“ -s /bin/bash otobo
otobo.Console.pl: DBI connect(‚database=otobo;host=127.0.0.1;‘,’otobo‘,…) failed: Access denied for user ‚otobo’@’localhost‘ (using password: YES) at /opt/otobo/Kernel/System/DB.pm line 331.The database login details are correct. Why am I getting an error?
-
31. July 2022 at 18:51 #13505
Hi Eldaras,
first of all, your OTOBO configuration is not right. Please go to https://doc.otobo.org/manual/installation/10.1/en/content/installation-docker.html
and reinstall OTOBO again, that was the easiest way.Anyway, you need to have the same Config.pm file if you open it inside the container or outside? 127.0.0.1 is not right, please you „db“.
If you use HTTPSForceRedirect please be sure to configure OTOBO with HTTPS and also use the config option HTTPType = HTTPS inside OTOBO.
Config rebuild can’t help, because it’s not a reset, it only think the config from database again.
I wish you a nice evening,
Stefan
Team OTOBO
-
-
AuthorPosts
- You must be logged in to reply to this topic.