nextcloud / server

☁️ Nextcloud server, a safe home for all your data
https://nextcloud.com
GNU Affero General Public License v3.0
27.31k stars 4.06k forks source link

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

Closed cyrg38 closed 6 years ago

cyrg38 commented 6 years ago
### 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 commented 6 years ago

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

timm2k commented 6 years ago

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 commented 6 years ago

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.