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

upgrading from 13.0.6 to 14 failed on GuzzleClient\Client #11166

Closed
cyrg38 opened this issue Sep 11, 2018 · 3 comments
Closed

upgrading from 13.0.6 to 14 failed on GuzzleClient\Client #11166

cyrg38 opened this issue Sep 11, 2018 · 3 comments
Labels

Comments

@cyrg38
Copy link

cyrg38 commented Sep 11, 2018

Steps to reproduce

  1. launch upgrade with web interface as usual (although many apps are automatically disabled)
  2. stucked in upgrade step with error
  3. when trying to continue via "occ upgrade" : complains with invalid code : inexistant method GuzzleClient\Client->request on lib/private/Http/Client/Client.php : 161

Expected behaviour

upgrade normally

Actual behaviour

restarted upgrade manually : actual stage is web GUI blue without images, unable to login.
apps disabled are among the best utils : rainloop, mail

Note that when trying to login the page redirect to rainloop as default app resulting in infinite loop of 302 HTTP responses from nginx server : I don't know how to restore default app as files on session startup !

Server configuration

Operating system: Debian 9

Web server: Nginx

Database: MariaDB

PHP version: 7

Nextcloud version: (unable to access Nextcloud admin page) 14

Updated from an older Nextcloud : 13.0.6

Where did you install Nextcloud from:

Signing status:

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

List of activated apps:

App list
Enabled:
  - accessibility: 1.0.1
  - activity: 2.7.0
  - admin_audit: 1.4.0
  - cloud_federation_api: 0.0.1
  - comments: 1.4.0
  - dav: 1.6.0
  - federatedfilesharing: 1.4.0
  - federation: 1.4.0
  - files: 1.9.0
  - files_external: 1.5.0
  - files_sharing: 1.6.2
  - files_texteditor: 2.6.0
  - files_trashbin: 1.4.1
  - files_versions: 1.7.1
  - logreader: 2.0.0
  - lookup_server_connector: 1.2.0
  - nextcloud_announcements: 1.3.0
  - notifications: 2.2.1
  - oauth2: 1.2.1
  - password_policy: 1.4.0
  - provisioning_api: 1.4.0
  - serverinfo: 1.4.0
  - sharebymail: 1.4.0
  - support: 1.0.0
  - survey_client: 1.2.0
  - systemtags: 1.4.0
  - theming: 1.5.0
  - twofactor_backupcodes: 1.3.1
  - updatenotification: 1.4.1
  - user_external: 0.4
  - workflowengine: 1.4.0
Disabled:
  - encryption
  - files_pdfviewer
  - files_videoplayer
  - firstrunwizard
  - gallery
  - rainloop
  - user_ldap

Nextcloud configuration:

Config report
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.0.2",
            "DOMAIN.fr",
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/DOMAIN",
        "version": "14.0.0.19",
        "dbtype": "mysql",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "defaultapp": "files",
        "apps_paths": [
            {
                "path": "\/var\/www\/nextcloud\/apps",
                "url": "\/apps",
                "writable": true
            }
        ],
        "installed": true,
        "loglevel": 0,
        "forcessl": true,
        "mail_smtpmode": "sendmail",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "maintenance": false,
        "memcache.local": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "trashbin_retention_obligation": "auto",
        "asset-pipeline.enabled": true,
        "appstore.experimental.enabled": true,
        "log_type": "owncloud",
        "log_rotate_size": 10240000,
        "enabledPreviewProviders": {
            "0": "OC\\Preview\\Image",
            "1": "OC\\Preview\\MP3",
            "2": "OC\\Preview\\TXT",
            "3": "OC\\Preview\\MarkDown",
            "5": "OC\\Preview\\Epub"
        },
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

Are you using external storage, if yes which one: local/GDrive

Are you using encryption: no

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

Client configuration

Browser:

Operating system:

Logs

Web server error log

Web server error log
Insert your webserver log here

Nextcloud log (data/nextcloud.log)

Nextcloud log
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) ...
@nextcloud-bot
Copy link
Member

GitMate.io thinks possibly related issues are #10932 (13.0.6), #8894 (GUI: No update available from 12.0.6 to 13.0.1), #7552 (Upgrade to 12.0.4 failed ), #7439 (Failed upgrade from 12.0.4 → 13.0.0.6), and #11089 (error after update from 13.0.6 to 14.0.0).

@timm2k
Copy link
Contributor

timm2k commented Sep 11, 2018

Disable apps “bookmarks” or “files_external_gdrive” if they are in use before upgrading nextcloud.
These apps ship an incompatible version of guzzle.
You may identify other apps with incompatible guzzle by using following command:
find /<path_to_nextcloud>/apps -iname "guzzle*"

@cyrg38
Copy link
Author

cyrg38 commented Sep 11, 2018

The only app getting guzzle I have is "files_external_gdrive".

In fact, the fresh re-install produced an effect on upgrading database I think, so that switching again on old install I can get on to the promised 14 version : getting here back with GUI access.

This is SOLVED for me ! Thanks.

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

3 participants