weixin_39562197
weixin_39562197
2020-12-08 22:28

Update to 0.7 makes nextcloud unusable on first update try

When updating from 0.6.1 to 0.7 nextcloud is unusable (blank page). Then I have to disable the app in command line. Then I can update the app using the gui. After that I had to toggle disable/activate a few times until it really was active. Then it worked. I tried this on all my 3 nextcloud installations and they behave the same way except on 1, where the update worked on first try.

This is the log:


{"reqId":"pJ9qiCVtqGn027oS6k3d","level":3,"time":"2018-05-14T14:15:05+02:00","remoteAddr":"","user":"--","app":"PHP","method":"--","url":"--","message":"Declaration of OCA\\FullTextSearch_ElasticSearch\\Platform\\ElasticSearchPlatform::initializeIndex() must be compatible with OCA\\FullTextSearch\\IFullTextSearchPlatform::initializeIndex(OCA\\FullTextSearch\\IFullTextSearchProvider $provider) at \/var\/www\/nextcloud\/apps\/fulltextsearch_elasticsearch\/lib\/Platform\/ElasticSearchPlatform.php#54","userAgent":"--","version":"13.0.1.1"}
{"reqId":"Ex2ulgT1BllGxCaGFf4h","level":3,"time":"2018-05-14T14:18:16+02:00","remoteAddr":"2.204.162.2","user":"kevin_koeck","app":"PHP","method":"POST","url":"\/nextcloud\/index.php\/settings\/ajax\/updateapp.php","message":"Class OCA\\Files_FullTextSearch\\Provider\\FilesProvider contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (OCA\\FullTextSearch\\IFullTextSearchProvider::onIndexingDocument, OCA\\FullTextSearch\\IFullTextSearchProvider::onSearchingQuery) at \/var\/www\/nextcloud\/apps\/files_fulltextsearch\/lib\/Provider\/FilesProvider.php#50","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"2k4GHbFQhUNL9sRT1Mcc","level":3,"time":"2018-05-14T14:18:38+02:00","remoteAddr":"2.204.162.2","user":"kevin_koeck","app":"PHP","method":"GET","url":"\/nextcloud\/ocs\/v2.php\/apps\/notifications\/api\/v2\/notifications","message":"Class OCA\\Files_FullTextSearch\\Provider\\FilesProvider contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (OCA\\FullTextSearch\\IFullTextSearchProvider::onIndexingDocument, OCA\\FullTextSearch\\IFullTextSearchProvider::onSearchingQuery) at \/var\/www\/nextcloud\/apps\/files_fulltextsearch\/lib\/Provider\/FilesProvider.php#50","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}
{"reqId":"TebKsYxQxu2sj9iRvZWP","level":3,"time":"2018-05-14T14:18:38+02:00","remoteAddr":"2.204.162.2","user":"kevin_koeck","app":"PHP","method":"GET","url":"\/nextcloud\/settings\/apps","message":"Class OCA\\Files_FullTextSearch\\Provider\\FilesProvider contains 2 abstract methods and must therefore be declared abstract or implement the remaining methods (OCA\\FullTextSearch\\IFullTextSearchProvider::onIndexingDocument, OCA\\FullTextSearch\\IFullTextSearchProvider::onSearchingQuery) at \/var\/www\/nextcloud\/apps\/files_fulltextsearch\/lib\/Provider\/FilesProvider.php#50","userAgent":"Mozilla\/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko\/20100101 Firefox\/59.0","version":"13.0.1.1"}

Server configuration detail

Operating system: Linux 4.8.8-040808-generic #201611150231 SMP Tue Nov 15 07:33:21 UTC 2016 x86_64

Webserver: Apache (fpm-fcgi)

Database: mysql 5.7.22

PHP version: 7.1.16 Modules loaded: Core, date, libxml, openssl, pcre, zlib, bz2, calendar, ctype, hash, filter, ftp, gettext, gmp, SPL, iconv, Reflection, session, standard, SimpleXML, sockets, mbstring, tokenizer, xml, cgi-fcgi, mysqlnd, bcmath, curl, dba, dom, enchant, fileinfo, gd, imagick, imap, intl, json, ldap, exif, mcrypt, mysqli, odbc, PDO, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, pspell, redis, soap, sqlite3, sysvmsg, sysvsem, sysvshm, tidy, xmlreader, xmlrpc, xmlwriter, xsl, zip, ionCube Loader, Zend OPcache

Nextcloud version: 13.0.2 - 13.0.2.1

Updated from an older Nextcloud/ownCloud or fresh install:

Where did you install Nextcloud from: unknown

Signing status Array List of activated apps

Enabled:
 - activity: 2.6.1
 - admin_audit: 1.3.0
 - announcementcenter: 3.2.1
 - bruteforcesettings: 1.0.3
 - calendar: 1.6.1
 - camerarawpreviews: 0.5.2
 - caniupdate: 0.1.2
 - checksum: 0.4.0
 - circles: 0.13.6
 - comments: 1.3.0
 - contacts: 2.1.3
 - dav: 1.4.6
 - external: 3.0.3
 - federatedfilesharing: 1.3.1
 - federation: 1.3.0
 - files: 1.8.0
 - files_accesscontrol: 1.3.0
 - files_automatedtagging: 1.3.0
 - files_downloadactivity: 1.2.0
 - files_external: 1.4.1
 - files_fulltextsearch: 0.7.0
 - files_pdfviewer: 1.2.1
 - files_rightclick: 0.8.4
 - 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
 - fulltextsearch: 0.7.0
 - fulltextsearch_elasticsearch: 0.7.0
 - gallery: 18.0.0
 - impersonate: 1.0.4
 - issuetemplate: 0.3.0
 - logreader: 2.0.0
 - lookup_server_connector: 1.1.0
 - mail: 0.8.1
 - metadata: 0.6.0
 - mindmaps: 0.1.0
 - mood: 0.3.3
 - 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
 - polls: 0.8.1
 - provisioning_api: 1.3.0
 - quota_warning: 1.2.0
 - ransomware_protection: 1.1.0
 - richdocuments: 2.0.8
 - serverinfo: 1.3.0
 - sharebymail: 1.3.0
 - spreed: 3.2.1
 - survey_client: 1.1.0
 - systemtags: 1.3.0
 - tasks: 0.9.6
 - theming: 1.4.1
 - twofactor_backupcodes: 1.2.3
 - updatenotification: 1.3.0
 - user_external: 0.4
 - user_usage_report: 1.0.1
 - workflowengine: 1.3.0
Disabled:
 - encryption
 - keeweb
 - ojsxc
 - passwords
 - user_ldap

Configuration (config/config.php)

{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "files.freiebaptisten.de"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "overwrite.cli.url": "https:\/\/files.freiebaptisten.de",
    "dbtype": "mysql",
    "version": "13.0.2.1",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "logtimezone": "Europe\/Berlin",
    "installed": true,
    "filelocking.enabled": "true",
    "memcache.local": "\\OC\\Memcache\\Redis",
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 6379,
        "timeout": 0
    },
    "appstore.experimental.enabled": true,
    "maintenance": false,
    "theme": "",
    "loglevel": 2,
    "log_rotation_size": 10485760,
    "ldapIgnoreNamingRules": false,
    "default_language": "de",
    "defaultapp": "files",
    "remember_login_cookie_lifetime": 1296000,
    "trashbin_retention_obligation": "auto",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "php",
    "mail_smtpauthtype": "LOGIN",
    "mail_domain": "***REMOVED SENSITIVE VALUE***"
}

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/...

该提问来源于开源项目:nextcloud/fulltextsearch

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答

4条回答

  • weixin_39897127 weixin_39897127 4月前

    might be related to the order you upgraded the app, thanks for this report.

    On the instance with issue, can you check that all the fulltextsearch related app have been upgraded to 0.7.0 ?

    点赞 评论 复制链接分享
  • weixin_39562197 weixin_39562197 4月前

    Normally I just update the apps in the row shown and press multiple at once. Can't remember if I did it on all instances the same way but fulltextsearch is before fulltextsearch_files in the list. Maybe it is an order problem. After all updating all fulltextsearch apps are at 0.7.

    点赞 评论 复制链接分享
  • weixin_39789979 weixin_39789979 4月前

    same here... after first installation had to manually disable the apps via CLI to use nextcloud again. after that i could activate every plugin again...

    so i suggest deactivation before upgrading.

    点赞 评论 复制链接分享
  • weixin_39897127 weixin_39897127 4月前

    Yeah, I edited the post earlier today, saying that a disable is better.

    Remember that this is still beta and the complex framework to allow multiple content provider might generate some conflict during upgrade.

    Eventually this is the last beta and - hopefully - next updates will go smoother.

    点赞 评论 复制链接分享