Copied to clipboard

Flag this post as spam?

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


  • Sebastian Dammark 583 posts 1407 karma points
    Mar 25, 2013 @ 12:54
    Sebastian Dammark
    0

    Umbraco v6 clean install stuck at 5%

    Hi Folks

    I have an Umbraco V6 (6.0.2) which is stuck at 5%.
    Web and DB (mssql) are running on the same machine.

    In 4.11.5 my connection string looks like this:

    <add key="umbracoDbDSN" value="server=.;initial catalog=dbname;user id=dbuser;password=dbpass" />

    I've also tried this

    <add key="umbracoDbDSN" value="server=.\mssqlservername;initial catalog=dbname;user id=dbuser;password=dbpass" />

    But if I do the same on V6 during installation in step 3, it just hangs at 5% (Connection to database)
    I have no problems connecting to the database from SQL Management Studio with the information above.

    What did I miss ?

  • Paul 7 posts 57 karma points
    Mar 25, 2013 @ 15:08
    Paul
    0

    I had similar problems when my user didn't have sufficient rights on the DB.  Maybe try giving them db owner while the install is happening..

  • jivan thapa 194 posts 681 karma points
    Mar 25, 2013 @ 16:12
    jivan thapa
    0

    Are you using IE 10 during installation?

    Try with Different Browser, like Firefox.

    I had same problem "5%" but using Firefox solve the problem. When I use IE10 I got some JSON Error.

     

  • Sören Deger 733 posts 2844 karma points c-trib
    Mar 25, 2013 @ 16:33
    Sören Deger
    0

    Hi,

    the connectionstring has changed in web.config and is in a new section. 

    This is the new string in V 6:

    <add name="umbracoDbDSN" connectionString="server=localhost;database=xxx;user id=xxx;password=xxx" providerName="System.Data.SqlClient" />

     

    You can find this in the app settings section of web.config.

  • Sebastian Dammark 583 posts 1407 karma points
    Mar 25, 2013 @ 17:06
    Sebastian Dammark
    0

    Unfortunately none of the above works.
    I'm using chrome on a mac. 

    But here is a little more info:
    I get a 500 Internal Server Error on this location: /install/utills/p.aspx/installOrUpgrade

    If I open /install/utills/p.aspx/installOrUpgrade in a browser I get this, looks like a twitter feed:

     

     

     

     

  • Jørgen Bakke Eriksen 44 posts 95 karma points
    Mar 26, 2013 @ 10:38
    Jørgen Bakke Eriksen
    0

    We have had similar problems on the windows platform. Make sure the web server have sufficient right on the folder where you have your fresh install

  • Sebastian Dammark 583 posts 1407 karma points
    Mar 26, 2013 @ 10:52
    Sebastian Dammark
    0

    Network Services have full control.
    Is anything else needed ?

    The server is running around 10 Umbraco solutions, but this is the first V6.

  • Niels Lynggaard 192 posts 550 karma points
    Apr 09, 2013 @ 01:50
    Niels Lynggaard
    0

    Any light on this one? I'm having the exact same issue.. Very wierd, I just installed on another server today, worked perfectly..

  • Niels Lynggaard 192 posts 550 karma points
    Apr 09, 2013 @ 02:41
    Niels Lynggaard
    0

    Oh, I fiddled around with rights on the installation and got it to work..

  • Amir Khan 1282 posts 2739 karma points
    Apr 09, 2013 @ 20:47
    Amir Khan
    0

    Niels, what were the rights that are different than normal? I'm having the same issue.

  • Niels Lynggaard 192 posts 550 karma points
    Apr 10, 2013 @ 11:18
    Niels Lynggaard
    0

    I wish I could tell you exactly..

    I copied over the website directory again, and ran my usual bat-script for setting up rights on the folders:

    REM Following line in original script incorrectly sets all child folder permissions
    REM icacls . /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
    icacls app_code /grant "IIS APPPOOL\yourapppool":(OI)(CI)RX
    icacls app_browsers /grant "IIS APPPOOL\yourapppool":(OI)(CI)RX
    icacls app_data /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
    REM icacls bin /grant "IIS APPPOOL\yourapppool":(OI)(CI)R
    icacls bin /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
    icacls config /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
    icacls css /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
    icacls data /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
    icacls masterpages /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
    icacls macroscripts /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
    icacls media /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
    icacls python /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
    icacls scripts /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
    icacls umbraco /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
    icacls Views/Partials "IIS APPPOOL\yourapppool":(OI)(CI)M
    icacls usercontrols /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
    icacls xslt /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
    icacls web.config /grant "IIS APPPOOL\yourapppool":(OI)(CI)M
    icacls web.config /grant "IIS APPPOOL\yourapppool":M
    REM If you have installed the Robots.txt editor package you need the following line too
    REM icacls robots.txt /grant "IIS APPPOOL\yourapppool":M

    Then I set Network service to have full rights on the root folder as well. I don't think thats very cosher in relation to security, but it seemed it worked.

    I also granted the DB user full rights over the DB just in case.

    Hope you solve it..

  • Amir Khan 1282 posts 2739 karma points
    Apr 10, 2013 @ 15:48
    Amir Khan
    0

    Niels, it was permissions as you suggested. I wish there was a comprehensive check for these things in the install process, I feel like I run into this whenever I'm installing on an unfamiliar environment.

  • Niels Lynggaard 192 posts 550 karma points
    Apr 10, 2013 @ 16:36
    Niels Lynggaard
    0

    Fantastic! Glad I could be of some help then :)

Please Sign in or register to post replies

Write your reply to:

Draft