<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">It sounds odd but the query itself is
      executed properly [1].<br>
      It would be extremely helpful to have an error message provided by
      SQL server <br>
      <br>
      [1]
      <meta http-equiv="content-type" content="text/html;
        charset=ISO-8859-1">
      <a href="http://sqlfiddle.com/#%213/1e39c/2">http://sqlfiddle.com/#!3/1e39c/2</a><br>
      <br>
      Victor<br>
      <br>
      On 11/28/2013 08:59 PM, Daniel wrote:<br>
    </div>
    <blockquote cite="mid:52978486.6020600@tek12.com" type="cite">
      <meta content="text/html; charset=ISO-8859-1"
        http-equiv="Content-Type">
      I had a similar error upgrading OC 6beta5 (mysql backend). The
      error: <br>
      <br>
      {"app":"index","message":"Exception: Failed to upgrade
      \"documents\".","level":4,"time":"2013-11-28T14:34:19+00:00"}<br>
      {"app":"PHP","message":"Failed to upgrade \"documents\". at
\/var\/www\/owncloud\/lib\/private\/app.php#873","level":3,"time":"2013-11-28T14:34:20+00:00"}<br>
      <br>
      I attempted the fix in the previous email, but the upgrade stalls
      at the maintenance page. No other errors are being produced in the
      logs. <br>
      <br>
      Any ideas? <br>
      Daniel<br>
      <br>
      <br>
      <div class="moz-cite-prefix">On 11/28/2013 12:47 PM, Hermann
        wrote:<br>
      </div>
      <blockquote
        cite="mid:395763728252f6d5e9f14b62c4f26148@dering-online.de"
        type="cite">
        <p>I removed the line and now it works.</p>
        <p>If you want I could give you the data for reproduce.</p>
        <p>I had a standard installation of owncloud 6 beta5.</p>
        <p> </p>
        <div>
          <pre>---
hermann</pre>
        </div>
        <p>Am 28.11.2013 17:20, schrieb Victor Dubiniuk:</p>
        <blockquote type="cite" style="padding-left:5px;
          border-left:#1010ff 2px solid; margin-left:5px"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
          <div class="moz-cite-prefix">On 11/28/2013 06:50 PM, Hermann
            Dering wrote:</div>
          <blockquote type="cite" style="padding-left:5px;
            border-left:#1010ff 2px solid; margin-left:5px">
            <p>I use mssql.</p>
          </blockquote>
          <br>
          Strange. This query is valid from T-SQL point. Try to remove
          the line [1] and reload the page but I see no reason for this
          query to fail.<br>
          <br>
          [1] <a moz-do-not-send="true"
href="https://github.com/owncloud/documents/blob/master/appinfo/update.php#L15">https://github.com/owncloud/documents/blob/master/appinfo/update.php#L15</a><br>
          <br>
          Victor<br>
          <br>
          <blockquote type="cite" style="padding-left:5px;
            border-left:#1010ff 2px solid; margin-left:5px">
            <p><span>hermann</span></p>
            <p> </p>
            <div>
              <pre>---
best regards

hermann</pre>
            </div>
            <p>Am 28.11.2013 16:45, schrieb Victor Dubiniuk:</p>
            <blockquote style="padding-left: 5px; border-left: #1010ff
              2px solid; margin-left: 5px;"><!-- node type 8 --><!-- node type 8 --><!-- node type 8 -->
              <div class="moz-cite-prefix">What DB engine do you use
                with this instance?<br>
                <br>
                Victor<br>
                <br>
                On 11/28/2013 06:22 PM, Hermann Dering wrote:</div>
              <blockquote style="padding-left: 5px; border-left: #1010ff
                2px solid; margin-left: 5px;">
                <p>sorry...debug from owncloud.log:</p>
                <p>{"app":"index","message":"Exception: Konnte
                  \"documents\" nicht
                  aktualisieren.","level":4,"time":"2013-11-28T15:13:36+00:00"}<br>
                  {"app":"index","message":"Exception: 0
\/var\/www\/clients\/client1\/web7\/web\/owncloud\/lib\/private\/app.php(92):OC_App::checkUpgrade('documents')\n","level":4,"time":"2013-11-28T15:13:36+00:00"}<br>
                  {"app":"index","message":"Exception: 1
\/var\/www\/clients\/client1\/web7\/web\/owncloud\/lib\/private\/app.php(66):OC_App::loadApp('documents')\n","level":4,"time":"2013-11-28T15:13:36+00:00"}<br>
                  {"app":"index","message":"Exception: 2
                  \/var\/www\/clients\/client1\/web7\/web\/owncloud\/lib\/base.php(689):
OC_App::loadApps()\n","level":4,"time":"2013-11-28T15:13:36+00:00"}<br>
                  {"app":"index","message":"Exception: 3
                  \/var\/www\/clients\/client1\/web7\/web\/owncloud\/index.php(30):
OC::handleRequest()\n","level":4,"time":"2013-11-28T15:13:36+00:00"}<br>
                  {"app":"index","message":"Exception: 4
                  {main}","level":4,"time":"2013-11-28T15:13:36+00:00"}<br>
                  {"app":"index","message":"Exception: Konnte
                  \"documents\" nicht aktualisieren. - Verursacht durch:
                  An exception occurred while executing 'DELETE FROM
                  `oc_documents_member` WHERE `member_id` NOT IN(SELECT
                  `m$<br>
                  {"app":"index","message":"Exception: Konnte
                  \"documents\" nicht aktualisieren. - Verursacht durch:
                  An exception occurred while executing 'DELETE FROM
                  `oc_documents_member` WHERE `member_id` NOT IN(SELECT
                  `m$<br>
                  {"app":"index","message":"Exception: Konnte
                  \"documents\" nicht
                  aktualisieren.","level":4,"time":"2013-11-28T15:13:37+00:00"}<br>
                  {"app":"index","message":"Exception: 0
\/var\/www\/clients\/client1\/web7\/web\/owncloud\/lib\/private\/app.php(92):OC_App::checkUpgrade('documents')\n","level":4,"time":"2013-11-28T15:13:37+00:00"}<br>
                  {"app":"index","message":"Exception: 1
\/var\/www\/clients\/client1\/web7\/web\/owncloud\/lib\/private\/app.php(66):OC_App::loadApp('documents')\n","level":4,"time":"2013-11-28T15:13:37+00:00"}<br>
                  {"app":"index","message":"Exception: 2
                  \/var\/www\/clients\/client1\/web7\/web\/owncloud\/lib\/base.php(689):
OC_App::loadApps()\n","level":4,"time":"2013-11-28T15:13:37+00:00"}<br>
                  {"app":"index","message":"Exception: 3
                  \/var\/www\/clients\/client1\/web7\/web\/owncloud\/index.php(30):
OC::handleRequest()\n","level":4,"time":"2013-11-28T15:13:37+00:00"}<br>
                  {"app":"index","message":"Exception: 4
                  {main}","level":4,"time":"2013-11-28T15:13:37+00:00"}<br>
                  {"app":"index","message":"Exception: Konnte
                  \"documents\" nicht aktualisieren. - Verursacht durch:
                  An exception occurred while executing 'DELETE FROM
                  `oc_documents_member` WHERE `member_id` NOT IN(SELECT
                  `m$<br>
                  {"app":"index","message":"Exception: Konnte
                  \"documents\" nicht aktualisieren. - Verursacht durch:
                  An exception occurred while executing 'DELETE FROM
                  `oc_documents_member` WHERE `member_id` NOT IN(SELECT
                  `m$<br>
                  {"app":"cron","message":"Konnte \"documents\" nicht
                  aktualisieren.","level":4,"time":"2013-11-28T15:13:38+00:00"}</p>
                <p> </p>
                <div>
                  <pre>---
best regards

hermann</pre>
                </div>
                <p>Am 28.11.2013 16:15, schrieb Hermann Dering:</p>
                <blockquote style="padding-left: 5px; margin-left: 5px;"><!-- node type 8 --><!-- node type 8 --><!-- node type 8 -->
                  <p>hi victor,</p>
                  <p>here is the debug information:</p>
                  <p><span>Konnte "documents" nicht aktualisieren.</span></p>
                  <p class="hint"><span style="white-space: pre-wrap;">#0

                      /var/www/clients/client1/web7/web/owncloud/lib/private/app.php(92):

                      OC_App::checkUpgrade('documents'</span></p>
                  <p class="hint"><span style="white-space: pre-wrap;">#1

                      /var/www/clients/client1/web7/web/owncloud/lib/private/app.php(66):

                      OC_App::loadApp('documents')</span></p>
                  <pre>#2 /var/www/clients/client1/web7/web/owncloud/lib/base.php(689): OC_App::loadApps()

#3 /var/www/clients/client1/web7/web/owncloud/index.php(30): OC::handleRequest()

#4 {main}</pre>
                  <p><span style="white-space: pre-wrap;">---</span></p>
                  <div>
                    <pre>best regards

hermann</pre>
                  </div>
                  <p>Am 28.11.2013 16:08, schrieb Victor Dubiniuk:</p>
                  <blockquote style="padding-left: 5px; margin-left:
                    5px;"><!-- node type 8 --><!-- node type 8 --><!-- node type 8 -->
                    <div class="moz-cite-prefix">Hello,<br>
                      <br>
                      In order to get more detailed report please add
                      the following as the second line to your <strong>config/config.php</strong>
                      and reload the page<br>
                      <blockquote style="padding-left: 5px; margin-left:
                        5px;">define('DEBUG',true);</blockquote>
                      <br>
                      Feel free to open an issue with the details you'll
                      receive here [1]<br>
                      <br>
                      [1] <a moz-do-not-send="true"
                        href="https://github.com/owncloud/documents/issues/new">https://github.com/owncloud/documents/issues/new</a><br>
                      <br>
                      Victor<br>
                      <br>
                      On 11/28/2013 04:59 PM, owncloud wrote:</div>
                    <blockquote style="padding-left: 5px; margin-left:
                      5px;">
                      <p>Hi,</p>
                      <p>I updated my test owncloud 6 beta 5 according
                        the steps here:</p>
                      <p><a moz-do-not-send="true"
href="http://doc.owncloud.org/server/5.0/admin_manual/maintenance/update.html">http://doc.owncloud.org/server/5.0/admin_manual/maintenance/update.html</a></p>
                      <p><span>I get a message "maintenance mode is
                          activated" -> "databases will be updated".
                          After reload the page I get the message
                          (unfortunately in german):</span></p>
                      <p><span>Diese ownCloud-Instanz wird gerade
                          aktualisiert, was eine Weile dauert.</span><br>
                        <span>Bitte laden Sie diese Seite nach kurzer
                          Zeit neu, um mit der Nutzung von ownCloud
                          fortzufahren.</span><br>
                        <span>Kontaktieren Sie Ihren
                          Systemadministrator, wenn diese Meldung
                          dauerhaft oder unerwartet erscheint.</span></p>
                      <p><span>Vielen Dank für Ihre Geduld.</span></p>
                      <p> </p>
                      <p><span>In my owncloud.log I get the follow:</span></p>
                      <p>{"app":"PHP","message":"Konnte \"documents\"
                        nicht aktualisieren. at
\/var\/www\/clients\/client1\/web7\/web\/owncloud\/lib\/private\/app.php#873","level":3,"time":"2013-11-28T13:49:03+00:00"}<br>
                        {"app":"cron","message":"Konnte \"documents\"
                        nicht
                        aktualisieren.","level":4,"time":"2013-11-28T13:49:42+00:00"}<br>
                        {"app":"cron","message":"Konnte \"documents\"
                        nicht
                        aktualisieren.","level":4,"time":"2013-11-28T13:49:53+00:00"}<br>
                        {"app":"cron","message":"Konnte \"documents\"
                        nicht
                        aktualisieren.","level":4,"time":"2013-11-28T13:50:52+00:00"}<br>
                        {"app":"cron","message":"Konnte \"documents\"
                        nicht
                        aktualisieren.","level":4,"time":"2013-11-28T13:51:05+00:00"}<br>
                        {"app":"cron","message":"Konnte \"documents\"
                        nicht
                        aktualisieren.","level":4,"time":"2013-11-28T13:53:23+00:00"}</p>
                      <p>php error.log:</p>
                      <p>[Thu Nov 28 14:46:32 2013] [error] [client
                        95.90.18.99] {"app":"PHP","message":"include():
                        Failed opening
                        '\\/var\\/www\\/clients\\/client1\\/web7\\/web\\/owncloud\\/config\\/config.php'

                        for inclusion
                        (include_path='\\/var\\/www\\/clients\\/client1\\/web7\\/web\\/owncloud\\/lib:.:\\/usr\\/share\\/php:\\/usr\\/share\\/pear')

                        at
                        \\/var\\/www\\/clients\\/client1\\/web7\\/web\\/owncloud\\/lib\\/private\\/config.php#148","level":3,"time":"2013-11-28T13:46:32+00:00"},

                        referer: <a moz-do-not-send="true"
                          class="moz-txt-link-freetext"
                          href="http://oc6.dering-online.de/owncloud/index.php/settings/admin">http://oc6.dering-online.de/owncloud/index.php/settings/admin</a><br>
                        [Thu Nov 28 14:46:34 2013] [error] [client
                        95.90.18.99] {"app":"PHP","message":"include():
                        Failed opening
                        '\\/var\\/www\\/clients\\/client1\\/web7\\/web\\/owncloud\\/config\\/config.php'

                        for inclusion
                        (include_path='\\/var\\/www\\/clients\\/client1\\/web7\\/web\\/owncloud\\/lib:.:\\/usr\\/share\\/php:\\/usr\\/share\\/pear')

                        at
                        \\/var\\/www\\/clients\\/client1\\/web7\\/web\\/owncloud\\/lib\\/private\\/config.php#148","level":3,"time":"2013-11-28T13:46:34+00:00"},

                        referer: <a moz-do-not-send="true"
                          class="moz-txt-link-freetext"
                          href="http://oc6.dering-online.de/owncloud/index.php/apps/files">http://oc6.dering-online.de/owncloud/index.php/apps/files</a><br>
                        [Thu Nov 28 14:46:34 2013] [error] [client
                        95.90.18.99] {"app":"PHP","message":"include():
                        Failed opening
                        '\\/var\\/www\\/clients\\/client1\\/web7\\/web\\/owncloud\\/config\\/config.php'

                        for inclusion
                        (include_path='\\/var\\/www\\/clients\\/client1\\/web7\\/web\\/owncloud\\/lib:.:\\/usr\\/share\\/php:\\/usr\\/share\\/pear')

                        at
                        \\/var\\/www\\/clients\\/client1\\/web7\\/web\\/owncloud\\/lib\\/private\\/config.php#148","level":3,"time":"2013-11-28T13:46:34+00:00"},

                        referer: <a moz-do-not-send="true"
                          class="moz-txt-link-freetext"
                          href="http://oc6.dering-online.de/owncloud/index.php/apps/files">http://oc6.dering-online.de/owncloud/index.php/apps/files</a></p>
                      <p> </p>
                      <p>best regards,</p>
                      <p><span>hermann</span></p>
                      <br>
                    </blockquote>
                  </blockquote>
                </blockquote>
              </blockquote>
            </blockquote>
          </blockquote>
        </blockquote>
      </blockquote>
    </blockquote>
    <br>
  </body>
</html>