Copied to clipboard

Flag this post as spam?

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


  • Billy 53 posts 244 karma points c-trib
    Dec 17, 2020 @ 13:24
    Billy
    0

    Import not working on test invironment

    Hello,

    I'm trying to set up a test Umbraco installation on our IIS web server. When importing in uSync this error appears in the console:

    enter image description here

    The report button works fine and show my changes.

    Also noticed several warnings in the Umbraco log:

    enter image description here

    The import works on my local machine. Are there maybe any settings that I missed on the web server?

    Thanks in advance!

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Dec 17, 2020 @ 14:15
    Kevin Jump
    0

    Hi,

    Is the import working on the sever ?

    The handler warning in the log, just mean you don't have Content Edition installed, but it is configured in the uSync8.config file, you can stop those warnings (if you really don't want content edition) by setting the handlers mentioned in the list to false in the config.

    I think we should fix the console error, its an angularJS error because of the way the repeating items in the report are setup - it won't break anything but it would be good if it wasn't there.

  • Billy 53 posts 244 karma points c-trib
    Dec 17, 2020 @ 15:10
    Billy
    0

    Hello,

    The import is not working one the server.

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Dec 17, 2020 @ 15:26
    Kevin Jump
    0

    Any errors ? around that ? does the report for the import show any details ?

  • Billy 53 posts 244 karma points c-trib
    Dec 17, 2020 @ 16:49
    Billy
    0

    Hello,

    No other errors are visible. The import is stuck on this screen:

    enter image description here

    Running the report shows this result:

    enter image description here

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Dec 17, 2020 @ 16:54
    Kevin Jump
    0

    Hi ,

    when its stuck at initializing, are there any requests pending / or error-ed in the browsers diagnostic tools -> network tab ?

  • Billy 53 posts 244 karma points c-trib
    Dec 17, 2020 @ 17:03
    Billy
    0

    Hello Kevin,

    Following requests I could find in the network tab:

    enter image description here enter image description here enter image description here enter image description here enter image description here

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

    Hi,.

    yeah the import one seems wrong :(

    can you confirm the full path of that request ? and have you done anything like move/rename your umbraco folder ?

    Kevin

  • Billy 53 posts 244 karma points c-trib
    Dec 17, 2020 @ 17:29
    Billy
    0

    Hello Kevin,

    This is the full path:

    enter image description here

    I have not moved/renamed any umbraco folders. This is basically a fresh installation that I made. Installed Umbraco CMS & uSync via NuGet. Made couple of DocTypes for testing and uploaded everything via FTP to web server. Ran Umbraco setup on webserver and tried importing.

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

    Hi,

    the only real difference between the report and call, and the import one (that may result in it showing you the odd results) is that report is a post and import is a put request.

    it might be possible that your host is re-writing put requests so the import request is never getting through.

    this might be a setting you can see somewhere but i am not sure ?

  • Wolff 1 post 71 karma points
    Dec 18, 2020 @ 04:00
    Wolff
    0

    I have upgraded next.js from version 6 to 7, and running tests with jest now exits with the following: TypeError: require.resolveWeak is not a function

    Steps to reproduce the behavior, please provide code snippets or a repository:

    Clone Install dependencies Run yarn test See error

    Upsers

  • Billy 53 posts 244 karma points c-trib
    Dec 18, 2020 @ 11:55
    Billy
    0

    Hi Kevin,

    I tried making some changes according to this post to enable PUT on IIS https://stackoverflow.com/questions/12440277/how-do-i-enable-http-put-and-delete-for-asp-net-mvc-in-iis

    Updated handlers/modules in web.config. But nothing seems to help.

    I cannot adjust too much on the web server because it has a lot of production websites running. Wouldn't want to break anything.

    I'll have more time next week to look into this. Will update this post if a solutions has been found.

    Thanks for all the help.

  • whiteranger 3 posts 74 karma points
    Mar 25, 2021 @ 17:54
    whiteranger
    1

    Did you guys have any solutions for this? I'm also encountering the same stuck 'Initializing' message during import.

  • Kevin Jump 2310 posts 14695 karma points MVP 7x c-trib
    Mar 25, 2021 @ 20:14
    Kevin Jump
    0

    Hi, you should check a few things in the browser's network/console window.

    Common issues can be:

    • server not accepting put commands (like above thread)
    • Something else moving the signalR hub (this doesn't break it but you get no feedback - uintra is an example of a package that might do this. It's fixable but can be confusing)
    • changes to JsonSerialization - I think we have mostly addressed this but sometimes global JSON settings can cause objects returned to the browser to serialize in a different way and the JavaScript gets upset.

    So if there are any console or network errors they might help us work it out.

    Or anything in the Umbraco logs (settings/log viewer)

    edit: fixed few things don't answer on your phone

Please Sign in or register to post replies

Write your reply to:

Draft