Skip to content
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]: 404 Folder Not Found #24

Closed
4 tasks done
nathanieltalbot opened this issue Sep 15, 2023 · 9 comments
Closed
4 tasks done

[Bug]: 404 Folder Not Found #24

nathanieltalbot opened this issue Sep 15, 2023 · 9 comments
Labels
bug Something isn't working

Comments

@nathanieltalbot
Copy link

Did you search for similar issues before submitting?

  • Yes, I've searched similar issues on GitHub and didn't find any.

Release version

0.1.10

Is it a permission issue?

What is your environment, configuration and the example used?

Trying to migrate Grafana 8 up to Grafana 9, and got this message for practically every dashboard migration.

All the folders migrated successfully, but only a few of the dashboards did, and it's unclear why. The majority of the dashboards failed with this message:

        warning: status: 404, body: {"message":"Folder not found","traceID":""}

I'm on MacOS, moving from Grafana 8.4 to Grafana 9.4.

Additional Information

No response

@nathanieltalbot nathanieltalbot added the bug Something isn't working label Sep 15, 2023
@bonclay7
Copy link
Member

bonclay7 commented Feb 6, 2024

Hey @nathanieltalbot, does the source Grafana comes from Amazon Managed Grafana?

@nathanieltalbot
Copy link
Author

@bonclay7 Hi, yes it does -- they are both AWS Managed Grafana instances, the source is Grafana 8 and the destination is Grafana 9.

@bonclay7
Copy link
Member

bonclay7 commented Feb 6, 2024

Thanks for the reply! How many dashboards / folders are you moving?

@nathanieltalbot
Copy link
Author

@bonclay7 We're moving 71 dashboards. The last time I checked, 47 dashboards were failing. For folders, we're trying to move 19 of them, although those are not failing.

@bonclay7
Copy link
Member

Hey there, can you checkout the debug-mode branch?

  • build locally go build . at the folder root
  • Run with verbose (-v)
./amazon-managed-grafana-migrator migrate --src g-xxx.grafana-workspace.eu-central-1.amazonaws.com --dst g-yyy.grafana-workspace.eu-central-1.amazonaws.com -v

@bonclay7
Copy link
Member

bonclay7 commented Mar 2, 2024

Hi there, any updates on the above?

@tyler-hc
Copy link

tyler-hc commented Mar 5, 2024

I was having this same issue, but migrating from a standard grafana to aws managed grafana. When I used the debug branch it seems to have worked. All of the dashboards are in the aws managed grafana build.

✔ Migrated 38 dashboards

@bonclay7
Copy link
Member

bonclay7 commented Mar 6, 2024

This branch fixed an edge case, Thanks for confirming @tyler-hc. Will fix the unit tests and merge it to release

@bonclay7
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants