Click on "Updater" results in 405 [reason phrase] Method Not Allowed

Steps to reproduce

  1. Login as administrator in Owncloud version
  2. Go to settings -> Administration -> General
  3. Click on “Updater aufrufen” in the section “Updater”

Expected behaviour

The update process should start.

Actual behaviour

I get a blank page with the following text:

Client error response [url] [status code] 405 [reason phrase] Method Not Allowed

Server configuration

Operating system: Ubuntu 18.04.5 LTS

Web server: Apache/2.4.29 (Ubuntu)

Database: MySQL 5.7.32-0ubuntu0.18.04.1

PHP version: PHP-FPM 7.2+60ubuntu1

ownCloud version:

Updated from an older ownCloud or fresh install: Updated

Where did you install ownCloud from: From a zip file

Signing status (ownCloud 9.0 and above): Don’t know what that means

No errors have been found.

The content of config/config.php:

    "config": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "\/home\/owncloud\/owncloud\/data",
        "overwrite.cli.url": "https:\/\/***REMOVED SENSITIVE VALUE***",
        "remember_login_cooki_lifetime": 2851200,
        "session_lifetime": 86400,
        "session_keepalive": true,
        "version": "",
        "dbtype": "mysql",
        "dbname": "cloud",
        "dbhost": "localhost",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "loglevel": 2,
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "tls",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "PLAIN",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "587",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "maintenance": false,
        "htaccess.RewriteBase": "\/",
        "appstore.experimental.enabled": true,
        "theme": "",
        "filelocking.enabled": "true",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "activity_expire_days": 120,
        "redis": {
            "host": "\/var\/run\/redis\/redis-server.sock",
            "port": 0
        "updater.secret": "***REMOVED SENSITIVE VALUE***"

List of activated apps:

  - activity: 2.6.0
  - calendar: 1.6.4
  - configreport: 0.2.0
  - contacts: 1.5.5
  - dav: 0.6.0
  - federatedfilesharing: 0.5.0
  - federation: 0.1.0
  - files: 1.5.2
  - files_clipboard: 1.0.2
  - files_external: 0.7.1
  - files_mediaviewer: 1.0.3
  - files_pdfviewer: 0.11.2
  - files_sharing: 0.13.0
  - files_trashbin: 0.9.1
  - files_versions: 1.3.0
  - firstrunwizard: 1.2.0
  - gallery: 16.1.1
  - impersonate: 0.5.0
  - market: 0.6.0
  - notifications: 0.5.2
  - provisioning_api: 0.5.0
  - qownnotesapi: 19.1.0
  - tasks: 0.9.7
  - templateeditor: 0.4.0
  - updatenotification: 0.2.1
  - admin_audit
  - announcementcenter
  - comments
  - customgroups
  - encryption
  - enterprise_key
  - external
  - files_antivirus
  - files_classifier
  - files_external_dropbox
  - files_external_ftp
  - files_ldap_home
  - files_texteditor
  - firewall
  - guests
  - oauth2
  - password_policy
  - ransomware_protection
  - sharepoint
  - systemtags
  - systemtags_management
  - theme-enterprise
  - twofactor_totp
  - user_external
  - user_ldap
  - user_shibboleth
  - windows_network_drive
  - wopi
  - workflow

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

Are you using encryption: no

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

Client configuration

Browser: Mozilla Firefox for Ubuntu 84.0.2 (64-Bit)

Operating system: Ubuntu 20.04.1 LTS


Web server error log - - [15/Jan/2021:18:45:39 +0100] "GET /apps/updatenotification/credentials HTTP/1.1" 200 782 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0" - - [15/Jan/2021:18:45:39 +0100] "GET /index.php/occ/config:list HTTP/1.1" 405 974 "-" "Guzzle/5.3.1 curl/7.58.0 PHP/7.2.24-0ubuntu0.18.04.7" - - [15/Jan/2021:18:45:39 +0100] "POST /updater/ HTTP/1.1" 200 496 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0"

ownCloud log (data/owncloud.log)

I can not add 180MB of log file here.

Browser log

Is this really necessary?

Would be nice to get some help. I want to upgrade a production system and with these errors it is not possible.

Hi NicolasGoeddel,

unfortunately you did not write FROM which ownCloud version you upgraded to If this was an older version, did you follow the upgrade path? See
When not upgrading with the suggested path you can be sure to run into troubles.

Anyway, I personally discourage using the web updater, I’d recommend to perform a manual upgrade, see the docs:

1 Like

The version before was 10.4.0. I still have the tarball of the old version as a backup. The version before 10.4.0 was 10.1.1 if I am right.

Thank you. So you are safe upgrading to any 10.x release.

I’d suggest to perform a manual upgrade. Let us know if you run into difficulties.

1 Like

It might work only through a localhost connection. You could also try with the ip address of the server. I guess updating from an external host could be considered as a security risk, so it isn’t allowed.

Anyway, I’d recommend a manual upgrade too.

1 Like