Copied to clipboard

Flag this post as spam?

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


  • David Amri 195 posts 700 karma points
    Aug 01, 2018 @ 08:56
    David Amri
    0

    Download url or domain of packages in umbraco

    Hi,

    What is the domian or url of the packages in Umbraco. I'think I have a issue with my CSP settings. The install process stops halfway thru and it might be because of the CSP settings I have. So I would like to check if the location of the packages are added to the settings.

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Aug 01, 2018 @ 09:01
    Alex Skrypnyk
    100

    Hi David

    I think that domain is https://our.umbraco.com/

    Thanks

    Alex

  • David Amri 195 posts 700 karma points
    Aug 01, 2018 @ 09:05
    David Amri
    0

    Thanks Alex,

    That's strange, I already have that domain in the CSP value. Have to look in to it more then.

  • David Amri 195 posts 700 karma points
    Aug 01, 2018 @ 09:07
    David Amri
    0

    I'm getting this error in the console when I try to install the package?

    "GET http://localhost:50358/umbraco/backoffice/UmbracoApi/PackageInstall/Fetch?packageGuid=fef6e0cd-9b1a-4aef-911d-2fa3218a1d60 400 (Bad Request)"

    Any Idea?

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Aug 01, 2018 @ 09:18
    Alex Skrypnyk
    0

    If you have a look at this method in core - https://github.com/umbraco/Umbraco-CMS/blob/ae5a5bd2c00379d25eb2cc8ce5e64158900c70d5/src/Umbraco.Web/Editors/PackageInstallController.cs#L474

    There is nothing about network connection, maybe something wrong with access to the disk?

  • David Amri 195 posts 700 karma points
    Aug 01, 2018 @ 10:01
    David Amri
    0

    Thanks for your help Alex,

    I'm not sure but it looks like the package got installed.

    One more question thou. If i take a look inside the installedPackages.config file. Now there is one package id for the previous version of the package and a second for the new version. Is this normal? In my mind the older version would get removed upon upgrading the same package to a new version?

    <package id="1" version="1.0" name="ThePackge">
    </package>
    
    <package id="2" version="1.1" name="ThePackge">
    </package>
    
  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Aug 01, 2018 @ 11:43
    Alex Skrypnyk
    0

    What about "packageGuid" attribute? I believe that "packageGuid" is more important then id in that config, agree with you that older package entry should be removed.

  • David Amri 195 posts 700 karma points
    Aug 01, 2018 @ 11:46
    David Amri
    0

    Okey, so I found source of the problem. I had a rewrite rule that caused the package not to complete the install process...

    So i guess it got "kind of installed" but didn't complete all of the processes.

  • Alex Skrypnyk 5908 posts 22603 karma points MVP 4x admin c-trib
    Aug 01, 2018 @ 11:57
    Alex Skrypnyk
    0

    Glad that issue has been fixed :)

  • David Amri 195 posts 700 karma points
    Aug 01, 2018 @ 11:57
    David Amri
    0

    Thank you for your time Alex!

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies