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

disabling external storage with google drive still active kills the server #10754

Closed
BlueEther opened this issue Aug 20, 2018 · 2 comments
Closed
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug feature: external storage

Comments

@BlueEther
Copy link

Steps to reproduce

1.enable external storage
2.enable google
3.enable External storage support for Google Drive
4.disable external storage
=> server 500 error

Expected behaviour

not a http 500 error, disable addons that rely on something above them when disabled

Actual behaviour

returns a 500 error instead of normal response

Server configuration detail

Operating system: FreeBSD 11.2-STABLE FreeBSD 11.2-STABLE #0 r325575+5e9e52d405e(freenas/11-stable): Wed Aug 1 11:23:44 EDT 2018 root@nemesis.tn.ixsystems.com:/freenas-11.2-releng/freenas/_BE/objs/freenas-11.2-releng/freenas/_BE/os/sys/FreeNAS.amd64 amd64

Webserver: Apache/2.4.34 (FreeBSD) OpenSSL/1.0.2k-freebsd PHP/7.2.8 (apache2handler)

Database: mysql 10.2.16

PHP version: 7.2.8
Modules loaded: Core, date, libxml, pcre, Reflection, SPL, hash, session, apache2handler, standard, apcu, bz2, ctype, curl, dom, mbstring, fileinfo, filter, ftp, gd, gmp, mysqlnd, iconv, imap, intl, json, ldap, exif, mysqli, openssl, pcntl, PDO, posix, SimpleXML, smbclient, xml, xmlwriter, zip, zlib, memcache, pdo_mysql, redis, wddx, xmlreader, xsl, libsmbclient, Zend OPcache

Nextcloud version: 13.0.5 - 13.0.5.2

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

Where did you install Nextcloud from:
https://forums.freenas.org/index.php?threads/how-to-install-nextcloud-13-in-freenas-with-all-checks-passed-updated-to-use-iocage.61934/

Signing status

Array

List of activated apps
Enabled:
 - activity: 2.6.1
 - comments: 1.3.0
 - dav: 1.4.7
 - federatedfilesharing: 1.3.1
 - federation: 1.3.0
 - files: 1.8.0
 - files_external: 1.4.1
 - files_external_gdrive: 0.2.8
 - 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
 - issuetemplate: 0.3.0
 - keeporsweep: 0.1.6
 - logreader: 2.0.0
 - lookup_server_connector: 1.1.0
 - metadata: 0.7.0
 - nextcloud_announcements: 1.2.0
 - notifications: 2.1.2
 - oauth2: 1.1.1
 - 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.5
 - twofactor_backupcodes: 1.2.3
 - unsplash: 1.1.1
 - updatenotification: 1.3.0
 - workflowengine: 1.3.0
Disabled:
 - admin_audit
 - encryption
 - files_pdfviewer
 - files_rightclick
 - nextcloud-metadata-0.7.0
 - user_external
 - user_ldap

Configuration (config/config.php)
{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "",
    "trusted_domains": [
        "10.1.1.50",
        "10.1.1.55",
        "***REMOVED SENSITIVE VALUE***"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "http:\/\/10.1.1.55",
    "dbtype": "mysql",
    "version": "13.0.5.2",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "maintenance": false,
    "memcache.local": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 0
    }
}

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

Are you using encryption: no

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

LDAP configuration (delete this part if not used)
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.

Client configuration

Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36

Operating system:

Logs

