Jumoo / uSync.Complete.Issues

Public Issue tracker and roadmap for uSync.Complete
https://jumoo.co.uk/usync/complete/
2 stars 1 forks source link

uSync Complete shows Publish to and Pull content window empty / white with no text and displays no error in logs #118

Closed keitharowe closed 3 years ago

keitharowe commented 3 years ago

Describe the bug After upgrade to 8.10.1, the "Publish to..." and "Pull content..." are blank or empty. No errors are shown in console window and no errors in the log.

Version:

To Reproduce Steps to reproduce the behavior:

  1. Right click on content node
  2. Click on Publish To or Pull content
  3. Open blade / window is empty or white (see screenshot)

Expected behavior Expected to see a list of available servers.

Screenshots 121545669-b911c300-c9d8-11eb-8410-081ed23421a7

Screenshot 2021-06-10 103856 - Settings

Screenshot 2021-06-10 104006 - Push - Pull

Screenshot 2021-06-10 104506 - Push - Pull Empty

Other things A couple of additional items, Network Mode is set to False as we've been running uSync for a while and have transforms setup. I'm seeing the following warning messages under "Health Check"

warning:
Found 4 properties with no mappers
The following datatype editors have no known mappers

Umbraco.MarkdownEditor
ArticulateThemePicker
NestingContently
UmbracoForms.FormPicker
Missing mappers might mean that uSync is unable to calulate dependencies for media and documents.

You don't always need mappers (e.g if the property isn't storing links to pages or media) but you might. More info : https://docs.jumoo.co.uk/uSync/v8/developer/mappers/
KevinJump commented 3 years ago

Hi Keith,

are there any errors in the browser console ?

i would suggest you increment the clientDependency "version" value in your clientdependency.config file - this will ensure that umbraco doesn't return cached files to the browser.

Kevin

keitharowe commented 3 years ago

Kevin: We inject new clientDependency versions as part of our build pipeline and have been doing this for a long time. I pushed out a new build and experienced the same result, blank screen. However, I don’t have access to the file system to verify but we’ve been running this setup for 50+ Umbraco sites over the years and I suspect that is not the problem.

Also, no errors on the console.

-Keith

From: Kevin Jump @.> Sent: Thursday, June 10, 2021 10:58 To: Jumoo/uSync.Complete.Issues @.> Cc: Keith Rowe @.>; Author @.> Subject: Re: [Jumoo/uSync.Complete.Issues] uSync Complete shows Publish to and Pull content window empty / white with no text and displays no error in logs (#118)

Hi Keith,

are there any errors in the browser console ?

i would suggest you increment the clientDependency "version" value in your clientdependency.config file - this will ensure that umbraco doesn't return cached files to the browser.

Kevin

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Jumoo/uSync.Complete.Issues/issues/118#issuecomment-858695471, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADRK4INE7ROCQQHJ74UZZADTSDHFZANCNFSM46OVYVYQ.

KevinJump commented 3 years ago

:( -oh dear - i would have hoped for some errors in the browser 🤔

can you confirm if you do a hard refresh (so with dev tools open Ctrl-Shift-R) - just to double check also in the network tab of the browser are there any requests coming back with 500 errors ?

also you can confirm if the files have been updates (well the new files are there - if while logged in you go to https://yoursite/app_plugins/uSyncPublisher/publish_8100.js) - you should get a single comment from that file to confirm it is in place.

KevinJump commented 3 years ago

Just to add - we could check if the scripts are firing by looking in the network tab.

the first request that fires is a ?action=push (when you've select push) and this should return the servers:

e.g

image

keitharowe commented 3 years ago

Did a hard refresh, can’t hurt 😊

No 500 errors . I’m not seeing the first request with the querystring ?action=push.

Highlighted request when clicking “Publish to”

@.***D75DF2.A4830E00]

Just as an FYI, the “Publish To Server” off the “Save and Publish” yields this:

@.***D75DF3.65760B30]

Security / Permissions problem?

-Keith

From: Kevin Jump @.> Sent: Thursday, June 10, 2021 11:46 To: Jumoo/uSync.Complete.Issues @.> Cc: Keith Rowe @.>; Author @.> Subject: Re: [Jumoo/uSync.Complete.Issues] uSync Complete shows Publish to and Pull content window empty / white with no text and displays no error in logs (#118)

Just to add - we could check if the scripts are firing by looking in the network tab.

the first request that fires is a ?action=push (when you've select push) and this should return the servers:

e.g

[image]https://user-images.githubusercontent.com/431231/121555834-3d7d3980-ca0b-11eb-9707-b91d597b020f.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Jumoo/uSync.Complete.Issues/issues/118#issuecomment-858734106, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADRK4INLIQRJYTQSMRF7J6DTSDM3NANCNFSM46OVYVYQ.

keitharowe commented 3 years ago

Also, this does work too. https://yoursite/app_plugins/uSyncPublisher/publish_8100.js

Yields: // client dependency - cache buster

-Keith

From: Kevin Jump @.> Sent: Thursday, June 10, 2021 11:46 To: Jumoo/uSync.Complete.Issues @.> Cc: Keith Rowe @.>; Author @.> Subject: Re: [Jumoo/uSync.Complete.Issues] uSync Complete shows Publish to and Pull content window empty / white with no text and displays no error in logs (#118)

Just to add - we could check if the scripts are firing by looking in the network tab.

the first request that fires is a ?action=push (when you've select push) and this should return the servers:

e.g

[image]https://user-images.githubusercontent.com/431231/121555834-3d7d3980-ca0b-11eb-9707-b91d597b020f.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Jumoo/uSync.Complete.Issues/issues/118#issuecomment-858734106, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADRK4INLIQRJYTQSMRF7J6DTSDM3NANCNFSM46OVYVYQ.

KevinJump commented 3 years ago

Hi,think github mangled some of the response images in that post can you add them to the post via github ?

keitharowe commented 3 years ago

For completeness, this shows a missing favicon Screenshot 2021-06-10 123217 - 1 When clicking on the "Publish To" off the content node context menu Screenshot 2021-06-10 123333 -2

keitharowe commented 3 years ago

From the "save and publish" button when clicking Publish To Server image

KevinJump commented 3 years ago

:( - it is behaving like something isn't updated - or is missing,

When the publisher-dialog loads up it has angular config on it, and then angular should kick off an load the controller. if this was missing or had errors you would see this. in the console. and something should be displayed on the page even if its lots of squiggly brackets e.g {{ all of this is automatic as part of the platform, if thats not happening i am a bit stumped

for completeness: my request looks like this.

image

keitharowe commented 3 years ago

Ok fair, I’ll do a nuget package reinstall and report back, appreciate the help thus far.

-Keith

From: Kevin Jump @.> Sent: Thursday, June 10, 2021 12:45 To: Jumoo/uSync.Complete.Issues @.> Cc: Keith Rowe @.>; Author @.> Subject: Re: [Jumoo/uSync.Complete.Issues] uSync Complete shows Publish to and Pull content window empty / white with no text and displays no error in logs (#118)

:( - it is behaving like something isn't updated - or is missing,

When the publisher-dialog loads up it has angular config on it, and then angular should kick off an load the controller. if this was missing or had errors you would see this. in the console. and something should be displayed on the page even if its lots of squiggly brackets e.g {{ all of this is automatic as part of the platform, if thats not happening i am a bit stumped

for completeness: my request looks like this.

[image]https://user-images.githubusercontent.com/431231/121564611-8df89500-ca13-11eb-87f8-a6bbcec1d274.png

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/Jumoo/uSync.Complete.Issues/issues/118#issuecomment-858778205, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADRK4IJWECVRN3ILMTWLBZDTSDTZTANCNFSM46OVYVYQ.

keitharowe commented 3 years ago

There was a web application firewall blocking traffic to the uSync URL. Thank you very much for helping me troubleshoot the problem. I appreciate it.