Closed photogsy closed 1 year ago
Same symptoms here. Umbraco 11.3.1. (Dashboard 11.0) Works locally but not when built for deployment
Angular error in console:
Hi guys!
This has to be related to something about how the published artifacts are packed in your scenarios.
Do you have the same files in the App_Plugins folder on in the deployed version as you do locally?
The error message that you see @amitch17 indicates that the javascript controller is missing.
Maybe something in this thread could help you out? https://github.com/enkelmedia/TheDashboard/issues/83
I'm also working on a Razor Class Library-version of the package that will probably make the deployment experience better.
This should not be fixed in this release.
https://www.nuget.org/packages/Our.Umbraco.TheDashboard/11.1.0
Please re-open the issue if this does now work for you.
Cheers!
Hi sorry for radio silence, I will try the new version but to let you know, I was not seeing the dashboard even when running in debug in VS, so don't think it was a deployment issue for me. Will try new version next week.
Hi @enkelmedia, tried new version and same problem, still not showing anything at all. I'm running in VS debugger if that makes a difference.
Same here. No change with latest version. Works locally, not on build.
Although I don't trust our CI pipeline setup so I was going to investigate next to check.
Super-strange, already running this in multiple projects both in dev, stage and production.
Do you still see any folder called “Our.Umbraco.TheDashboard” in the “App_Plugins”-folder? If you do, remove this folder. Make sure to build the project, maybe also restart Visual Studio?
If this still does not work, could you explain more about your setup?
Also, if you could provide a step by step guide on how to re-produce? Starting from “dot net new Umbraco” (include tooling etc).
update: @photogsy did you install on Umbraco 11? This fix is only in the last ear version for Umbraco 11.
@enkelmedia Argh my apologies, I hadn't realised that the NuGet install doesn't automatically figure out which version to install based on the Umbraco version, so I had installed the latest version on a v10 Umbraco. I have downgraded to 10.0.1 and it now shows up as expected.
Unfortunately the dashboard is not quite showing what I'd hoped; I was hoping to get a list of nodes where a writer user had clicked "Send for approval", however it's just showing all nodes that have been saved but not published - nearly the same, but not quite! Do you think I can make some relatively easy tweaks to the code to get what we need?
@enkelmedia One more belated followup to say I did get this working. My issue was with the CI pipeline (Azure devops) which hadn't removed the files from the older version in the destination slot. Once they were cleared out, all is good.
Thank you for a useful package and your attentive support!
Great news @amitch17! Thanks for sharing the solution!
@photogsy The type of content that we list out of the box "is what is it" but if you have any specific needs you're more than welcome to fork the repository or create your own website specific version of The Dashboard.
I've installed this package on Umbraco 10.4.1 but the dashboard isn't showing. I noticed that the dll isn't in the bin directory and if I copy it from the package directory, Umbraco fails to start. Any idea what could be going on here?