Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1240776
Summary: | can't re-enable core apps | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | David Juran <djuran> |
Component: | owncloud | Assignee: | Adam Williamson <awilliam> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 21 | CC: | awilliam, jcosta, redhat-bugzilla, shawn |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | owncloud-8.0.5-1.fc21 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-07-30 01:18:36 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
David Juran
2015-07-07 17:41:53 UTC
I think this may possibly be an upstream issue, my guess is they've changed something in the 'app store' stuff for the 8.1 release and it's broken it for 8.0...see upstream report with very similar symptoms: https://github.com/owncloud/core/issues/17438 For the record, I can reproduce this with a clean install of 8.0.4 from the kickstart. OC logs these errors: Jul 07 15:19:42 localhost.localdomain ownCloud[1521]: {core} Invalid OCS content returned for app 168707 Jul 07 15:19:43 localhost.localdomain ownCloud[1521]: {core} Invalid OCS content returned for app 168707 Jul 07 15:19:44 localhost.localdomain ownCloud[1521]: {core} Unable to parse OCS content Also with owncloud on F22. (Indeed hoping it might be a F21 issue was the final push to upgrade to F22, but to no avail). I can install owncloud apps manually by downloading and unzip/untar into /var/lib/owncloud/apps It's quite nasty that this happens in the context of upgrading from 7.x to 8.0.3 as one's first expectation is that this is a database or config.php artefact issue from the update process (by RPM and fedora packages for me). So adding this comment here in the hope others find it and save themselves a wild goose chase reverting backup dbs etc. It seems the fix is on the commit 57789e1 [1]. Temporary (and ugly) workaround: # cd /tmp/ # wget https://github.com/owncloud/core/commit/57789e15a9216a1ea0aaa9adec09047d676b1744.diff # cd /usr/share/owncloud # git apply /tmp/57789e15a9216a1ea0aaa9adec09047d676b1744.diff 1 - https://github.com/owncloud/core/commit/57789e15a9216a1ea0aaa9adec09047d676b1744 I'm planning to work on OC over the weekend, I'll get 8.0.5 updates out for stable releases and 8.1 for Rawhide, and include the fix for this. owncloud-8.0.5-1.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/FEDORA-2015-10188/owncloud-8.0.5-1.fc21 I just tested the build from the following link, and it indeed fixes the issue: owncloud-8.0.5-1.fc22 http://koji.fedoraproject.org/koji/buildinfo?buildID=668030 Thanks! Package owncloud-8.0.5-1.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing owncloud-8.0.5-1.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-10188/owncloud-8.0.5-1.fc21 then log in and leave karma (feedback). Apologies for the delay in testing, vacation and father-in-law visiting... Anyhow, version 8.0.5 seem to work, at last I can install both the calendar and the contacts app. One thing I noticed though was that when I as admin browsed to the list of productivity apps, the following messages appeared in syslog: jul 25 15:25:11 juran.se ownCloud[1250]: {core} OC\Tags::__construct, tags: Array ( ) jul 25 15:25:18 juran.se ownCloud[1254]: {core} Invalid OCS content returned for app 166051 jul 25 15:25:19 juran.se ownCloud[1254]: {core} Invalid OCS content returned for app 166049 When I then logged in as my own user, the following was seen in syslog: jul 25 15:28:45 juran.se ownCloud[1284]: {core} OC\Tags::__construct, tags: Array ( ) Finally, when going to the contacts app, with my own user, the following was shown in syslog. jul 25 15:29:27 juran.se ownCloud[1293]: {no app in context} Accessing the API class is deprecated! Use the appropriate services instead! jul 25 15:29:28 juran.se ownCloud[1287]: {no app in context} Accessing the API class is deprecated! Use the appropriate services instead! jul 25 15:29:28 juran.se ownCloud[1330]: {no app in context} Accessing the API class is deprecated! Use the appropriate services instead! jul 25 15:29:29 juran.se ownCloud[1254]: {no app in context} Accessing the API class is deprecated! Use the appropriate services instead! jul 25 15:29:29 juran.se ownCloud[1254]: {core} OC\Tags::__construct, tags: Array ( [0] => OC\Tagging\Tag Object ( [owner:protected] => david [type:protected] => contact [name:protected] => Family [id] => 17 [_updatedFields:OCP\AppFramework\Db\Entity:private] => Array ( ) [_fieldTypes:OCP\AppFramework\Db\Entity:private] => Array ( [id] => integer ) ) [1] => OC\Tagging\Tag Object ( [owner:protected] => david [type:protected] => contact [name:protected] => Friends [id] => 16 [_updatedFields:OCP\AppFramework\Db\Entity:private] => Array ( ) [_fieldTypes:OCP\AppFramework\Db\Entity:private] => Array ( [id] => integer ) ) [2] => OC\Tagging\Tag Object ( [owner:protected] => david [type:protected] => contact [name:protected] => Other [id] => 19 [_updatedFields:OCP\AppFramework\Db\Entity:private] => Array ( ) [_fieldTypes:OCP\AppFramework\Db\Entity:private] => Array ( [id] => integer ) ) [3] => OC\Tagging\Tag Object ( [owner:protected] => david [type:protected] => contact [name:protected] => Work [id] => 18 [_updatedFields:OCP\AppFramework\Db\Entity:private] => Array ( ) [_fieldTypes:OCP\AppFramework\Db\Entity:private] => Array ( [id] => integer ) ) ) jul 25 15:29:29 juran.se ownCloud[1254]: {core} OC\Tags::getFavorites, exception: Could not find category "_$!<Favorite>!$_" jul 25 15:29:29 juran.se ownCloud[1287]: {no app in context} Accessing the API class is deprecated! Use the appropriate services instead! jul 25 15:29:35 juran.se ownCloud[1284]: {no app in context} Accessing the API class is deprecated! Use the appropriate services instead! owncloud-8.0.5-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |