TinyBlazorAdmin icon indicating copy to clipboard operation
TinyBlazorAdmin copied to clipboard

GitHub action fails during Deploy TinyBlazorAdmin (the Frontend) step

Open fs366e2spm opened this issue 4 years ago • 7 comments

Not sure if I do something wrong or if I have made a mistake with my thinking.

When I create try to create a new Blazor Admin frontend as described in this step: https://github.com/FBoucher/TinyBlazorAdmin/blob/main/deployment.md#deploy-tinyblazoradmin-the-frontend the GitHub action fails with: "App Directory Location: 'src/TinyBlazorAdmin/' is invalid. Could not detect this directory. Please verify your workflow reflects your repository structure."

My GitHub repository where the TinyBlazorAdmin is deployed to is empty. Do I miss a step to prepare the and commit already some files or folder structure to the GitHub repository?

fs366e2spm avatar Feb 16 '21 15:02 fs366e2spm

Well... Found my first error... Missed the first part that a fork or the TinyBlazorAdmin repository is required. Good, done. Deleted everything and started from scratch, started the headerless auto deployment and created the static web app and followed the manual. Seems I'm still missing something or I'm using the wrong client ID. Unfortunately I can't login, get "There was an error trying to log you in: 'No account to get tokens for.'" Maybe I should just wait for the new auto deployment :-(

fs366e2spm avatar Feb 16 '21 23:02 fs366e2spm

I am having the same problem! I followed all the steps but can't login.

image

Another thing I found weird is; image

Shouldn't the repository be pointing to mine?

heyvoon avatar Mar 22 '21 18:03 heyvoon

Ok, I'll review the deployment doc and problem during tomorrow's stream. Feel free to join https://www.twitch.tv/fboucheros at 9am EST or watch the video on demand (VOD) on https://behindmycloud.com/

FBoucher avatar Mar 24 '21 00:03 FBoucher

I was finally able to get it working. But definitely your deployment documentation is very confusing to understand at first. Mostly because of the deceiving screenshots showing different information within. And after I really though I had it goin... the logout-callback doesn't work.

image

heyvoon avatar Mar 24 '21 07:03 heyvoon

Besides the previous problem... I am now having another issue... After following all the steps to add a custom domain. When trying to access the page with my custom domain I get the following; image

I have no idea what is missing.

Below is my settings.json....

image

I got it working without the custom domain (no way to get it working!) and the previous issue with the logout.

heyvoon avatar Mar 24 '21 14:03 heyvoon

My DNS configuration

image

heyvoon avatar Mar 30 '21 10:03 heyvoon

Try again with v3 it should be fixed.

FBoucher avatar Nov 25 '22 19:11 FBoucher