Skip to content
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

enabling external storage #8363

Closed
vengefulpunk opened this issue Feb 15, 2018 · 13 comments
Closed

enabling external storage #8363

vengefulpunk opened this issue Feb 15, 2018 · 13 comments
Assignees
Milestone

Comments

@vengefulpunk
Copy link

I am trying to enable external storage. The external storage settings page just loads a blank/white page.
ext_storage

Steps to reproduce

  1. enable external storage
  2. go to external storage settings

Expected behaviour

load settings for external storage

Actual behaviour

blank / white page

Server configuration

Operating system: Ubuntu 16.04

Web server: Apache 2.4.18

Database: Mysql 5.7.21

PHP version: 7.1

Nextcloud version: (see Nextcloud admin page) Nextcloud 13

Updated from an older Nextcloud/ownCloud or fresh install: Recently updated from Nextcloud 12

Where did you install Nextcloud from: Nextcloud official download

Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

No errors have been found.

List of activated apps:
Full list and versions in the occ app:list below

App list
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

Enabled:

  • activity: 2.6.1
  • bruteforcesettings: 1.0.3
  • calendar: 1.6.0
  • comments: 1.3.0
  • contacts: 2.1.0
  • dav: 1.4.6
  • federatedfilesharing: 1.3.1
  • federation: 1.3.0
  • files: 1.8.0
  • files_external: 1.4.1
  • files_pdfviewer: 1.2.0
  • files_reader: 1.2.2
  • files_sharing: 1.5.0
  • files_texteditor: 2.5.1
  • files_trashbin: 1.3.0
  • files_versions: 1.6.0
  • files_videoplayer: 1.2.0
  • gallery: 18.0.0
  • logreader: 2.0.0
  • lookup_server_connector: 1.1.0
  • mail: 0.7.9
  • news: 12.0.1
  • nextcloud_announcements: 1.2.0
  • notes: 2.3.2
  • notifications: 2.1.2
  • oauth2: 1.1.0
  • password_policy: 1.3.0
  • provisioning_api: 1.3.0
  • richdocuments: 2.0.0
  • serverinfo: 1.3.0
  • sharebymail: 1.3.0
  • socialsharing_diaspora: 1.0.2
  • socialsharing_email: 1.0.3
  • socialsharing_facebook: 1.0.2
  • socialsharing_googleplus: 1.0.2
  • socialsharing_twitter: 1.0.2
  • survey_client: 1.1.0
  • systemtags: 1.3.0
  • theming: 1.4.1
  • twofactor_backupcodes: 1.2.3
  • twofactor_totp: 1.4.1
  • updatenotification: 1.3.0
  • user_external: 0.4
  • workflowengine: 1.3.0
    Disabled:
  • admin_audit
  • audioplayer
  • encryption
  • firstrunwizard
  • newsbak
  • spreed
  • user_ldap
  • weather

Nextcloud configuration:

Config report
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

or 

