since upgrade to 7.0, clicking on "apps" takes (almost) forever
Expected behaviour
when clicking "apps" in the upper left corner on the menu, installed apps / addons should appear
Actual behaviour
i click it, the browser keeps loading with a spinning wheel, and it takes over 5 minutes.
Steps to reproduce
- click "apps"
- wait
- wait even longer
Server configuration
Operating system: Debian wheezy 64 bit Web server: Apache2.2 Database: mysql-server 5.5.38-0+wheezy1 PHP version: 5.4.4-14+deb7u12 ownCloud version: 7.0.1rc1 AND 7.0 stable Storage backend: direct/zfs
Client configuration
Client version: webbrowser, tried Firefox 31 and safari Operating system: Linux and Macos (tried both) OS language: English and Dutch
Installation path of client:
Logs
Please use Gist (https://gist.github.com/) or a similar code paster for longer logs.
Template for output < 10 lines
(NOT SURE IF THIS IS RELATED)
- Web server error log: no errors
- ownCloud log (data/owncloud.log): Jul 31 10:28:27 owncloud ownCloud[33810]: {core} Unable to parse OCS content Jul 31 10:28:47 owncloud ownCloud[33810]: {core} Unable to parse OCS content

I have the same behavour (see #9933), with only 20 sec of loading. adding the line " 'appstoreenabled' => false, " in config.php is a workaround, but it disable the online appstore (i think).
I can confirm both, the problem and the work-around. Disabling appstore sped up the thing enormously (here on a fresh install of OC7 on Ubuntu 12.04).
Some refs: https://github.com/owncloud/core/issues/10141, https://github.com/owncloud/core/issues/9012
I have the same problem, but also in log I have Debug webdav Sabre\DAV\Exception\NotAuthenticated: No basic authentication headers were found
With the line " 'appstoreenabled' => false, in config.php the problem is "solved". A very hacky workaround. But it loads faster. Not a good soulution though.
cc @DeepDiver1975
With the hack loading went from a minute to a second. Thankyou @GetBoz
Suggestion:
With 'appstoreenabled' => true, app-store data should be locally cached, with a (configurable) minimum refresh-interval. By default, one refresh per day should be sufficient. Optionally, there could be a setting to turn caching off for those who wish:
'appstoreenabled' => true`, // enable the appstore
'appstorecacheenabled' => true`, // enable caching its data
'appstorerefreshinterval' => 86400`, // minimum refresh in seconds
The Cron task then could take care for cache-refresh asynchronously, with the last_refresh stored in DB.
Something like that I'd consider a solution – while I can live with the current work-around (except for that "huge delay" on page load, I couldn't see a difference in functionality: No way to directly browse the repo and install apps, or the like. I obviously must have missed something here).
Thanks a lot for your suggestion - we are aware of the bad user experience on the apps page. We will work on this for OC8 - most probably @jancborchardt and myself will start tomorrow.
I think there is no need for a cron job to fetch the data from the appstore. From my understanding a clear separation of local apps (which can be enabled/disabled or simply to check the version number) and an 'install from appstore page' which async operations should really give a far better user experience.
@karlitschek @jancborchardt any further comments?
@DeepDiver1975 Sounds perfect to me, as it additionally saves "unnecessary network traffic". You might still consider caching the asynchronously fetched information (optionally and configurable) for later use. To me it wouldn't make much sense if I already retrieved that, then temporarily switch to e.g. the calendar to check something, and finally had to re-fetch everything only 2 minutes later when switching back ;)
Btw, a little pointer: Yesterday I've published an article on OC, including the above mentioned "work-around" especially for "newcomers" so they don't get "frightened away by bad performance": Android without Google 2: ownCloud (article available in German and English; that's part 2 of a not-yet-completed series).
@IzzySoft
The link requires login?
Nope, typo in the URL, sorry (that was the test-server – copy-pasta). Fixed. Please try again.
Should be fixed on master.