Browser log
[Mon Aug 20 19:57:42.135414 2018] [core:notice] [pid 24283] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Mon Aug 20 20:10:46.131019 2018] [php7:error] [pid 24969] [client 10.1.1.26:14575] PHP Fatal error:  Interface 'OCA\\Files_External\\Lib\\Config\\IBackendProvider' not found in /usr/local/www/apache24/data/nextcloud/apps/files_external_gdrive/lib/AppInfo/Application.php on line 32
[Mon Aug 20 20:10:52.591287 2018] [php7:error] [pid 24857] [client 10.1.1.26:14576] PHP Fatal error:  Interface 'OCA\\Files_External\\Lib\\Config\\IBackendProvider' not found in /usr/local/www/apache24/data/nextcloud/apps/files_external_gdrive/lib/AppInfo/Application.php on line 32
[Mon Aug 20 20:10:56.611732 2018] [php7:error] [pid 25030] [client 10.1.1.26:14577] PHP Fatal error:  Interface 'OCA\\Files_External\\Lib\\Config\\IBackendProvider' not found in /usr/local/www/apache24/data/nextcloud/apps/files_external_gdrive/lib/AppInfo/Application.php on line 32
[Mon Aug 20 20:10:57.702252 2018] [php7:error] [pid 24286] [client 10.1.1.26:14583] PHP Fatal error:  Interface 'OCA\\Files_External\\Lib\\Config\\IBackendProvider' not found in /usr/local/www/apache24/data/nextcloud/apps/files_external_gdrive/lib/AppInfo/Application.php on line 32
[Mon Aug 20 20:10:58.633713 2018] [php7:error] [pid 25023] [client 10.1.1.26:14589] PHP Fatal error:  Interface 'OCA\\Files_External\\Lib\\Config\\IBackendProvider' not found in /usr/local/www/apache24/data/nextcloud/apps/files_external_gdrive/lib/AppInfo/Application.php on line 32
[Mon Aug 20 20:11:07.238385 2018] [php7:error] [pid 24967] [client 10.1.1.26:14595] PHP Fatal error:  Interface 'OCA\\Files_External\\Lib\\Config\\IBackendProvider' not found in /usr/local/www/apache24/data/nextcloud/apps/files_external_gdrive/lib/AppInfo/Application.php on line 32
[Mon Aug 20 20:11:15.430533 2018] [php7:error] [pid 24860] [client 111.69.72.48:14610] PHP Fatal error:  Interface 'OCA\\Files_External\\Lib\\Config\\IBackendProvider' not found in /usr/local/www/apache24/data/nextcloud/apps/files_external_gdrive/lib/AppInfo/Application.php on line 32, referer: https://cloud.fryett.net/.well-known/acme-challenge/I8ho2HvBZ1TaIybrMcKMUu51j69tknm10CW-TianOB8
[Mon Aug 20 20:11:18.968008 2018] [php7:error] [pid 24860] [client 111.69.72.48:14610] PHP Fatal error:  Interface 'OCA\\Files_External\\Lib\\Config\\IBackendProvider' not found in /usr/local/www/apache24/data/nextcloud/apps/files_external_gdrive/lib/AppInfo/Application.php on line 32
[Mon Aug 20 20:11:31.641970 2018] [mpm_prefork:notice] [pid 24283] AH00169: caught SIGTERM, shutting down
[Mon Aug 20 20:11:31.742639 2018] [ssl:warn] [pid 25404] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]
[Mon Aug 20 20:11:31.890377 2018] [mpm_prefork:notice] [pid 25404] AH00163: Apache/2.4.34 (FreeBSD) OpenSSL/1.0.2k-freebsd PHP/7.2.8 configured -- resuming normal operations
[Mon Aug 20 20:11:31.890411 2018] [core:notice] [pid 25404] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
[Mon Aug 20 20:11:36.620077 2018] [php7:error] [pid 25405] [client 111.69.72.48:14625] PHP Fatal error:  Interface 'OCA\\Files_External\\Lib\\Config\\IBackendProvider' not found in /usr/local/www/apache24/data/nextcloud/apps/files_external_gdrive/lib/AppInfo/Application.php on line 32

Nextcloud log
Insert your Nextcloud log here
Browser log

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

a) The javascript console log
b) The network log
c) ...
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #3789 (External storage), #4730 (Storage), #8363 (enabling external storage), #9699 (Can't set external storage), and #6529 (External storage issue).

@skjnldsv skjnldsv added the 0. Needs triage Pending check for reproducibility or if it fits our roadmap label Jun 12, 2019
@szaimen
Copy link
Contributor

szaimen commented May 21, 2021

I'm closing this issue due to inactivity. If this is still happening please make sure to upgrade to the latest version. After that, feel free to reopen.

@szaimen szaimen closed this as completed May 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug feature: external storage
Projects
None yet
Development

No branches or pull requests

4 participants