Copied to clipboard

Flag this post as spam?

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


  • Josip 195 posts 662 karma points c-trib
    Feb 17, 2020 @ 21:48
    Josip
    0

    Import fail

    I have 2 enviroments, on staging enviroment everything working fine but on production enviroment I am getting message "failed" when I try to import changes.

    There is no errors in Umbraco log viewer which could tell me more about this.

    Only change I am making is this one: enter image description here

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Feb 17, 2020 @ 22:36
    Kevin Jump
    0

    Hi Josip,

    what version of uSync do you have installed?

    if you are running 8.5 and you turn on debug logging for uSync by adding the following line to the serilog.config file, you should get more info in the log viewer.

    <add key="serilog:minimum-level:override:uSync8" value="Debug" />
    
  • Josip 195 posts 662 karma points c-trib
    Feb 17, 2020 @ 23:01
    Josip
    0

    Hi Kevin,

    I am running 8.2.3 version of uSync and 8.2.1 Umbraco version, can I upgrade usync without upgrading umbraco version without the problem?

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Feb 17, 2020 @ 23:03
    Kevin Jump
    0

    Hi,

    yes you can upgrade uSync to the latest version as it is backward compatible.

    Although I will end this with my recommendation to anyone running a version of prior to Umbraco 8.3 : You should upgrade there are loads of fixes (especially around caching) from 8.3 that make things more stable, and quicker.

  • Josip 195 posts 662 karma points c-trib
    Feb 17, 2020 @ 23:07
    Josip
    0

    Thanks, I will try to upgrade usync first and than when I fix the problem with syncronasing than I will upgrade to the latest version.

  • Josip 195 posts 662 karma points c-trib
    Feb 18, 2020 @ 01:13
    Josip
    0

    After I have upgraded uSync to the latest version I have done what you said: enter image description here

    but when I try to import changes there is still no error message in umbraco log viewer, I am getting messages like this, when I ask for report in uSync, but there is no error messages enter image description here

    enter image description here

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Feb 18, 2020 @ 09:18
    Kevin Jump
    0

    :(

    OK, are there any errors in the browser's console window? (ctrl-shift-i)

  • Josip 195 posts 662 karma points c-trib
    Feb 18, 2020 @ 11:52
    Josip
    0

    Yes there is something, but I am not smarter after i read it :) Yellow warrnings are there before import and red one is after submiting import button. None of this error exist on my staging enviroment.

    enter image description here

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Feb 18, 2020 @ 12:09
    Kevin Jump
    0

    yeah me nether :(

    if you try the import with the console debug window open there should also be an error in the network tab - this will have a red line for the import, and should give you an actual error when you click on it and view the response (fingers crossed)

  • Josip 195 posts 662 karma points c-trib
    Feb 18, 2020 @ 12:30
    Josip
    0

    This are all messages i can see from the error , also one of them say: The requested resource does not support http method 'GET'.

    enter image description here

    enter image description here

  • Kevin 7 posts 27 karma points
    Mar 03, 2020 @ 14:21
    Kevin
    0

    Was there any steps to avoid this 'failed' error?

    I'm developing a site and when moving from local to server I cannot import the changes. I don't want to have to export the db each time but I cannot resolve the import issue.

    Any suggestions as I'm seeing the same issue as Josip.?

  • Josip 195 posts 662 karma points c-trib
    Mar 03, 2020 @ 14:34
    Josip
    0

    Hi Kevin, I didnt solve this issue by myself, I asked my friend to check this issue on server side and he disabled "WebDAV" and now it works. I dont know more details about it.

    I hope it helps.

    BR

    Josip

  • Kevin 7 posts 27 karma points
    Mar 03, 2020 @ 14:38
    Kevin
    0

    Thanks for the response Josip,

    I'm putting a site on a shared hosting environment so I'll have to see what options I have in disabling WebDAV.

    Thanks again,

    Kev

  • Christian Tricarico 12 posts 92 karma points c-trib
    Feb 13, 2021 @ 12:57
    Christian Tricarico
    0

    Hi guys,

    I deployed my site in shared hosting and I'm struggling with the same issue. My uSync version is 8.8.3.0. I get a generic "failed" error message on import. No entries in log viewer, unfortunately.

    I read about the WebDAV solution but I don't see anything about this option on my hosting settings.

    Any idea? Thanks in advance

  • Kevin 7 posts 27 karma points
    Feb 13, 2021 @ 13:58
    Kevin
    0

    Hi Christian,

    I was never able to find a way to resolve the issue on shared hosting.

    During development I had to back up the server db, copy it back to local, import usync changes, copy the db back to the server and deploy any code changes! Not ideal but it was a small enough site to just put up with the process.

    Hope you have better luck!

    Kev

  • Christian Tricarico 12 posts 92 karma points c-trib
    Feb 13, 2021 @ 14:42
    Christian Tricarico
    0

    In order to provide a complete scenario, these are the errors I have in the chrome dev console. The first one (WebSocket) appears when the page load. The second one when I click on Import.

    In addition, after enabling Debug logging for uSync I found an interesting message in the log viewer: Can't ping for version, "An error occurred while sending the request." (see image). Could It be related to the issue?

    Chrome dev console errors

    Umbraco log viewer

Please Sign in or register to post replies

Write your reply to:

Draft