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

Migrated from 0.x to 1.x and dashboard not loading. #40

Open
SohamJa1n opened this issue Sep 20, 2023 · 6 comments
Open

Migrated from 0.x to 1.x and dashboard not loading. #40

SohamJa1n opened this issue Sep 20, 2023 · 6 comments

Comments

@SohamJa1n
Copy link

I read in the new docs that the dashboard has been bundled separately as a pages project however I'm not sure how to deploy the pages project as it isn't showing up in my pages dashboard nor is the worker route working.

@G4brym
Copy link
Owner

G4brym commented Sep 20, 2023

For anyone wanting to deploy their own Pages project, all you need to do is to Fork the github repo, and create a new Cloudflare Pages project connected to your own Git repository and set the Root directory to packages/dashboard, then in your R2Explorer() configuration define the dashboardUrl setting to the url of your new project (ex: https://demo.r2explorer.dev).

Hey @SohamJa1n, as the guide says, you need to fork this repository first, and from what i can see on your public repositories, you didn't do this step. After this you need to go to the Cloudflare dashboard and create a new project, by connecting the your ned github repository

@SohamJa1n
Copy link
Author

Ahhh ok I thought it would happen automatically for some reason. Will do this

@SohamJa1n
Copy link
Author

Hmm, i did this and it just shows a white page. Any ideas? @G4brym

@G4brym
Copy link
Owner

G4brym commented Sep 21, 2023

you need to provide more information for me to be able to help
have you defined the dashboardUrl flag pointing to your newly created pages project url?

@SohamJa1n
Copy link
Author

Yes it is, should it be my pages.dev or custom domain?
image

@G4brym
Copy link
Owner

G4brym commented Sep 21, 2023

the host https://share.sohamjain.co.uk/appears to be a custom domain of a R2 bucket, and not a custom domain of a Pages project
Try the pages.dev domain

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants