Copied to clipboard

Flag this post as spam?

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


  • Claushingebjerg 939 posts 2574 karma points
    Jul 05, 2013 @ 13:19
    Claushingebjerg
    0

    Unable to install packages.

    Im unable to install packages on the site... Is this a known issue?

    I get yellow screen of death when trying to aceess the package repo or installing a local package.

     

  • Niels Lynggaard 192 posts 550 karma points
    Jul 05, 2013 @ 13:54
    Niels Lynggaard
    0

    What does the error say? There should be a hint about what went wrong. If not, try to set CustomErrors=Off in web.config to get the errormessage to display.

    One guess would be that the permissions are not set correctly so the packages can't be installed?

    I usually let the app pool have permissions set through a .bat script that I run in the website root:

    icacls app_code /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)RX
    icacls app_browsers /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)RX
    icacls app_data /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)M
    REM icacls bin /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)R
    icacls bin /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)M
    icacls config /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)M
    icacls css /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)M
    icacls data /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)M
    icacls masterpages /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)M
    icacls macroscripts /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)M
    icacls media /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)M
    icacls python /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)M
    icacls scripts /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)M
    icacls umbraco /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)M
    icacls usercontrols /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)M
    icacls xslt /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)M
    icacls web.config /grant "IIS APPPOOL\yourapppoolhere":(OI)(CI)M
    icacls web.config /grant "IIS APPPOOL\yourapppoolhere":M

    Sometimes its nessesary to have the "Network Service" also have these rights, I think that may have to do with the trust-level.

    If you want to try, just copy my script into a new txt and save it with the .bat extension. (Change yourapppoolhere with the name of your app pool).

    Hope that solves it :)

  • Claushingebjerg 939 posts 2574 karma points
    Jul 05, 2013 @ 13:58
    Claushingebjerg
    0

    Thanks Niels, but we're talking umbraco as a service here :)

    Theres no access to IIS or App pools.

  • Niels Lynggaard 192 posts 550 karma points
    Jul 05, 2013 @ 14:06
    Niels Lynggaard
    0

    Aaaah, my bad... Didn't see that.

    Hmm.. Interesting though :)

  • Paul Sterling 718 posts 1534 karma points MVP 9x admin c-trib
    Aug 15, 2013 @ 21:15
    Paul Sterling
    0

    Claus -

    Does the YSOD have a stck trace?  If so, can you provide it?  The UaaS base site is designed to allow package installs...so wondering if there's more information there that will point up the root cause.

    -Paul

  • Paul Sterling 718 posts 1534 karma points MVP 9x admin c-trib
    Aug 15, 2013 @ 21:51
    Paul Sterling
    0

    Hi Claus -

    I think your instance may be missing the createdPackages.config file in \app_data\packages\created\

    If you'll add one via the site's Git repo I think package installation will work as intended.

    Best, -Paul

  • Claushingebjerg 939 posts 2574 karma points
    Aug 16, 2013 @ 08:14
    Claushingebjerg
    0

    Well, another problem has come in to play :) I cant access the site right now. Getting a 502

Please Sign in or register to post replies

Write your reply to:

Draft