Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Harrison Fleetwood 24 posts 179 karma points
    7 days ago
    Harrison Fleetwood
    0

    uSync import "Failed" message

    Hi,

    We have uSync v8.2.3.0 installed on an Umbraco 8.1.5 installation.

    uSync works fine on our staging environment, any changes made on dev can be imported in to staging, but on the production server when we click the "Import" button, we just get a Failed message.

    There's no errors logged in the Log Viewer, and looking in dev tools it's just a generic:

    500 - Internal Server Error There is a problem with the resource you are looking for, and it cannot be displayed.

    We don't have any special setup with this, it's the same way we've installed uSync on all our projects and never had any problem.

    Is there a way to get more verbose logging for uSync errors in v8? Not sure how to enable debug messages like we could in v7.

  • Kevin Jump 1486 posts 9550 karma points MVP 3x c-trib
    4 days ago
    Kevin Jump
    0

    Hi,

    it sounds like you might have an issue with missing dlls or files as the error is fairly generic - might be best to just confirm the production server has the uSync8 dll files that are in your staging environment.

    I think all errors are logged by Umbraco as a minimum so there should be something in the log for the 500 error even if there aren't any uSync ones?

    I haven't truly gotten to grips with how the logging config in v8 works at the moment but i think adding

    <add key="serilog:minimum-level:override:uSync8" value="Debug"/>
    

    to the serilog.config file will turn on the debugging logging for uSync.

  • Harrison Fleetwood 24 posts 179 karma points
    4 days ago
    Harrison Fleetwood
    0

    I've double checked that the uSync DLLs have gone up correctly, and everything looks identical to Staging. Weridly the reporting functionality works fine on Production, and it reports the changes correctly that are awaiting import.

    I enable the debug logs, and that doesn't shine any more light on. I can see uSync starting up fine on app restart, and the report method logs everything fine, but absolutely nothing is logged in regards to the failed Import.

    If I set debug to true in web.config on production, I get a little more insight in to the error. Checking dev tools, the error is:

    PUT https://nualtra.thetestingsites.co.uk/umbraco/backoffice/uSync/uSyncDashboardApi/import 500   - angular.js
    

    With xhr.send(isUndefined(post) ? null : post); being the offending line.

  • Kevin Jump 1486 posts 9550 karma points MVP 3x c-trib
    4 days ago
    Kevin Jump
    0

    Hi

    is there anything in the network tab of chrome dev tools, the 500 should be coming from the server and is probably passing a bit more info that hopefully would show up in the network tab

  • Harrison Fleetwood 24 posts 179 karma points
    4 days ago
    Harrison Fleetwood
    0

    The only thing that comes from the network tab is the generic 500 error

    500 - Internal Server Error There is a problem with the resource you are looking for, and it cannot be displayed.

Please Sign in or register to post replies

Write your reply to:

Draft