Insert your config.php content here. 
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
"system": {
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "cloud.tristarcreations.com",
        "www.cloud.tristarcreations.com"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "https:\/\/cloud.tristarcreations.com",
    "dbtype": "mysql",
    "version": "13.0.0.14",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "logtimezone": "America\/Denver",
    "installed": true,
    "updater.release.channel": "stable",
    "maintenance": false,
    "theme": "",
    "loglevel": 2,
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "php",
    "mail_smtpauthtype": "LOGIN",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mysql.utf8mb4": true

Are you using external storage, if yes which one: local/smb/sftp/... no

Are you using encryption: yes/no no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... no

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

[Symfony\Component\Console\Exception\CommandNotFoundException]
There are no commands defined in the "ldap" namespace.

Client configuration

Browser: Firefox 58.0.2 and Google Chrome 64.0.3282.140

Operating system: Ubuntu 17.10

Logs

Web server error log

Web server error log
Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Nextcloud log ``` empty (and set to log all) Insert your Nextcloud log here ```

Browser log

Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...
@MorrisJobke
Copy link
Member

Looks like a duplicate of #8043 (we have a fix ready for 13.0.1)

And those steps should help as a workaround:

- rm -r data/appdata_*/css/* data/appdata_*/js/*
- occ files:scan-app-data
- reload the page

Could you check if this helps?

@sowoi
Copy link

sowoi commented Feb 15, 2018

I am having the same issue on a fresh install and I followed the above steps but still the external storage screen remains white.
screenshot-2018-2-15 nextcloud

Enabled:

  • activity: 2.6.1
  • comments: 1.3.0
  • dav: 1.4.6
  • federatedfilesharing: 1.3.1
  • federation: 1.3.0
  • files: 1.8.0
  • files_external: 1.4.1
  • files_pdfviewer: 1.2.0
  • files_sharing: 1.5.0
  • files_texteditor: 2.5.1
  • files_trashbin: 1.3.0
  • files_versions: 1.6.0
  • files_videoplayer: 1.2.0
  • firstrunwizard: 2.2.1
  • gallery: 18.0.0
  • logreader: 2.0.0
  • lookup_server_connector: 1.1.0
  • nextcloud_announcements: 1.2.0
  • notifications: 2.1.2
  • oauth2: 1.1.0
  • password_policy: 1.3.0
  • provisioning_api: 1.3.0
  • serverinfo: 1.3.0
  • sharebymail: 1.3.0
  • survey_client: 1.1.0
  • systemtags: 1.3.0
  • theming: 1.4.1
  • twofactor_backupcodes: 1.2.3
  • updatenotification: 1.3.0
  • workflowengine: 1.3.0
    Disabled:
  • admin_audit
  • encryption
  • user_external
  • user_ldap

Server Config:

Server configuration

Operating system: Debian 9

Web server: Apache 2.4.18

Database: MariaDB 10.2.13

PHP version: 7.1

Nextcloud version: Nextcloud 13

Updated from an older Nextcloud/ownCloud or fresh install: fresh install

Where did you install Nextcloud from: Nextcloud official download

@MorrisJobke
Copy link
Member

cc @icewind1991

@obsidiannonparity @sowoi Could you open the web developer tools in your browser and check if there are errors in the console?

@sowoi
Copy link

sowoi commented Feb 15, 2018

When you call the settings with Microsoft Edge, everything is back to normal. After configuring the external memory with MS Edge, it is now also displayed in Firefox. Previously I had the bug with Firefox 58.02 and Chrome 64.0.3282. It seems to be a browser error.

@ylephx
Copy link

ylephx commented Feb 18, 2018

Hello Everyone,
i have the same issue on a brand new install (OVF Appliance downloaded on the website)
the issue remain even on edge (also tested on chrome, internet explorer & firefox)

also tried the workaround :

  • rm -r data/appdata_/css/ data/appdata_/js/
  • occ files:scan-app-data
  • reload the page

no more luck :(

@vengefulpunk
Copy link
Author

I followed those steps @MorrisJobke but that did not correct the issue and it still is not loading.

@MorrisJobke
Copy link
Member

@juliushaertl @skjnldsv Yet another issue with the styles :/

@juliusknorr
Copy link
Member

@obsidiannonparity @ylefevrevrns Can you post the log files from your Nextcloud and check the browser console for errors when loading that page?

@vengefulpunk
Copy link
Author

log is empty and console is clear.

just the expected :
JQMIGRATE: Migrate is installed, version 1.4.0

@skjnldsv
Copy link
Member

Actually, I have the same issue on master. I's not a style issue @MorrisJobke
It briefly load the page but after a server request to https://dev.xxxxxxxx/apps/files_external/userglobalstorages?testOnly=true the page is left blank

The json return of this request is an empty array
@obsidiannonparity Do you also briefly see the page?

kazam

@ylephx
Copy link

ylephx commented Feb 20, 2018

My 2 cents contribution,
I deleted my instance in 13.0 to go on 12.0 (working great)
But when i was in 13.0 i got a briefly view on the page before going to blank.
(Only the headers)
Best,

@vengefulpunk
Copy link
Author

Yes I do see the page briefly before it goes to the white page.

@g-a-c
Copy link

g-a-c commented Feb 22, 2018

I had this issue today with the NextCloud 13 Docker image after enabling the "External storage support" app. For me, the fix was to go to the Administration External Storages page, and enable the "Allow users to mount external storage" option. Any time this option is disabled, my Personal External Storages page is blank, but while this option is enabled, my Personal page is fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants