-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to add external storage as user #10327
Comments
Can you post a full bug report as described here please? |
I'll look into it when I've time. |
Steps to reproduce
Variant:
Expected behaviourUser should be able to add external storage. Actual behaviourUser is unable to add external storage as the necessary config options are not available in the web interface. Manually adding w Server configurationOperating system: The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/... Are you using encryption: yes/no Client configurationBrowser: Operating system: LogsWeb server error log
ownCloud log (data/owncloud.log)
Browser logFirefox console:
Interesting part in German: Content security policy: The settings of the page have blocked loading a ressource: An attempt to execute inline scripts was blocked. |
+1 looks like the problem is tied to 'asset-pipeline.enabled' => true, as a workaround you may try to disable this feature. |
Disabling the asset cache indeed seems to solve the problem, thx for the hint. However, running OC on very low end hw, I'm glad for every performance saver I can get, so it would be great to have this bug fixed. |
Strange, how can these be related ? @Xenopathic do you have an idea ? |
The inability to copy across a configuration from the admin mount.json to the user's one is probably a syntax problem - there are some subtle differences. However, as far as the actual issue is concerned, I think that |
I've got another problem that setting asset-pipeline.enabled to false resolved: the javascript files of the personal settings page for the activity app weren't loaded and so, I could'nt change the settings from the interface. Just an idea (I've got a similar problem when developing Lutim): maybe the javascript files that are concatenated and compressed are not ending with a semi-colon and prevents the javascript code to be correctly evaluated. I solved the problem by inserting a file containing a semi-colon between each file. |
Reproduced it on master. |
Same in my installation with enabled asset-pipeline. May be the order of the scripts is wrong? With disabled asset-pipeline the CSP-Errors remain, without any negative effect. |
@DeepDiver1975 another asset pipeline issue like the one from documents |
I had the same issue on my installation. Along with this, users were not able to add a personal avatar with |
I cannot add any external storage as OC user. The permission to do so has been granted in the admin settings.
However, when I try to enter the configuration of an external storage in the user's settings page, only the fields "name" and "type" are available at all. No more configuration can be entered.
Also it is not possible to add the storage manually by creating a data/user/mount.json-file. An external storage added this way does not appear in the "all files" view of OC's file manager. It does appear, however, when clicking on the "external storage" panel of the file manager, but cannot be browsed.
The same external storage works flawlessly when added as admin in the admin config page.
The text was updated successfully, but these errors were encountered: