Jan's Installation Error on Ubuntu 20.04 #6522
-
Hi All, I was getting below error while doing the fresher installation of Jans on ubuntu 20.04 AWS EC2 instance. Can you please help me to solve this error. Installing packages mysql-server The above exception was the direct cause of the following exception: Traceback (most recent call last): |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I had this issue too. One thing to check is that if you changed the pwd for the jans db user (a good practice), that you also the same value between the jans and mysql environment variables. Another observation is that it seems like the mysql root pwd must match the jans db password. I didn't have time to investigate that further. I never got past the access denied issue. I subsequently switched to an ldap install instead. If you're in a rush for a quick test environment that might be faster. docker-jans-monolith/jans-ldap-compose.yml |
Beta Was this translation helpful? Give feedback.
-
Hello, This error occurs because you have mysql installed on your instance previously. If you need currenlty installed mysql on your instance, chose "Remote MySQL", it will ask hostname and admin password. Hostname will be |
Beta Was this translation helpful? Give feedback.
-
Also keep in mind that the VM distribution of Janssen is only for development. We aren't publishing upgrade scripts or cluster deployment assets for VMs. |
Beta Was this translation helpful? Give feedback.
Hello,
This error occurs because you have mysql installed on your instance previously. If you need currenlty installed mysql on your instance, chose "Remote MySQL", it will ask hostname and admin password. Hostname will be
localhost
, and enter admin password, you will be good. If you don't need previously installed mysql, you have to remove it propery,apt remove mysql-server
is not enough. Please follow https://www.fosslinux.com/96135/how-to-properly-uninstall-mysql-server-in-ubuntu.htm