unable to enable apps in firefox
Steps to reproduce
- Go to apps page in Firefox 28.0
- click on app to enable/disable
Expected behaviour
There should be app info and enable/disable button.
Actual behaviour
A flash licenced by displays, then a auto reload showing select an app again
Server configuration
Ubuntu 13.10:
Web server: Apache Database: Mysql PHP version: 5.5.3 ownCloud version: (see ownCloud admin page) 7.0 head 329b8f3e99767141c03880cb0aaff6af2e3ce043 Updated from an older ownCloud or fresh install: updated List of activated apps: calendar, contacts, documents, files, files_antivirus, files_pdfviewer, files_sharing, files_texteditor, files_trashbin, files_versions, files_videoviewer, firstrunwizard, gallery, mozilla_sync, music, search_lucene, tasks_enhanced, user_ldap, videos
The content of config/config.php:
<?php
$CONFIG = array (
'installed' => true,
'dbtype' => 'mysql',
'dbname' => 'owncloud',
'dbuser' => 'owncloud',
'dbhost' => 'localhost',
'dbtableprefix' => 'oc_',
'forcessl' => true,
'datadirectory' => '/data/owncloud',
'trusted_domains' =>
array (
0 => 'cloudy.starmail.nl',
),
'theme' => '',
'default_language' => 'en',
'3rdpartyroot' => '',
'3rdpartyurl' => '',
'defaultapp' => 'files',
'knowledgebaseenabled' => true,
'appstoreenabled' => true,
'appstoreurl' => 'http://api.apps.owncloud.com/v1',
'mail_smtpdebug' => false,
'mail_smtptimeout' => 10,
'trashbin_retention_obligation' => 30,
'trashbin_auto_expire' => true,
'allow_user_to_change_display_name' => true,
'appcodechecker' => '',
'updatechecker' => true,
'has_internet_connection' => true,
'check_for_working_webdav' => true,
'check_for_working_htaccess' => true,
'log_type' => 'owncloud',
'logfile' => '/var/log/owncloud.log',
'loglevel' => '2',
'logdateformat' => 'F d, Y H:i:s',
'logtimezone' => 'Europe/Berlin',
'log_query' => false,
'log_authfailip' => true,
'log_rotate_size' => false,
'remember_login_cookie_lifetime' => 1296000,
'session_lifetime' => 86400,
'session_keepalive' => true,
'custom_csp_policy' => 'default-src \'self\'; script-src \'self\' \'unsafe-eval\'; style-src \'self\' \'unsafe-inline\'; frame-src *; img-src *; font-src \'self\' data:; media-src *',
'xframe_restriction' => true,
'maintenance' => false,
'apps_paths' =>
array (
0 =>
array (
'path' => '/usr/share/owncloud/apps',
'url' => '/apps',
'writable' => true,
),
),
'customclient_desktop' => '',
'customclient_android' => '',
'customclient_ios' => '',
'enable_previews' => true,
'preview_max_x' => NULL,
'preview_max_y' => NULL,
'preview_max_scale_factor' => 10,
'preview_libreoffice_path' => '/usr/bin/libreoffice',
'preview_office_cl_parameters' => '',
'enable_avatars' => true,
'openssl' =>
array (
),
'singleuser' => false,
'instanceid' => 'ocb0e2037d20',
'version' => '6.90.0.2',
'maxZipInputSize' => 838860800,
'allowZipDownload' => true,
'ldapIgnoreNamingRules' => false,
);
Are you using external storage, if yes which one: local/smb/sftp/... no
Are you using encryption: yes/no no (except https)
Client configuration
Browser: Firefox 28.0 does not work Cromium 33.0.1750.152 works ok
Operating system: Ubuntu 14.04
Logs
Web server error log
No warnings related to owncloud
ownCloud log (data/owncloud.log)
No warnings when reloading apps page
Browser log (excluded css warnings, there are many)
SyntaxError: Using //@ to indicate sourceMappingURL pragmas is deprecated. Use //# instead jquery-1.10.0.min.js:1
Error: https://cloudy.starmail.nl/core/js/jquery-1.10.0.min.js?v=2aee7f47c0321317cd6ebb336d467080 is being assigned a //# sourceMappingURL, but already has one
Content Security Policy: The page's settings blocked the loading of a resource: An attempt to execute inline scripts has been blocked apps
ReferenceError: invalid assignment left-hand side apps-custom.js:57
ReferenceError: appid is not defined apps.js:284
Use of getPreventDefault() is deprecated. Use defaultPrevented instead. jquery-1.10.0.min.js:5
@jancborchardt Can you have a look?
This remains an issue here, is it an isolated issue, any thought on where I could look for a solution?
I can’t reproduce that issue, Firefox with Ubuntu, latest master.
@requist maybe contact your provider?
This issue has been fixed some days ago
this was the fix https://github.com/owncloud/core/pull/8249
I am my provider, but I could not help myself ;-) Issue remains here with the latest master. But if I am the only one it might be something setup specific, I'll chrome my app-setup for a while and check again later.
Found the problem, it was an old app (storage-charts) which resided in my apps dir. It was not enabled and had not been enabled, but reading the app.php was enough to disable access to all apps. Chromium worked normal for all apps above the broken app and had the same behavior below.
My problem is solved but one app breaking the whole app management might not be the desired behavior?
Ok closing now. Hopefully the App management will be fixes for. OwnCloud 7.