I migrated the Metabase application from DO to AWS by copying the metabase directory. Then, migrated from h2 to AWS RDS MySQL successfully. I set up nginx and certbot and CloudFlare with a different record, so far the login page open successfully.
However, when I tried to login even via google or email, this error appears on the browser console: [GSI_LOGGER]: The given origin is not allowed for the given client ID.
Note: I used a different domain name for the newly migrated app.
@flamber I have another issue
When I try to ask a question I get this error:
(conn=90953) Access denied for user 'lexer_readonly'@'IP_ADDRESS '
(using password: YES) Current charset is UTF-8. If password has been set using another charset, consider using option 'passwordCharacterEncoding'
@obadaqaf Guessing you're using MySQL 8: https://www.metabase.com/docs/latest/databases/connections/mysql
If you are using regular MySQL, then you need to allow access to the specifically user, so Metabase can connect to it. Have a look around the internet, it's a MySQL specific thing, not Metabase.
@flamber The error is about 'lexer_readonly' user which is not the user I specified in the database connection string in metabase service.
The error also says that the access denied for 'lexer_readonly'@'IP_ADDRESS ', this IP address is the private IP of the Metabase server but the database (MySQL) is on a separated server (AWS RDS) .
I wonder if I followed the right steps to migrate Metabase?
@obadaqaf Without full logs, then I don't know where you snippets are from, but I'm guessing you have a connection in Admin > Databases with that reference. Fix that.
The MySQL (important, again it's not Metabase) says the error is:
Access denied for user 'lexer_readonly'@'IP_ADDRESS'
So the MySQL server says that the user specified is not allowed to login via that IP (which is the IP of the Metabase host).