[Owncloud] ownCloud 6 RC1

Victor Dubiniuk dubiniuk at owncloud.com
Thu Nov 28 18:22:55 UTC 2013


It sounds odd but the query itself is executed properly [1].
It would be extremely helpful to have an error message provided by SQL 
server

[1] http://sqlfiddle.com/#!3/1e39c/2 <http://sqlfiddle.com/#%213/1e39c/2>

Victor

On 11/28/2013 08:59 PM, Daniel wrote:
> I had a similar error upgrading OC 6beta5 (mysql backend). The error:
>
> {"app":"index","message":"Exception: Failed to upgrade 
> \"documents\".","level":4,"time":"2013-11-28T14:34:19+00:00"}
> {"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"}
>
> 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.
>
> Any ideas?
> Daniel
>
>
> On 11/28/2013 12:47 PM, Hermann wrote:
>>
>> I removed the line and now it works.
>>
>> If you want I could give you the data for reproduce.
>>
>> I had a standard installation of owncloud 6 beta5.
>>
>> ---
>> hermann
>>
>> Am 28.11.2013 17:20, schrieb Victor Dubiniuk:
>>
>>> On 11/28/2013 06:50 PM, Hermann Dering wrote:
>>>>
>>>> I use mssql.
>>>>
>>>
>>> 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.
>>>
>>> [1] 
>>> https://github.com/owncloud/documents/blob/master/appinfo/update.php#L15
>>>
>>> Victor
>>>
>>>> hermann
>>>>
>>>> ---
>>>> best regards
>>>>
>>>> hermann
>>>>
>>>> Am 28.11.2013 16:45, schrieb Victor Dubiniuk:
>>>>
>>>>     What DB engine do you use with this instance?
>>>>
>>>>     Victor
>>>>
>>>>     On 11/28/2013 06:22 PM, Hermann Dering wrote:
>>>>
>>>>         sorry...debug from owncloud.log:
>>>>
>>>>         {"app":"index","message":"Exception: Konnte \"documents\"
>>>>         nicht
>>>>         aktualisieren.","level":4,"time":"2013-11-28T15:13:36+00:00"}
>>>>         {"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"}
>>>>         {"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"}
>>>>         {"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"}
>>>>         {"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"}
>>>>         {"app":"index","message":"Exception: 4
>>>>         {main}","level":4,"time":"2013-11-28T15:13:36+00:00"}
>>>>         {"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$
>>>>         {"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$
>>>>         {"app":"index","message":"Exception: Konnte \"documents\"
>>>>         nicht
>>>>         aktualisieren.","level":4,"time":"2013-11-28T15:13:37+00:00"}
>>>>         {"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"}
>>>>         {"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"}
>>>>         {"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"}
>>>>         {"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"}
>>>>         {"app":"index","message":"Exception: 4
>>>>         {main}","level":4,"time":"2013-11-28T15:13:37+00:00"}
>>>>         {"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$
>>>>         {"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$
>>>>         {"app":"cron","message":"Konnte \"documents\" nicht
>>>>         aktualisieren.","level":4,"time":"2013-11-28T15:13:38+00:00"}
>>>>
>>>>         ---
>>>>         best regards
>>>>
>>>>         hermann
>>>>
>>>>         Am 28.11.2013 16:15, schrieb Hermann Dering:
>>>>
>>>>             hi victor,
>>>>
>>>>             here is the debug information:
>>>>
>>>>             Konnte "documents" nicht aktualisieren.
>>>>
>>>>             #0
>>>>             /var/www/clients/client1/web7/web/owncloud/lib/private/app.php(92):
>>>>             OC_App::checkUpgrade('documents'
>>>>
>>>>             #1
>>>>             /var/www/clients/client1/web7/web/owncloud/lib/private/app.php(66):
>>>>             OC_App::loadApp('documents')
>>>>
>>>>             #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}
>>>>
>>>>             ---
>>>>
>>>>             best regards
>>>>
>>>>             hermann
>>>>
>>>>             Am 28.11.2013 16:08, schrieb Victor Dubiniuk:
>>>>
>>>>                 Hello,
>>>>
>>>>                 In order to get more detailed report please add the
>>>>                 following as the second line to your
>>>>                 *config/config.php* and reload the page
>>>>
>>>>                     define('DEBUG',true);
>>>>
>>>>
>>>>                 Feel free to open an issue with the details you'll
>>>>                 receive here [1]
>>>>
>>>>                 [1] https://github.com/owncloud/documents/issues/new
>>>>
>>>>                 Victor
>>>>
>>>>                 On 11/28/2013 04:59 PM, owncloud wrote:
>>>>
>>>>                     Hi,
>>>>
>>>>                     I updated my test owncloud 6 beta 5 according
>>>>                     the steps here:
>>>>
>>>>                     http://doc.owncloud.org/server/5.0/admin_manual/maintenance/update.html
>>>>
>>>>                     I get a message "maintenance mode is activated"
>>>>                     -> "databases will be updated". After reload
>>>>                     the page I get the message (unfortunately in
>>>>                     german):
>>>>
>>>>                     Diese ownCloud-Instanz wird gerade
>>>>                     aktualisiert, was eine Weile dauert.
>>>>                     Bitte laden Sie diese Seite nach kurzer Zeit
>>>>                     neu, um mit der Nutzung von ownCloud fortzufahren.
>>>>                     Kontaktieren Sie Ihren Systemadministrator,
>>>>                     wenn diese Meldung dauerhaft oder unerwartet
>>>>                     erscheint.
>>>>
>>>>                     Vielen Dank für Ihre Geduld.
>>>>
>>>>                     In my owncloud.log I get the follow:
>>>>
>>>>                     {"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"}
>>>>                     {"app":"cron","message":"Konnte \"documents\"
>>>>                     nicht
>>>>                     aktualisieren.","level":4,"time":"2013-11-28T13:49:42+00:00"}
>>>>                     {"app":"cron","message":"Konnte \"documents\"
>>>>                     nicht
>>>>                     aktualisieren.","level":4,"time":"2013-11-28T13:49:53+00:00"}
>>>>                     {"app":"cron","message":"Konnte \"documents\"
>>>>                     nicht
>>>>                     aktualisieren.","level":4,"time":"2013-11-28T13:50:52+00:00"}
>>>>                     {"app":"cron","message":"Konnte \"documents\"
>>>>                     nicht
>>>>                     aktualisieren.","level":4,"time":"2013-11-28T13:51:05+00:00"}
>>>>                     {"app":"cron","message":"Konnte \"documents\"
>>>>                     nicht
>>>>                     aktualisieren.","level":4,"time":"2013-11-28T13:53:23+00:00"}
>>>>
>>>>                     php error.log:
>>>>
>>>>                     [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:
>>>>                     http://oc6.dering-online.de/owncloud/index.php/settings/admin
>>>>                     [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:
>>>>                     http://oc6.dering-online.de/owncloud/index.php/apps/files
>>>>                     [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:
>>>>                     http://oc6.dering-online.de/owncloud/index.php/apps/files
>>>>
>>>>                     best regards,
>>>>
>>>>                     hermann
>>>>
>>>>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/owncloud/attachments/20131128/595d502c/attachment.html>


More information about the Owncloud mailing list