Http 405 error while trying to change admin password

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 20.0.5): 20.0.7
Operating system and version (eg, Ubuntu 20.04): ubuntu 20.04
Apache or nginx version (eg, Apache 2.4.25): apache 2.4.41
PHP version (eg, 7.4): 7.4.3

The issue you are facing:

when I tried to change admin password, it is throwing http 405 error. also settings / summary section isn’t working, it stucks at system and security issues are being checked.

Is this the first time you’ve seen this error? (Y/N):Y

The output of your Nextcloud log in Admin > Logging:

this part also shows nothing. empty page, but I setup log file in config.php, so I can catch some logs.

{"reqId":"xpJl7TuB4ZhgeOH7e9x9","level":0,"time":"February 20, 2021 16:21:39","remoteAddr":"95.70.xx.xx","user":"murdocklawless","app":"contacts","method":"POST","url":"/index.php/settings/user/security","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36","version":"20.0.7.1"}
{"reqId":"xpJl7TuB4ZhgeOH7e9x9","level":0,"time":"February 20, 2021 16:21:39","remoteAddr":"95.70.xx.xx","user":"murdocklawless","app":"richdocuments","method":"POST","url":"/index.php/settings/user/security","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36","version":"20.0.7.1"}
{"reqId":"xpJl7TuB4ZhgeOH7e9x9","level":0,"time":"February 20, 2021 16:21:39","remoteAddr":"95.70.xx.xx","user":"murdocklawless","app":"files_sharing","method":"POST","url":"/index.php/settings/user/security","message":"/appinfo/app.php is deprecated, use \\OCP\\AppFramework\\Bootstrap\\IBootstrap on the application class instead.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36","version":"20.0.7.1"}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'instanceid' => 'xxxxxxxx',
  'passwordsalt' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxx',
  'secret' => 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',
  'trusted_domains' => 
  array (
    0 => 'cloud.xxxxxx.com',
  ),
  'datadirectory' => '/var/www/web/data',
  'dbtype' => 'mysql',
  'version' => '20.0.7.1',
  'overwrite.cli.url' => 'http://cloud.xxxxxx.com',
  'dbname' => 'xxxxxxxx',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'xx',
  'mysql.utf8mb4' => true,
  'dbuser' => 'xxxxxxxx',
  'dbpassword' => 'xxxxxxxx',
  'installed' => true,
  'log_type' => 'file',
  'logfile' => 'nextcloud.log',
  'logfilemode' => 0640,
  'loglevel' => '0',
  'logdateformat' => 'F d, Y H:i:s',
);

The output of your Apache/nginx/system log in /var/log/____:

xxxxxx.com:8080 95.70.xx.xx - - [20/Feb/2021:19:29:02 +0300] "GET /datalogstatus.php HTTP/1.1" 200 711 "https://80.211.xx.xx:8080/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
xxxxxx.com:8080 95.70.xx.xx - - [20/Feb/2021:19:29:06 +0300] "GET /datalogstatus.php HTTP/1.1" 200 711 "https://80.211.xx.xx:8080/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
xxxxxx.com:443 95.70.xx.xx - - [20/Feb/2021:19:29:06 +0300] "-" 408 4660 "-" "-"
xxxxxx.com:8080 95.70.xx.xx - - [20/Feb/2021:19:29:08 +0300] "GET /datalogstatus.php HTTP/1.1" 200 676 "https://80.211.xx.xx:8080/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
xxxxxx.com:8080 95.70.xx.xx - - [20/Feb/2021:19:29:12 +0300] "GET /datalogstatus.php HTTP/1.1" 200 3637 "https://80.211.xx.xx:8080/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
cloud.xxxxxx.com:443 95.70.xx.xx - - [20/Feb/2021:19:29:13 +0300] "POST /index.php/settings/user/security HTTP/1.1" 405 1463 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
xxxxxx.com:8080 95.70.xx.xx - - [20/Feb/2021:19:29:14 +0300] "GET /datalogstatus.php HTTP/1.1" 200 712 "https://80.211.xx.xx:8080/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
xxxxxx.com:8080 95.70.xx.xx - - [20/Feb/2021:19:29:18 +0300] "GET /datalogstatus.php HTTP/1.1" 200 712 "https://80.211.xx.xx:8080/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
xxxxxx.com:8080 95.70.xx.xx - - [20/Feb/2021:19:29:20 +0300] "GET /datalogstatus.php HTTP/1.1" 200 712 "https://80.211.xx.xx:8080/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
xxxxxx.com:8080 95.70.xx.xx - - [20/Feb/2021:19:29:24 +0300] "GET /datalogstatus.php HTTP/1.1" 200 712 "https://80.211.xx.xx:8080/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
xxxxxx.com:8080 95.70.xx.xx - - [20/Feb/2021:19:29:26 +0300] "GET /datalogstatus.php HTTP/1.1" 200 712 "https://80.211.xx.xx:8080/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
xxxxxx.com:8080 95.70.xx.xx - - [20/Feb/2021:19:29:30 +0300] "GET /datalogstatus.php HTTP/1.1" 200 712 "https://80.211.xx.xx:8080/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
xxxxxx.com:8080 95.70.xx.xx - - [20/Feb/2021:19:29:32 +0300] "GET /datalogstatus.php HTTP/1.1" 200 712 "https://80.211.xx.xx:8080/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
xxxxxx.com:8080 95.70.xx.xx - - [20/Feb/2021:19:29:36 +0300] "GET /datalogstatus.php HTTP/1.1" 200 712 "https://80.211.xx.xx:8080/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
xxxxxx.com:8080 95.70.xx.xx - - [20/Feb/2021:19:29:38 +0300] "GET /datalogstatus.php HTTP/1.1" 200 712 "https://80.211.xx.xx:8080/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
cloud.xxxxxx.com:443 95.70.xx.xx - - [20/Feb/2021:19:29:39 +0300] "GET /ocs/v2.php/apps/notifications/api/v2/notifications HTTP/1.1" 304 855 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
xxxxxx.com:8080 95.70.xx.xx - - [20/Feb/2021:19:29:42 +0300] "GET /datalogstatus.php HTTP/1.1" 200 712 "https://80.211.xx.xx:8080/index.php" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"

ispconfig somehow set file permissions to 0711. I set them to 0750 and problem solved.