-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Report: Vtadmin page does not show any data on first install in version 19 #15833
Comments
To add to this issue, when reproducing the steps in the consol we can see that API requests are blocked by CORS as seen in the log below (visible in the web consol). This issue happens even though we use the URL printed by the 101 script and also when going on
|
Thanks @frouioui ! Would you mind sharing where you see the |
Good news is that after normalizing the hostnames in the start up scripts, this works fine now: from #15839 |
@bantyK can you share your output from running |
hi @notfelineit I had to do a fresh install and now its working. Thank you for fixing this. :) |
@bantyK yay that's great! 🥳 |
Overview of the Issue
Upon following all the steps mention in Local install via source in mac, after running the script
./101_initial_cluster.sh
script the command output in the terminal shows all steps being run successfully but the vtadmin UI portal shows no data. Keyspace, cluster, schema etc all show "No result".The script output is shown below
Underlying database is created as shown in the screenshot below.
Vtadmin shows no data
Create keyspace page also shows error
Further more the last step in the document asks to run the command
source ../common/env.sh
does not work in mac and fails with the error../common/env.sh:83: command not found: shopt
Reproduction Steps
Go to this link: https://vitess.io/docs/19.0/get-started/local-mac/
Do a clean installation.
Run the last 101_initial_cluster.sh
Open the vtadmin portal via http://:14200/api/clusters (this is the URL given by the 101_initial_cluster.sh script
Observe the count of keyspaces, Gates, Clusters etc. They will all be 0
Binary Version
vtgate version Version: 20.0.0-SNAPSHOT (Git revision 1fd6d904ed1994a91f0901704f15123a292ef205 branch 'main') built on Thu May 2 12:05:40 IST 2024 by bantyk@bantyk-P32N2QYH2C using go1.22.2 darwin/arm64
Operating System and Environment details
Log Fragments
No response
The text was updated successfully, but these errors were encountered: