Skip to content

fix: access to the apisix dashboard in dev returns 404#12376

Merged
bzp2010 merged 1 commit into
apache:masterfrom
bzp2010:bzp/fix-dev-ui-copy
Jun 24, 2025
Merged

fix: access to the apisix dashboard in dev returns 404#12376
bzp2010 merged 1 commit into
apache:masterfrom
bzp2010:bzp/fix-dev-ui-copy

Conversation

@bzp2010

@bzp2010 bzp2010 commented Jun 24, 2025

Copy link
Copy Markdown
Contributor

Description

  1. Incorrect use of COPY ui/* ui/ in Dockerfile destroys the structure of ui build products.
  2. APISIX_DASHBOARD_COMMIT is not specified, so problems may be encountered when clone code.

Fixes issue introduced by #12369

Checklist

  • I have explained the need for this PR and the problem it solves
  • I have explained the changes or the new features added to this PR
  • I have added tests corresponding to this change
  • I have updated the documentation to reflect this change
  • I have verified that this change is backward compatible (If not, please discuss on the APISIX mailing list first)

@bzp2010
bzp2010 marked this pull request as ready for review June 24, 2025 10:12
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. bug Something isn't working labels Jun 24, 2025
@bzp2010
bzp2010 merged commit 4ddb221 into apache:master Jun 24, 2025
23 checks passed
@bzp2010

bzp2010 commented Jun 24, 2025

Copy link
Copy Markdown
Contributor Author

After local testing after the merge, the issue has been fixed and the version code precisely matches the specified commit id.

image

@ikatlinsky

Copy link
Copy Markdown
Contributor

@bzp2010 @AlinsRan Hi! I am trying to check how the new dashboard is working on apisix 3.13. However, i am not able to access it.

I tried to access apisix/admin/ui and have the following error

{
error_msg: "failed to check token",
description: "missing apikey"
}

I tried the same request, but with the admin token supplied, I got the following error

{
	"error_msg": "Unsupported resource type: ui"
}

Before doing this, i enabled the dashboard in config.yaml:

enable_admin_ui: true

What may be the problem? It would also be nice to have documentation that explains how the new dashboard should be accessed and used. Thanks.

@Baoyuantop

Copy link
Copy Markdown
Contributor

Hi @ikatlinsky, just remove apisix/admin prefix.

@ikatlinsky

Copy link
Copy Markdown
Contributor

Hi @ikatlinsky, just remove apisix/admin prefix.

thanks for your reply, that worked, i had to modify admin related ingress to make it work.

can we expect updates to the helm chart to support new dashboard out of the box?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants