You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update via update from 6a2 to 6b2 fails because of unknown reasons:
Backup-Verwaltung
Update durchführen
Überprüfe deine Installation...
Lade Paket herunter...
Empfangen des Paketes fehlgeschlagen
Please fix this and retry.
Das Update ist fehlgeschlagen. Bitte melde dieses Problem an die ownCloud Gemeinschaft.
OC 6a2
Ubuntu 12.04 x64
SQLite 3.7.9
PHP 5.3.10-1ubuntu3.8 with Suhosin-Patch (cli) (built: Sep 4 2013 20:00:51)
apache2 -v
Server version: Apache/2.2.22 (Ubuntu)
Server built: Jul 12 2013 13:37:10
root@server:/var/www/octest/data# tail -n 100 owncloud.log
{"app":"PHP","message":"RecursiveDirectoryIterator::__construct(\/var\/www\/octest\/data\/test\/thumbnails\/13\/): failed to open dir: No such file or directory at \/var\/www\/octest\/lib\/private\/files\/storage\/local.php#44","level":3,"time":"2013-10-19T22:58:15+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-19T22:58:35+00:00"}
{"app":"PHP","message":"RecursiveDirectoryIterator::__construct(\/var\/www\/octest\/data\/test\/thumbnails\/14\/): failed to open dir: No such file or directory at \/var\/www\/octest\/lib\/private\/files\/storage\/local.php#44","level":3,"time":"2013-10-19T22:58:37+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-19T22:59:06+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-19T22:59:12+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-19T22:59:12+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-19T22:59:13+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-19T22:59:13+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-19T22:59:16+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-19T22:59:19+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-19T22:59:27+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-19T22:59:29+00:00"}
{"app":"PHP","message":"Cannot use object of type stdClass as array at \/var\/www\/octest\/lib\/private\/backgroundjob\/legacy\/queuedjob.php#13","level":3,"time":"2013-10-19T22:59:38+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:34:49+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:34:49+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:34:50+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:34:50+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:35:11+00:00"}
{"app":"PHP","message":"PHP Startup: Unable to load dynamic library '\/usr\/lib\/php5\/20090626\/mapi.so' - libmapi.so.0: cannot open shared object file: No such file or directory at Unknown#0","level":3,"time":"2013-10-24T20:35:11+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:35:16+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:35:20+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:35:20+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:35:21+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:35:21+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:35:29+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:35:34+00:00"}
{"app":"PHP","message":"RecursiveDirectoryIterator::__construct(\/var\/www\/octest\/data\/test\/thumbnails\/31\/): failed to open dir: No such file or directory at \/var\/www\/octest\/lib\/private\/files\/storage\/local.php#44","level":3,"time":"2013-10-24T20:35:34+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:36:50+00:00"}
{"app":"PHP","message":"RecursiveDirectoryIterator::__construct(\/var\/www\/octest\/data\/test\/thumbnails\/32\/): failed to open dir: No such file or directory at \/var\/www\/octest\/lib\/private\/files\/storage\/local.php#44","level":3,"time":"2013-10-24T20:36:50+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:37:00+00:00"}
{"app":"PHP","message":"RecursiveDirectoryIterator::__construct(\/var\/www\/octest\/data\/test\/thumbnails\/33\/): failed to open dir: No such file or directory at \/var\/www\/octest\/lib\/private\/files\/storage\/local.php#44","level":3,"time":"2013-10-24T20:37:00+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:37:23+00:00"}
{"app":"PHP","message":"RecursiveDirectoryIterator::__construct(\/var\/www\/octest\/data\/test\/thumbnails\/34\/): failed to open dir: No such file or directory at \/var\/www\/octest\/lib\/private\/files\/storage\/local.php#44","level":3,"time":"2013-10-24T20:37:24+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:37:38+00:00"}
{"app":"PHP","message":"RecursiveDirectoryIterator::__construct(\/var\/www\/octest\/data\/test\/thumbnails\/35\/): failed to open dir: No such file or directory at \/var\/www\/octest\/lib\/private\/files\/storage\/local.php#44","level":3,"time":"2013-10-24T20:37:39+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:38:56+00:00"}
{"app":"PHP","message":"Only variables should be passed by reference at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#160","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Undefined index: isGrouped at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#200","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Only variables should be passed by reference at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#160","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Undefined index: isGrouped at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#200","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Only variables should be passed by reference at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#160","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Undefined index: isGrouped at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#200","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Only variables should be passed by reference at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#160","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Only variables should be passed by reference at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#160","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Undefined index: isGrouped at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#200","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Only variables should be passed by reference at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#160","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Undefined index: isGrouped at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#200","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Only variables should be passed by reference at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#160","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Undefined index: isGrouped at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#200","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Only variables should be passed by reference at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#160","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Undefined index: isGrouped at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#200","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Only variables should be passed by reference at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#160","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Undefined index: isGrouped at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#200","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Only variables should be passed by reference at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#160","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Only variables should be passed by reference at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#160","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Undefined index: isGrouped at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#200","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Only variables should be passed by reference at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#160","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Only variables should be passed by reference at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#160","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Only variables should be passed by reference at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#160","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Undefined index: isGrouped at \/var\/www\/octest\/apps\/activity\/lib\/lib_activity.php#200","level":2,"time":"2013-10-24T20:38:57+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:39:00+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:39:00+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:39:00+00:00"}
{"app":"PHP","message":"PHP Startup: Unable to load dynamic library '\/usr\/lib\/php5\/20090626\/mapi.so' - libmapi.so.0: cannot open shared object file: No such file or directory at Unknown#0","level":3,"time":"2013-10-24T20:39:09+00:00"}
{"app":"PHP","message":"Cannot use object of type stdClass as array at \/var\/www\/octest\/lib\/private\/backgroundjob\/legacy\/queuedjob.php#13","level":3,"time":"2013-10-24T20:39:10+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:39:10+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:39:10+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:39:11+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:39:11+00:00"}
{"app":"PHP","message":"PHP Startup: Unable to load dynamic library '\/usr\/lib\/php5\/20090626\/mapi.so' - libmapi.so.0: cannot open shared object file: No such file or directory at Unknown#0","level":3,"time":"2013-10-24T20:39:20+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:39:21+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:39:21+00:00"}
{"app":"PHP","message":"strlen() expects parameter 1 to be string, array given at \/var\/www\/octest\/apps\/updater\/templates\/update.php#15","level":2,"time":"2013-10-24T20:39:24+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:39:26+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:39:26+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:39:46+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-10-24T20:39:46+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-11-06T19:17:50+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-11-06T19:17:50+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-11-06T19:17:51+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-11-06T19:17:51+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-11-06T19:18:02+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-11-06T19:18:02+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-11-06T19:18:06+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-11-06T19:18:06+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-11-06T19:18:21+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-11-06T19:18:21+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-11-06T19:18:31+00:00"}
{"app":"updater","message":"Retrieving http:\/\/download.owncloud.org\/community\/testing\/owncloud-6.0.0beta2.tar.bz2","level":3,"time":"2013-11-06T19:18:42+00:00"}
{"app":"updater","message":"\/tmp\/844e17e876b40e9f6e5f4ccf5733d23e.tar.bz2 extraction error","level":3,"time":"2013-11-06T19:18:42+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-11-06T19:32:29+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-11-06T19:32:29+00:00"}
{"app":"PHP","message":"Undefined variable: params at \/var\/www\/octest\/lib\/private\/server.php#49","level":2,"time":"2013-11-06T19:32:38+00:00"}
{"app":"updater","message":"Retrieving http:\/\/download.owncloud.org\/community\/testing\/owncloud-6.0.0beta2.tar.bz2","level":3,"time":"2013-11-06T19:32:49+00:00"}
{"app":"updater","message":"\/tmp\/0861ee788950ea913faf1b9d48fa5d56.tar.bz2 extraction error","level":3,"time":"2013-11-06T19:32:50+00:00"}
the beta3 was by accident created with a new tar version which is using the new posix tar format instead of the the old gnu format. It is possible that this is not supported by your php. Please try again with the beta4 that we release later today.
{"app":"PHP","message":"strlen() expects parameter 1 to be string, array given at /www/cloud/apps/updater/templates/update.php#15","level":2,"time":"2013-12-25T20:45:31+00:00"}
The same for me too with the last version (6.0.0a). I don't know if it's related but, the update tab is empty.
{"app":"PHP","message":"strlen() expects parameter 1 to be string, array given at \/var\/www\/cloud\/apps\/updater\/templates\/update.php#15","level":2,"time":"2014-01-21T11:09:01+00:00"}
The same issue for me. I got strlen() expects parameter 1 to be string, array given at ....\/apps\/updater\/templates\/update.php#15
I debug the $data Object with print_r in \/apps\/updater\/templates\/update.php#15 and got:
Activity
VicDeo commentedon Nov 6, 2013
@mokkin What is logged at the admin page?
mokkin commentedon Nov 6, 2013
VicDeo commentedon Nov 6, 2013
will check why it can't be unpacked
karlitschek commentedon Nov 13, 2013
the beta3 was by accident created with a new tar version which is using the new posix tar format instead of the the old gnu format. It is possible that this is not supported by your php. Please try again with the beta4 that we release later today.
VicDeo commentedon Dec 24, 2013
tested with owncloud-6.0.0a.tar.bz2
not reproducible.
Closing as fixed
satanasov commentedon Dec 25, 2013
Just reproduced it with last version:
{"app":"PHP","message":"strlen() expects parameter 1 to be string, array given at /www/cloud/apps/updater/templates/update.php#15","level":2,"time":"2013-12-25T20:45:31+00:00"}
julien1619 commentedon Jan 21, 2014
The same for me too with the last version (6.0.0a). I don't know if it's related but, the update tab is empty.

ndjdev commentedon Jan 21, 2014
Me as well on 6.0.0a, get no update option and the same error message.
DavidWiesner commentedon Jan 21, 2014
The same issue for me. I got
strlen() expects parameter 1 to be string, array given at ....\/apps\/updater\/templates\/update.php#15I debug the
$dataObject with print_r in\/apps\/updater\/templates\/update.php#15and got:And yes the error is right
$data[version']isn´t a string is an Object.As mentioned in stackoverflow http://stackoverflow.com/a/2867601 you have to cast the values you got from
simplexml_load_string()to string inlib/private/updater.php#L82. You have also fix to cache the casted$tmp-Array instead of pure$data-Object.Please notice that
Updater::check()may still return the wrong old cached result, if you have check for an update within 30 minutes before this fix.