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

Error 'ReflectionException: Method ... OC\Core\Controller\SvgController::getSvgFromSettings() does not exist' in log after update to 15.0.0 Beta1 #12397

Closed
rso42 opened this issue Nov 10, 2018 · 3 comments
Assignees
Labels
Milestone

Comments

@rso42
Copy link

rso42 commented Nov 10, 2018

Steps to reproduce**

  1. Update Server from 14.0.3 to 15.0.0 Beta 1
  2. Wait few hours. (Have not found what triggers this error, yet.)

Expected behaviour

Actual behaviour

Log file shows groups of 5 'ReflectionException: Method' errors from time to time.

Server configuration

Operating system:
Ubuntu 18.04.1

Web server:
nginx 1.15.4

Database:
MariaDB 10.3.9

PHP version:
7.2

Nextcloud version: (see Nextcloud admin page)
15.0.0 Beta 1

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

Where did you install Nextcloud from:
nextcloud.com download

Signing status:

Signing status No errors have been found.

List of activated apps:

App list

Enabled: - activity: 2.8.2 - cloud_federation_api: 0.1.0 - comments: 1.5.0 - dav: 1.7.2 - encryption: 2.3.0 - federatedfilesharing: 1.5.0 - files: 1.10.0 - files_pdfviewer: 1.4.0 - files_sharing: 1.7.0 - files_texteditor: 2.7.0 - files_trashbin: 1.5.0 - files_videoplayer: 1.4.0 - gallery: 18.2.0 - logreader: 2.0.0 - lookup_server_connector: 1.3.0 - nextcloud_announcements: 1.4.0 - notifications: 2.3.0 - oauth2: 1.3.0 - password_policy: 1.5.0 - provisioning_api: 1.5.0 - serverinfo: 1.5.0 - sharebymail: 1.5.0 - systemtags: 1.5.0 - theming: 1.6.0 - twofactor_backupcodes: 1.4.1 - updatenotification: 1.5.0 - workflowengine: 1.5.0 Disabled: - accessibility - admin_audit - federation - files_external - files_versions - firstrunwizard - support - survey_client - user_external - user_ldap

Nextcloud configuration:

Config report

{
"system": {
"instanceid": "REMOVED SENSITIVE VALUE",
"passwordsalt": "REMOVED SENSITIVE VALUE",
"secret": "REMOVED SENSITIVE VALUE",
"trusted_domains": [
"www.REMOVED.com"
],
"datadirectory": "REMOVED SENSITIVE VALUE",
"tempdirectory": "/var/www/sites/nextcloud/tmp",
"overwrite.cli.url": "https://www.REMOED.com",
"overwriteprotocol": "https",
"overwritehost": "www.REMOVED.com",
"htaccess.RewriteBase": "/",
"dbtype": "mysql",
"version": "15.0.0.5",
"dbname": "REMOVED SENSITIVE VALUE",
"dbhost": "REMOVED SENSITIVE VALUE",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "REMOVED SENSITIVE VALUE",
"dbpassword": "REMOVED SENSITIVE VALUE",
"logtimezone": "Europe/Berlin",
"installed": true,
"memcache.local": "\OC\Memcache\APCu",
"filelocking.enabled": true,
"memcache.locking": "\OC\Memcache\Redis",
"redis": {
"host": "REMOVED SENSITIVE VALUE",
"port": 0,
"dbindex": 0,
"password": "REMOVED SENSITIVE VALUE",
"timeout": 0
},
"loglevel": 1,
"check_for_working_webdav": true,
"has_internet_connection": true,
"check_for_working_wellknown_setup": true,
"allow_user_to_change_display_name": true,
"remember_login_cookie_lifetime": 7776000,
"session_lifetime": 86400,
"session_keepalive": true,
"auth.bruteforce.protection.enabled": true,
"mail_smtpmode": "smtp",
"mail_from_address": "REMOVED SENSITIVE VALUE",
"mail_domain": "REMOVED SENSITIVE VALUE",
"mail_smtpsecure": "ssl",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtphost": "REMOVED SENSITIVE VALUE",
"mail_smtpname": "REMOVED SENSITIVE VALUE",
"mail_smtppassword": "REMOVED SENSITIVE VALUE",
"mail_smtpport": "465",
"trashbin_retention_obligation": "auto, 2",
"activity_expire_days": "180",
"defaultapp": "files",
"enable_avatars": true,
"enable_previews": true,
"enabledPreviewProviders": [
"OC\Preview\PNG",
"OC\Preview\JPEG",
"OC\Preview\GIF",
"OC\Preview\BMP",
"OC\Preview\XBitmap",
"OC\Preview\Movie",
"OC\Preview\PDF"
],
"preview_max_x": 2048,
"preview_max_y": 2048,
"preview_max_scale_factor": 1,
"updater.release.channel": "beta",
"theme": "",
"skeletondirectory": "",
"maintenance": false
}
}

Are you using external storage, if yes which one: no

Are you using encryption: yes

Are you using an external user-backend, if yes which one: no

Logs

Web server error log

Web server error log

Nextcloud log (data/nextcloud.log)

Nextcloud log

ReflectionException: Method OC\Core\Controller\SvgController::getSvgFromSettings() does not exist/var/www/sites/nextcloud/web/lib/private/AppFramework/Utility/ControllerMethodReflector.php - line 47:ReflectionMethod->__construct(OC\Core\Cont ... {}, "getSvgFromSettings")/var/www/sites/nextcloud/web/lib/private/AppFramework/Http/Dispatcher.php - line 95:OC\AppFramework\Utility\ControllerMethodReflector->reflect(OC\Core\Cont ... {}, "getSvgFromSettings")/var/www/sites/nextcloud/web/lib/private/AppFramework/App.php - line 118:OC\AppFramework\Http\Dispatcher->dispatch(OC\Core\Cont ... {}, "getSvgFromSettings")/var/www/sites/nextcloud/web/lib/private/AppFramework/Routing/RouteActionHandler.php - line 47:OC\AppFramework\App::main("OC\Core\C ... r", "getSvgFromSettings", OC\AppFramew ... {}, { folder: "t ... "})<>OC\AppFramework\Routing\RouteActionHandler->__invoke({ folder: "t ... "})/var/www/sites/nextcloud/web/lib/private/Route/Router.php - line 297:call_user_func(OC\AppFramew ... {}, { folder: "t ... "})/var/www/sites/nextcloud/web/lib/base.php - line 987:OC\Route\Router->match("/svg/settin ... 0")/var/www/sites/nextcloud/web/index.php - line 42:OC::handleRequest()

Browser log

Browser log
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #2958 (Update error), #12237 (Upgrade to 15.0.0 alpha failed with Undefined column: 7 ERROR: column "uid" does not exist), #12394 (Multiple 'InvalidArgumentException: Invalid settings setting registered' in log after update to 15.0.0 Beta1), #11085 (Relation does not exist), and #11089 (error after update from 13.0.6 to 14.0.0).

@kesselb
Copy link
Contributor

kesselb commented Nov 11, 2018

['name' => 'Svg#getSvgFromSettings', 'url' => '/svg/settings/{folder}/{fileName}', 'verb' => 'GET'],

@skjnldsv There is no getSvgFromSettings in https://github.com/nextcloud/server/blob/6ad7f329385f73a731f69d9f00cf5b038f3eac04/core/Controller/SvgController.php? 😕

@skjnldsv
Copy link
Member

Yes, that is...unfortunate 🙈

@skjnldsv skjnldsv self-assigned this Nov 11, 2018
@MorrisJobke MorrisJobke added this to the Nextcloud 15 milestone Nov 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants