Skip to content

Update to 1.2.1 → An error occured during the request. Unable to proceed. Couldn't update app. #2582

@nursoda

Description

@nursoda

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Describe the bug
I just updated to Deck 1.2.1 on several NC 20 instances and on one NC 19 without any issues. However, on one instance I only get this message: "An error occured during the request. Unable to proceed. Couldn't update app."

Client details:

  • Device/OS: Laptop running Arch Linux, up-to-date
  • Browser: Firefox 83
Server details

Operating system:
Linux 3.10.0-1062.9.1.el7.x86_64 #1 SMP Fri Dec 6 15:49:49 UTC 2019 x86_64

Web server:
Apache (fpm-fcgi)

Database:
mysql 10.3.27

PHP version:
7.3.24
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, Reflection, SPL, session, standard, cgi-fcgi, bcmath, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gmp, iconv, intl, json, ldap, exif, mysqlnd, PDO, Phar, posix, SimpleXML, sqlite3, tokenizer, xml, xmlwriter, xsl, zip, mysqli, pdo_mysql, pdo_sqlite, wddx, xmlreader, Zend OPcache

Nextcloud version: (see Nextcloud admin page)
19.0.4 - 19.0.4.2

Where did you install Nextcloud from:
Service provider originally installed it, I updated it to 19

Signing status:
Array
(
)
No errors have been found.

List of activated apps:

Enabled:
 - activity: 2.12.1
 - apporder: 0.11.0
 - bookmarks: 3.4.9
 - bruteforcesettings: 2.0.1
 - calendar: 2.0.4
 - checksum: 0.4.5
 - cloud_federation_api: 1.2.0
 - comments: 1.9.0
 - contacts: 3.4.2
 - contactsinteraction: 1.0.0
 - dav: 1.15.0
 - deck: 1.2.0
 - federatedfilesharing: 1.9.0
 - federation: 1.9.0
 - files: 1.14.0
 - files_mindmap: 0.0.23
 - files_pdfviewer: 1.8.0
 - files_rightclick: 0.16.0
 - files_sharing: 1.11.0
 - files_trashbin: 1.9.0
 - files_versions: 1.12.0
 - files_videoplayer: 1.8.0
 - forms: 2.0.4
 - groupfolders: 7.1.1
 - impersonate: 1.6.1
 - issuetemplate: 0.7.0
 - logreader: 2.4.0
 - lookup_server_connector: 1.7.0
 - mail: 1.4.1
 - notes: 3.6.4
 - notifications: 2.7.0
 - oauth2: 1.7.0
 - occweb: 0.0.7
 - onlyoffice: 6.1.0
 - password_policy: 1.9.1
 - photos: 1.1.0
 - polls: 1.5.7
 - privacy: 1.3.0
 - provisioning_api: 1.9.0
 - ransomware_detection: 0.8.0
 - ransomware_protection: 1.7.0
 - serverinfo: 1.9.0
 - settings: 1.1.0
 - sharebymail: 1.9.0
 - spreed: 9.0.6
 - systemtags: 1.9.0
 - tasks: 0.13.6
 - text: 3.0.1
 - theming: 1.10.0
 - twofactor_admin: 3.0.0
 - twofactor_backupcodes: 1.8.0
 - twofactor_email: 1.0.1
 - twofactor_nextcloud_notification: 2.3.0
 - twofactor_totp: 5.0.0
 - twofactor_u2f: 6.0.0
 - updatenotification: 1.9.0
 - viewer: 1.3.0
 - workflowengine: 2.1.0
Disabled:
 - accessibility
 - admin_audit
 - encryption
 - files_external
 - firstrunwizard
 - nextcloud_announcements
 - recommendations
 - support
 - survey_client
 - user_ldap

Nextcloud configuration:

{
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "trusted_domains": [
        "efdpo.owncube.com"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "19.0.4.2",
    "overwrite.cli.url": "http:\/\/efdpo.owncube.com",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "default_language": "de",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpmode": "smtp",
    "mail_sendmailmode": "smtp",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpauthtype": "PLAIN",
    "mail_smtpauth": 1,
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "587",
    "mail_smtpsecure": "tls",
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "maintenance": false,
    "theme": "",
    "loglevel": 2,
    "skeletondirectory": "",
    "app_install_overwrite": [
        "occweb",
        "checksum",
        "onlyoffice",
        "ransomware_detection",
        "twofactor_email"
    ],
    "mysql.utf8mb4": true,
    "updater.release.channel": "stable"
}

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

Logs

Nextcloud log (data/nextcloud.log)

I can only access that via Web (/settings/admin/logging). That's what I see:

{"reqId":"X7WTLwnvH8nS0DoUt67xqAAAADo","level":3,"time":"2020-11-18T21:33:36+00:00","remoteAddr":"78.94.68.73","user":"admin","app":"core","method":"GET","url":"/index.php/settings/apps/update/deck","message":{"Exception":"GuzzleHttp\\Exception\\RequestException","Message":"cURL error 23: Failure writing output to destination (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)","Code":200,"Trace":[{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":155,"function":"createRejection","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[{"sink":{"stream":{"__class__":"GuzzleHttp\\Psr7\\Stream"},"__class__":"GuzzleHttp\\Psr7\\LazyOpenStream"},"headers":["x-amz-id-2: ueJ8Eq9gtfm/jbbwBIdcWzkHrkCPREC1CYHEaJJ9LB9mAahVBpsQN/sNo3/dBnBjxwr/ew3xOPM=","x-amz-request-id: AF0CABBBBA7D234D","Date: Wed, 18 Nov 2020 21:33:36 GMT","Last-Modified: Wed, 18 Nov 2020 10:29:24 GMT","ETag: \"3abd4d18f6bdddc6a9c9659f75102b88\"","Content-Disposition: attachment; filename=deck.tar.gz","Accept-Ranges: bytes","Content-Type: application/octet-stream","Content-Length: 5046495","Server: AmazonS3"],"response":{"__class__":"GuzzleHttp\\Psr7\\Response"},"request":{"__class__":"GuzzleHttp\\Psr7\\Request"},"options":{"verify":"/home/pmlwxqlq/nextclouddata/files_external/rootcerts.crt","timeout":120,"synchronous":true,"handler":{"__class__":"GuzzleHttp\\HandlerStack"},"allow_redirects":{"max":5,"protocols":["http","https"],"strict":false,"referer":false,"track_redirects":false},"http_errors":true,"decode_content":true,"cookies":false,"idn_conversion":true,"sink":"/tmp/oc_tmp_ik9VNR-.tar.gz","__redirect_count":1},"errno":23,"onHeadersException":null,"__class__":"GuzzleHttp\\Handler\\EasyHandle"},{"errno":23,"error":"Failure writing output to destination","appconnect_time":0.282791,"url":"https://github-production-release-asset-2e65be.s3.amazonaws.com/79368515/4c2dd180-2991-11eb-81a0-afa6dcad90cc?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20201118%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20201118T213329Z&X-Amz-Expires=300&X-Amz-Signature=bc7f5236a193b689ca7540249284767acbd7a6abb659b66e62a7e5597956def7&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=79368515&response-content-disposition=attachment%3B%20filename%3Ddeck.tar.gz&response-content-type=application%2Foctet-stream","content_type":"application/octet-stream","http_code":200,"header_size":430,"request_size":584,"filetime":-1,"ssl_verify_result":0,"redirect_count":0,"total_time":0.875038,"namelookup_time":0.001021,"connect_time":0.093024,"pretransfer_time":0.282833,"size_upload":0,"size_download":1251922,"speed_download":1430768,"speed_upload":0,"download_content_length":5046495,"upload_content_length":-1,"starttransfer_time":0.382798,"redirect_time":0,"redirect_url":"","primary_ip":"52.216.141.244","certinfo":[],"primary_port":443,"local_ip":"144.76.45.143","local_port":49454,"http_version":2,"protocol":2,"ssl_verifyresult":0,"scheme":"HTTPS","appconnect_time_us":282791,"connect_time_us":93024,"namelookup_time_us":1021,"pretransfer_time_us":282833,"redirect_time_us":0,"starttransfer_time_us":382798,"total_time_us":875038,"curl_version":"7.73.0"}]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":105,"function":"finishError","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[{"__class__":"GuzzleHttp\\Handler\\CurlHandler"},{"sink":{"stream":{"__class__":"GuzzleHttp\\Psr7\\Stream"},"__class__":"GuzzleHttp\\Psr7\\LazyOpenStream"},"headers":["x-amz-id-2: ueJ8Eq9gtfm/jbbwBIdcWzkHrkCPREC1CYHEaJJ9LB9mAahVBpsQN/sNo3/dBnBjxwr/ew3xOPM=","x-amz-request-id: AF0CABBBBA7D234D","Date: Wed, 18 Nov 2020 21:33:36 GMT","Last-Modified: Wed, 18 Nov 2020 10:29:24 GMT","ETag: \"3abd4d18f6bdddc6a9c9659f75102b88\"","Content-Disposition: attachment; filename=deck.tar.gz","Accept-Ranges: bytes","Content-Type: application/octet-stream","Content-Length: 5046495","Server: AmazonS3"],"response":{"__class__":"GuzzleHttp\\Psr7\\Response"},"request":{"__class__":"GuzzleHttp\\Psr7\\Request"},"options":{"verify":"/home/pmlwxqlq/nextclouddata/files_external/rootcerts.crt","timeout":120,"synchronous":true,"handler":{"__class__":"GuzzleHttp\\HandlerStack"},"allow_redirects":{"max":5,"protocols":["http","https"],"strict":false,"referer":false,"track_redirects":false},"http_errors":true,"decode_content":true,"cookies":false,"idn_conversion":true,"sink":"/tmp/oc_tmp_ik9VNR-.tar.gz","__redirect_count":1},"errno":23,"onHeadersException":null,"__class__":"GuzzleHttp\\Handler\\EasyHandle"},{"__class__":"GuzzleHttp\\Handler\\CurlFactory"}]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php","line":43,"function":"finish","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":[{"__class__":"GuzzleHttp\\Handler\\CurlHandler"},{"sink":{"stream":{"__class__":"GuzzleHttp\\Psr7\\Stream"},"__class__":"GuzzleHttp\\Psr7\\LazyOpenStream"},"headers":["x-amz-id-2: ueJ8Eq9gtfm/jbbwBIdcWzkHrkCPREC1CYHEaJJ9LB9mAahVBpsQN/sNo3/dBnBjxwr/ew3xOPM=","x-amz-request-id: AF0CABBBBA7D234D","Date: Wed, 18 Nov 2020 21:33:36 GMT","Last-Modified: Wed, 18 Nov 2020 10:29:24 GMT","ETag: \"3abd4d18f6bdddc6a9c9659f75102b88\"","Content-Disposition: attachment; filename=deck.tar.gz","Accept-Ranges: bytes","Content-Type: application/octet-stream","Content-Length: 5046495","Server: AmazonS3"],"response":{"__class__":"GuzzleHttp\\Psr7\\Response"},"request":{"__class__":"GuzzleHttp\\Psr7\\Request"},"options":{"verify":"/home/pmlwxqlq/nextclouddata/files_external/rootcerts.crt","timeout":120,"synchronous":true,"handler":{"__class__":"GuzzleHttp\\HandlerStack"},"allow_redirects":{"max":5,"protocols":["http","https"],"strict":false,"referer":false,"track_redirects":false},"http_errors":true,"decode_content":true,"cookies":false,"idn_conversion":true,"sink":"/tmp/oc_tmp_ik9VNR-.tar.gz","__redirect_count":1},"errno":23,"onHeadersException":null,"__class__":"GuzzleHttp\\Handler\\EasyHandle"},{"__class__":"GuzzleHttp\\Handler\\CurlFactory"}]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php","line":28,"function":"__invoke","class":"GuzzleHttp\\Handler\\CurlHandler","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/guzzle/src/Handler/Proxy.php","line":51,"function":"GuzzleHttp\\Handler\\{closure}","class":"GuzzleHttp\\Handler\\Proxy","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php","line":37,"function":"GuzzleHttp\\Handler\\{closure}","class":"GuzzleHttp\\Handler\\Proxy","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/guzzle/src/Middleware.php","line":29,"function":"__invoke","class":"GuzzleHttp\\PrepareBodyMiddleware","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php","line":70,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\Middleware","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php","line":107,"function":"__invoke","class":"GuzzleHttp\\RedirectMiddleware","type":"->","args":["*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php","line":72,"function":"checkRedirect","class":"GuzzleHttp\\RedirectMiddleware","type":"->","args":[{"__class__":"GuzzleHttp\\Psr7\\Request"},"*** sensitive parameter replaced ***","*** sensitive parameter replaced ***"]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/promises/src/FulfilledPromise.php","line":39,"function":"GuzzleHttp\\{closure}","class":"GuzzleHttp\\RedirectMiddleware","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/promises/src/TaskQueue.php","line":47,"function":"GuzzleHttp\\Promise\\{closure}","class":"GuzzleHttp\\Promise\\FulfilledPromise","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/promises/src/Promise.php","line":246,"function":"run","class":"GuzzleHttp\\Promise\\TaskQueue","type":"->","args":[true]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/promises/src/Promise.php","line":223,"function":"invokeWaitFn","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/promises/src/Promise.php","line":267,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/promises/src/Promise.php","line":225,"function":"invokeWaitList","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/promises/src/Promise.php","line":62,"function":"waitIfPending","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/guzzle/src/Client.php","line":183,"function":"wait","class":"GuzzleHttp\\Promise\\Promise","type":"->","args":[]},{"file":"/home/pmlwxqlq/public_html/lib/private/Http/Client/Client.php","line":228,"function":"request","class":"GuzzleHttp\\Client","type":"->","args":["get","https://github.com/nextcloud/deck/releases/download/v1.2.1/deck.tar.gz",{"verify":"/home/pmlwxqlq/nextclouddata/files_external/rootcerts.crt","timeout":120,"save_to":"/tmp/oc_tmp_ik9VNR-.tar.gz","headers":{"User-Agent":"Nextcloud Server Crawler"},"synchronous":true}]},{"file":"/home/pmlwxqlq/public_html/lib/private/Installer.php","line":281,"function":"get","class":"OC\\Http\\Client\\Client","type":"->","args":["https://github.com/nextcloud/deck/releases/download/v1.2.1/deck.tar.gz",{"save_to":"/tmp/oc_tmp_ik9VNR-.tar.gz","timeout":120}]},{"file":"/home/pmlwxqlq/public_html/lib/private/Installer.php","line":197,"function":"downloadApp","class":"OC\\Installer","type":"->","args":["*** sensitive parameter replaced ***"]},{"file":"/home/pmlwxqlq/public_html/apps/settings/lib/Controller/AppSettingsController.php","line":531,"function":"updateAppstoreApp","class":"OC\\Installer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/home/pmlwxqlq/public_html/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"updateApp","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/home/pmlwxqlq/public_html/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"updateApp"]},{"file":"/home/pmlwxqlq/public_html/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"updateApp"]},{"file":"/home/pmlwxqlq/public_html/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AppSettingsController","updateApp",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"appId":"*** sensitive parameter replaced ***","_route":"settings.AppSettings.updateApp"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"appId":"*** sensitive parameter replaced ***","_route":"settings.AppSettings.updateApp"}]},{"file":"/home/pmlwxqlq/public_html/lib/private/Route/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"appId":"*** sensitive parameter replaced ***","_route":"settings.AppSettings.updateApp"}]},{"file":"/home/pmlwxqlq/public_html/lib/base.php","line":1011,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/apps/update/deck"]},{"file":"/home/pmlwxqlq/public_html/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/home/pmlwxqlq/public_html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","Line":201,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0","version":"19.0.4.2","id":"5fb59343c6dc2"}

Browser javascript console log

GET efdpo.owncube.com/index.php/settings/apps/update/deck
HTTP/1.1 500 Internal Server Error
data Object { message: "Couldn't update app." }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions