Internal server error nextcloud docker

Running Docker container latest. Everything was working fine (apps installed, mobile connected, etc), until I moved the volume files to a larger volume 10GB to 50GB, and then: Internal Server Error...

@laurentS thank you!! i took your advice to remove the -d, and it does in fact give me clear error logs.

PHP Warning:  fileperms(): stat failed for /var/www/html/data/nextcloud.log in /var/www/html/lib/private/Log/File.php on line 85

Here is File.php:

        public function write(string $app, $message, int $level) {
                $entry = $this->logDetailsAsJSON($app, $message, $level);
                $handle = @fopen($this->logFile, 'a');
line 85--->     if ($this->logFileMode > 0 && (fileperms($this->logFile) & 0777) != $this->logFileMode) {
                    @chmod($this->logFile, $this->logFileMode);
                }

I’ve tried changing the permission: chmod 777 nextcloud.log, but still «Internal Server Error». I have confirmed that simply recreating the volume folder DOES fix the error, and I suppose I could then copy the data back, but I’m still determined to SOLVE this, and not just start over. The new logs are a tremendous help, @laurentS thanks again!!


EDIT:

More clues:

{
	"reqId": "6BEh1Sy1xojii4nzxu5Z",
	"level": 3,
	"time": "2019-11-01T02:37:45+00:00",
	"remoteAddr": "XXX",
	"user": "--",
	"app": "index",
	"method": "GET",
	"url": "\/",
	"message": {
		"Exception": "OC\\HintException",
		"Message": "Can't write into config directory!",
		"Code": 0,
		"Trace": [{
			"file": "\/var\/www\/html\/lib\/private\/Config.php",
			"line": 132,
			"function": "writeData",
			"class": "OC\\Config",
			"type": "->",
			"args": []
		}, {
			"file": "\/var\/www\/html\/lib\/private\/SystemConfig.php",
			"line": 100,
			"function": "setValue",
			"class": "OC\\Config",
			"type": "->",
			"args": ["instanceid", "ocqlrfgvd1vg"]
		}, {
			"file": "\/var\/www\/html\/lib\/private\/legacy\/util.php",
			"line": 1152,
			"function": "setValue",
			"class": "OC\\SystemConfig",
			"type": "->",
			"args": ["instanceid", "ocqlrfgvd1vg"]
		}, {
			"file": "\/var\/www\/html\/lib\/base.php",
			"line": 415,
			"function": "getInstanceId",
			"class": "OC_Util",
			"type": "::",
			"args": []
		}, {
			"file": "\/var\/www\/html\/lib\/base.php",
			"line": 642,
			"function": "initSession",
			"class": "OC",
			"type": "::",
			"args": []
		}, {
			"file": "\/var\/www\/html\/lib\/base.php",
			"line": 1081,
			"function": "init",
			"class": "OC",
			"type": "::",
			"args": []
		}, {
			"file": "\/var\/www\/html\/index.php",
			"line": 40,
			"args": ["\/var\/www\/html\/lib\/base.php"],
			"function": "require_once"
		}],
		"File": "\/var\/www\/html\/lib\/private\/Config.php",
		"Line": 251,
		"Hint": "This can usually be fixed by giving the webserver write access to the config directory. See https:\/\/docs.nextcloud.com\/server\/17\/go.php?to=admin-dir_permissions",
		"CustomMessage": "--"
	},
	"userAgent": "XXX",
	"version": ""
}

definitely a permissions issue; and this time I’m given a link to docs:
https://docs.nextcloud.com/server/17/go.php?to=admin-dir_permissions


    • #1

    Hi,

    I have faced more then 4 times getting below error. When get this error I have reinstalled NextCloud and problem was fixed.

    But I really tired to get same thing with NextCloud. Is there a sımple solution without reinstalling the Nextcloud?

    When I call my nextcloud server… https://xxxxxx.duckdns.org/nextcloud

    I tried to search for the error but there is no any reasonable simple solution. Any suggestion?

    Internal Server Error
    
    The server encountered an internal error and was unable to complete your request.
    Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
    More details can be found in the server log.

    • #2

    More info about how you’re running Nextcloud will help.

    This type of error usually means problems with the DB.

    • #3

    So, How can I fix the problem?

    • Offizieller Beitrag
    • #4

    So, How can I fix the problem?

    While I can’t say 100%, I’ve found many times over, this is often the result of a typo in your config.php (usually a missing comma or quotation)

    Post your config.php.. Reply here, click the «code box» and paste your config.php. If you must edit it, only edit out your url. Ours probably won’t look exactly the same, but it may give you an idea of something to check.

    <?php
    $CONFIG = array (
      'memcache.local' => '\OC\Memcache\APCu',
      'datadirectory' => '/data',
      'instanceid' => 'ocjstjue1x9o',
      'passwordsalt' => 'HyXAbGAOZh9L4jp+/kky9Zq/WuQk26',
      'secret' => 'AtVIeXYRUTLadZd3uxnu1NWftmlYVwyEtxdpY2uMeNPevxgS',
      'trusted_domains' => 
      array (
        0 => '192.168.1.166:450',
        1 => 'nextcloud.my-url.xyz',
      ),
      'dbtype' => 'mysql',
      'version' => '21.0.2.1',
      'overwrite.cli.url' => 'https://nextcloud.my-url.xyz',
      'overwriteprotocol' => 'https',
      ' overwritehost' => 'nextcloud.my-url.xyz',
      'dbname' => 'nextcloud',
      'dbhost' => 'nextclouddb',
      'dbport' => '',
      'dbtableprefix' => 'oc_',
      'mysql.utf8mb4' => true,
      'dbuser' => 'oc_admin',
      'dbpassword' => 'CAUxDy0elvmqL1aw5bMHIfw2ue5BhL',
      'installed' => true,
      'default_phone_region' => 'US',
      'trusted_proxies' =>
     array (
       0 => '192.168.1.166:450',
       1 => 'nextcloud.my-url.xyz',
    
    ),
    
    );

    Alles anzeigen

    • Offizieller Beitrag
    • #5

    Like Soma mentioned above, give some more details. To begin with, have you received a cert from swag?

    Like KM0201 says it could be something small. Note the example he lists above: commas at the end of most lines, single quotes around just about every word or string, the comma on line 32 and the semi-colin on line 34. The devil’s in the details. :)

    Then again, it could be anything. The more information we have from you the better we can help. Careful not to expose any passwords, emails, or access keys.

    • #6

    ‘trusted_proxies’ =>
    array (
    0 => ‘192.168.1.166:450’,
    1 => ‘nextcloud.my-url.xyz’,

    Sorry mate but have to ask: is this right?!?

    • Offizieller Beitrag
    • #7

    Sorry mate but have to ask: is this right?!?

    For my system, yes

    What do you see wrong?

    • #8

    For my system, yes

    What do you see wrong?

    I don’t see SWAG there so that’s why I ask.

    But if it’s working for you, I just learn something new, 😉

    • Offizieller Beitrag
    • #9

    I was curious about that too. Your trusted_ domains and trusted _proxies are identical.

    • Offizieller Beitrag
    • #10

    I was curious about that too. Your trusted_ domains and trusted _proxies are identical.

    That’s how I’ve always set it up, never referenced the swag container (although I know some do). The trusted proxy, is because if you don’t do that, it will throw an «error» under basic settings in Nextcloud (or at least I always do, maybe because I don’t reference swag, that is why). It’s really not an error, as if you actually read it it’s confirming the proxy is working… I could remove my IP address, as I disable local access anyway, but usually when I add this line I just copy/paste my trusted domains. The IP address is just so if you want to enable local access without getting a security warning…. Otherwise you can just delete that line. I disable local access from my stack/docker-compose… so I should probably delete it anyway, I just never have.

    RE: Nextcloud Bad Gateway


    Zitat

    Some users may also get this error.

    There are some warnings regarding your setup.
    
    The reverse proxy header configuration is incorrect, or you are accessing Nextcloud from a trusted proxy. If not, this is a security issue and can allow an attacker to spoof their IP address as visible to the Nextcloud. Further information can be found in the documentation.

    If you read it, this isn’t an error at all and simply confirms you’re accessing nextcloud from a trusted proxy. However, to clear this, is very simple.

    1. navigate to /config/nextcloud/www/nextcloud/config

    2. nano config.php

    3. Add the following at the end, before the );

      'trusted_proxies' =>  
      array (    
        0 => 'your.ip:450',    
        1 => 'nextcloud.YOUR_SUBDOMAIN.duckdns.org',  
    ),

    4. docker restart nextcloud

    5. When done, refresh your nextcloud settings page and all errors should be clear.

    Alles anzeigen

    • #11

    I have got the «Internal Server Error» message without touching or changing the any config file.

    My config is below.

    <?php

    $CONFIG = array (

    ‘memcache.local’ => ‘\OC\Memcache\APCu’,

    ‘datadirectory’ => ‘/data’,

    ‘trusted_proxies’ =>

    array (

    0 => ‘swag’,

    ),

    ‘overwritewebroot’ => ‘/nextcloud’,

    ‘overwrite.cli.url’ => ‘https://xxxxx.duckdns.org/nextcloud’,

    ‘trusted_domains’ =>

    array (

    0 => ‘xxxxx.duckdns.org’,

    ),

    ‘instanceid’ => ‘ocq8sqsszzx1’,

    ‘passwordsalt’ => ‘BxiZZBODF6NO+JhB/5CBxShGXvez24’,

    ‘secret’ => ‘pkIb89YPjwq4Ttt/jczTqmlhD2qklddmRLwq7mls/yzL1Y//’,

    ‘dbtype’ => ‘mysql’,

    ‘version’ => ‘21.0.1.1’,

    ‘dbname’ => ‘nextcloud’,

    ‘dbhost’ => ‘nextclouddb’,

    ‘dbport’ => »,

    ‘dbtableprefix’ => ‘oc_’,

    ‘mysql.utf8mb4’ => true,

    ‘dbuser’ => ‘oc_admin’,

    ‘dbpassword’ => ’04Qr49wNBs0nW35CY5PpKGxpzhpe2Y’,

    ‘installed’ => true,

    );

    • Offizieller Beitrag
    • #12

    post the output of (you might need to edit out your url)… but if it’s a config issue, you should get a repeated error showing which line the error is on. You had to change the config file during the setup of the container.. your edits are in there.

    (use Cntrl C to exit the log)

    • #13

    here is output in the attachment.aa.txt

    • Offizieller Beitrag
    • #14

    Well the nextcloud container looks OK, so I have no idea what could be wrong.

    Is your nextcloud database container throwing any log errors?

    I’ve never personally had a database error w/ nextcloud… so this would surprise me unless you’re doing something weird.

    • #15

    Well the nextcloud container looks OK, so I have no idea what could be wrong.

    Is your nextcloud database container throwing any log errors?

    I’ve never personally had a database error w/ nextcloud… so this would surprise me unless you’re doing something weird.

    How can I check database container error logs?

    • Offizieller Beitrag
    • #16

    How can I check database container error logs?

    If you named your database container nextclouddb, as the tutorial suggests

    docker logs -f nextclouddb

    • #17

    If you named your database container nextclouddb, as the tutorial suggests

    docker logs -f nextclouddb

    The last row repeated and I have deleted it from the log.

    cc.txt

    • #18

    Like I Said, it’s an DB error.

    On the Q&A, there’s a way to first create the user for it.

    Sorry but I’m writing this on my phone, só I can’t give better info but I’ll poke macom and Morlan because they know how to fix it.

    It’s mentioned on the guide, also.

    Following down, on the next replies

    I can give some more input tomorrow

    • Offizieller Beitrag
    • #19

    The last row repeated and I have deleted it from the log.

    cc.txt

    Did you setup a mysql database root password, etc?

Well it did work,

Since today I’m now getting «unexpectedly closed the connection» errors

EDIt,

trying the fix again to see if it helps.

I did notice that my Maria DB is constantly logging like this

Spoiler

ErrorWarningSystemArrayLogin

[s6-init] making user provided files available at /var/run/s6/etc…exited 0.
[s6-init] ensuring user provided files have correct perms…exited 0.
[fix-attrs.d] applying ownership & permissions fixes…
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts…
[cont-init.d] 01-envfile: executing…
[cont-init.d] 01-envfile: exited 0.
[cont-init.d] 10-adduser: executing…

————————————-
_ ()
| | ___ _ __
| | / __| | | /
| | __ | | | () |
|_| |___/ |_| __/

Brought to you by linuxserver.io
————————————-

To support LSIO projects visit:
https://www.linuxserver.io/donate/
————————————-
GID/UID
————————————-

User uid: 99
User gid: 100
————————————-

[cont-init.d] 10-adduser: exited 0.
[cont-init.d] 30-config: executing…
[cont-init.d] 30-config: exited 0.
[cont-init.d] 40-initialise-db: executing…
[cont-init.d] 40-initialise-db: exited 0.
[cont-init.d] 90-custom-folders: executing…
[cont-init.d] 90-custom-folders: exited 0.
[cont-init.d] 90-warning: executing…

******************************************************
******************************************************
* *
* *
* This image will soon be rebased *
* from ubuntu to alpine. *
* Please be aware, this may cause issues *
* It is strongly recommended to make backups *
* of your config and databases before *
* updating your image to the alpine base. *
* *
* *
******************************************************
******************************************************
[cont-init.d] 90-warning: exited 0.
[cont-init.d] 99-custom-scripts: executing…
[custom-init] no custom files found exiting…
[cont-init.d] 99-custom-scripts: exited 0.
[cont-init.d] done.
[services.d] starting services
[services.d] done.
210828 11:10:07 mysqld_safe Logging to syslog.
210828 11:10:07 mysqld_safe Starting mysqld daemon with databases from /config/databases
210828 11:10:08 mysqld_safe Logging to syslog.
210828 11:10:08 mysqld_safe Starting mysqld daemon with databases from /config/databases
210828 11:10:09 mysqld_safe Logging to syslog.
210828 11:10:09 mysqld_safe Starting mysqld daemon with databases from /config/databases
210828 11:10:10 mysqld_safe Logging to syslog.
210828 11:10:10 mysqld_safe Starting mysqld daemon with databases from /config/databases

Those last lines just go on and on for the rest of the log


Edited August 28, 2021 by daveo132

Nextcloud and mariadb were installed through docker-compose using the nextcloud official image posted on the docker hub. At first it ran fine, but at some point I get the following error:

version: '2'

volumes:
  nextcloud:
  db:

services:
  db:
    image: mariadb
    command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
    restart: always
    volumes:
      - db:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=a1234!
      - MYSQL_PASSWORD=a1234!
      - MYSQL_DATABASE=taeil
      - MYSQL_USER=taeil

  app:
    image: nextcloud
    ports:
      - 8080:80
    links:
      - db
    volumes:
      - nextcloud:/var/www/html
    restart: always

Internal Server Error

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

Container log.

AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message
[Tue Feb 25 06:22:26.247273 2020] [mpm_prefork:notice] [pid 1] AH00163: Apache/2.4.38 (Debian) PHP/7.3.15 configured -- resuming normal operations
[Tue Feb 25 06:22:26.247325 2020] [core:notice] [pid 1] AH00094: Command line: 'apache2 -D FOREGROUND'
172.18.0.1 - - [25/Feb/2020:06:29:24 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:29:25 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:30:16 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:30:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:31:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:31:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:32:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:32:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:33:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:33:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:34:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:34:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:35:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:35:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:36:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:36:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:37:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:37:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:38:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:38:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:39:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:39:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:40:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:40:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:41:23 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:41:23 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:42:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:42:22 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:43:23 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:43:23 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:44:23 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:44:23 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:45:23 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:45:23 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:46:23 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:46:23 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:47:23 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:47:23 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:48:23 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:48:23 +0000] "-" 408 0 "-" "-"
172.18.0.1 - - [25/Feb/2020:06:48:34 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:48:34 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:48:35 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:48:35 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:48:35 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:48:35 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:48:36 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:48:36 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:48:36 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:48:36 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:48:36 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:48:36 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:48:37 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:48:37 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:17 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:26 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:26 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:26 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:26 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:26 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:27 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:27 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:27 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:27 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:27 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:27 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:27 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:27 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:27 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:27 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:27 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:27 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:27 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:27 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:28 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:28 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:28 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:28 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:28 +0000] "GET / HTTP/1.1" 500 503 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"
172.18.0.1 - - [25/Feb/2020:06:49:28 +0000] "GET /favicon.ico HTTP/1.1" 500 503 "http://localhost:8080/" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36"

Log written inside container.

root@658b066e61eb:/var/www/html/data# cat nextcloud.log 
{"reqId":"bZA84C2ahOfIiE5TUmlb","level":2,"time":"2020-02-25T02:18:05+00:00","remoteAddr":"172.18.0.1","user":"--","app":"appstoreFetcher","method":"POST","url":"/index.php","message":"Could not connect to appstore: cURL error 28: Resolving timed out after 10000 milliseconds (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36","version":"18.0.1.3"}
{"reqId":"6bFnYDSahoUE6pPvElgg","level":2,"time":"2020-02-25T02:18:29+00:00","remoteAddr":"172.18.0.1","user":"keti","app":"appstoreFetcher","method":"GET","url":"/settings/apps/list","message":"Could not connect to appstore: cURL error 28: Resolving timed out after 10000 milliseconds (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36","version":"18.0.1.3"}
{"reqId":"6bFnYDSahoUE6pPvElgg","level":2,"time":"2020-02-25T02:18:39+00:00","remoteAddr":"172.18.0.1","user":"keti","app":"appstoreFetcher","method":"GET","url":"/settings/apps/list","message":"Could not connect to appstore: cURL error 28: Resolving timed out after 10000 milliseconds (see http://curl.haxx.se/libcurl/c/libcurl-errors.html)","userAgent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.116 Safari/537.36","version":"18.0.1.3"}

Looking at the result of error 28, it is a timeout error and I don’t know what is wrong.

I restarted docker with the systemctl command, deleted the docker image and the container and ran it again, but I keep getting the error.

How can I fix this error?

Содержание

  1. Internal Server Error в Nextcloud
  2. Nextcloud 13 — New Instalation 500 Internal Server Error #8406
  3. Comments
  4. Steps to reproduce
  5. Expected behaviour
  6. Actual behaviour
  7. Server configuration
  8. Internal Server Error #13597
  9. Comments
  10. Steps to reproduce
  11. Expected behaviour
  12. Actual behaviour
  13. Server configuration
  14. Client configuration
  15. Web server error log
  16. Nextcloud log (data/nextcloud.log)
  17. Browser log
  18. [Nextcloud 14] Internal Server Error #11205
  19. Comments
  20. Internal Server Error #911
  21. Comments

Internal Server Error в Nextcloud

Убрать ошибку “Internal Server Error” в Nextcloud

Уже сталкивался с ошибкой в статье “Ошибка nextcloud — Internal Server Error“, в этот раз попробую разобрать решение проблемы более детально.

Ошибка появилась после отключения питания на сервере

The server encountered an internal error and was unable to complete your request.
Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.
More details can be found in the server log.

Немного информации о сервере:

  • FreeBSD 13.0 release p4
  • Nginx 1.20.1
  • PHP 8.0.11
  • MariaDB 10.5.12
  • Redis 6.0.15
  • memcached
  • APCu
  • OPcache

Кеширование Nextcloud (часть конфига nextcloud)

Я сразу проверил службы отвечающие за кеш

Проверяем конфиг Редиса

Проверяем лог Redis

Файлы .rdb – это дампы на диске для резервного копирования или сохранения. Их можно безопасно удалить, конечно в рамках решения проблем c nextcloud, ну а сама база данных Redis полностью находится в памяти.

Удаляем файлы и пробуем запустить

Как видим, dump файл заново создался. Проверяем работу Nextcloud, всё работает

Источник

Nextcloud 13 — New Instalation 500 Internal Server Error #8406

Steps to reproduce

I’ve installed Nextcloud 13 with the following procedure:

apt-get install apache2 mariadb-server -y
systemctl start apache2
systemctl enable apache2
systemctl start mysql
systemctl enable mysql
apt-get install php7.1-xml php7.1 php7.1-cgi php7.1-cli php7.1-gd php7.1-curl php7.1-zip php7.1-mysql php7.1-mbstring wget unzip -y
mysql_secure_installation

created a database named «nextclouddb» and a user ‘nextcloud’@’localhost’.
Downloaded and unpacked nextcloud 13 then:

chown -R www-data:www-data /var/www/html/nextcloud/

sudo -u www-data php7.1 occ maintenance:install —database mysql —database-name nextclouddb —database-user nextcloud —admin-user admin

configured config.php and then:

sudo -u www-data php /var/www/html/nextcloud/occ maintenance:update:htaccess
sudo systemctl restart apache2

Expected behaviour

When I connect from my browser to http://127.0.0.1/nextcloud or http://localhost/nextcloud I should see the nextcloud start page.

Actual behaviour

Here is the error on the browser:

  • @author Joas Schilling * @author Jörn Friedrich Dreyer * @author Lukas Reschke * @author Morris Jobke * @author Robin Appelman * @author Sergio Bertolín * @author Thomas Müller * @author Vincent Petry * * @license AGPL-3.0 * * This code is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License, version 3, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License, version 3, * along with this program. If not, see * */ require_once DIR . ‘/lib/versioncheck.php’; try < require_once DIR . ‘/lib/base.php’; OC::handleRequest(); > catch(OCServiceUnavailableException $ex) < OC::$server->getLogger()->logException($ex, array(‘app’ => ‘index’)); //show the user a detailed error page OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE); OC_Template::printExceptionErrorPage($ex); > catch (OCHintException $ex) < OC_Response::setStatus(OC_Response::STATUS_SERVICE_UNAVAILABLE); try < OC_Template::printErrorPage($ex->getMessage(), $ex->getHint()); > catch (Exception $ex2) < OC::$server->getLogger()->logException($ex, array(‘app’ => ‘index’)); OC::$server->getLogger()->logException($ex2, array(‘app’ => ‘index’)); //show the user a detailed error page OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Template::printExceptionErrorPage($ex); > > catch (OCUserLoginException $ex) < OC_Response::setStatus(OC_Response::STATUS_FORBIDDEN); OC_Template::printErrorPage($ex->getMessage(), $ex->getMessage()); > catch (Exception $ex) < OC::$server->getLogger()->logException($ex, array(‘app’ => ‘index’)); //show the user a detailed error page OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Template::printExceptionErrorPage($ex); > catch (Error $ex) < try < OC::$server->getLogger()->logException($ex, array(‘app’ => ‘index’)); > catch (Error $e) < $claimedProtocol = strtoupper($_SERVER[‘SERVER_PROTOCOL’]); $validProtocols = [ ‘HTTP/1.0’, ‘HTTP/1.1’, ‘HTTP/2’, ]; $protocol = ‘HTTP/1.1’; if(in_array($claimedProtocol, $validProtocols, true)) < $protocol = $claimedProtocol; >header($protocol . ‘ 500 Internal Server Error’); header(‘Content-Type: text/plain; charset=utf-8’); print(«Internal Server Errornn»); print(«The server encountered an internal error and was unable to complete your request.n»); print(«Please contact the server administrator if this error reappears multiple times, please include the technical details below in your report.n»); print(«More details can be found in the webserver log.n»); throw $e; > OC_Response::setStatus(OC_Response::STATUS_INTERNAL_SERVER_ERROR); OC_Template::printExceptionErrorPage($ex); >

Server configuration

Here is my config.php:

Operating system:

Web server:
Apache 2

Database:

PHP version:

Nextcloud version: (see Nextcloud admin page)

Updated from an older Nextcloud/ownCloud or fresh install:

The text was updated successfully, but these errors were encountered:

Источник

Internal Server Error #13597

Steps to reproduce

Visit your website

Expected behaviour

I expect a login screen.

Actual behaviour

I get this error:

The file /var/www/nextcloud/lib/private/Files/Node/Node.php exists.

Server configuration

Operating system: Ubuntu 16.04

Web server: Apache2

Database: mariaDB (& redis)

PHP version: 7.0.32

Nextcloud version: 15

Updated from an older Nextcloud/ownCloud or fresh install: from 14

Where did you install Nextcloud from: What does this question mean?

Signing status: What does this question mean?

I can’t do that because I can’t log in.

List of activated apps:

Nextcloud configuration:

Are you using external storage, if yes which one: local/smb/sftp/.

Are you using encryption: yes/no

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

Client configuration

Browser:

Operating system:

Web server error log

Nextcloud log (data/nextcloud.log)

Browser log

The text was updated successfully, but these errors were encountered:

Same issue here, I first upgraded from Ubuntu 16.04 to 18.04 then used the upgrader in nextcloud web to upgrade from 13 to 14. I now have exactly the same issues. My mobile nextcloud app although still works fine. So I guess it has something to do with the changes from PHP 7.0 to 7.2.

I’m still stuck. Did you already found a solution?

Nextcloud
Interne serverfout

De server was niet in staat je aanvraag te verwerken.

Stuur de hieronder afgebeelde technische details naar de server beheerder wanneer dit opnieuw gebeurt.

Meer details in de serverlogging,
Technische details

Источник

[Nextcloud 14] Internal Server Error #11205

I have installed Nextcloud and was working for a few hours and then it’s showing an Internal Server Error. I have checked the server log and haven’t found what’s the problem.

BTW, I have other apps working fine. The issue is just with nextcloud 14.

Client Error

Server Log

The text was updated successfully, but these errors were encountered:

Your server log is incomplete. Can you please post more content of your server log?
Have a look at it with «less» or «cat» and not with «vi».

And check first that your database is reachable if you use MySQL or PostgreSQL.

This also happens for me, during first time LDAP login. The error logs are:

$ name = $ user -> getBackendClassName ();

GitMate.io thinks possibly related issues are #6839 (Nextcloud got internal Server error after update APP:OnlyOFFICE, need to remove this APP completely), #2741 (Calendar app: internal server error after upgrading to Nextcloud 11), #7622 (NextCloud Server Listener ), #8326 (Internal Server Error (Template not found) when loading Calendar after upgrade to Nextcloud 13.x), and #5056 (nextcloud 12 upgrade error).

I’m pretty sure I stumbled across this issue this morning. I had added a user through the IMAP verification, and then it disappeared from the users list and when I try logging in to the account, it errors. There is no sign of the account in the users list or under occ user:info [username] .

Источник

Internal Server Error #911

Running Docker container latest . Everything was working fine (apps installed, mobile connected, etc), until I moved the volume files to a larger volume 10GB to 50GB, and then:

Pretty useless error message and I have NO idea where to find server log . I’m not even sure what filename I’m looking for. There is a file under nextcloud_nextcloud/_data named nextcloud.log . Is that the server log ? I’ve tried removing that file to see if it would be re-created and/or update after a restart of the container and a refresh of the error page, but nothing.

sure I could just start all over again, but fyi, this is the second time I’ve tried using Nextcloud (the first was a few years ago) and I recall having the same issue back then; Internal Server Error and nothing else in terms of error details. I guess this is fine for the end-user, they just call the admin, but where’s the support for the admin? I would love nothing more than for this open-source cloud solution to work, but if nextcloud is really this fragile, then I guess its just not the solution I’m looking for. Back to Google?? (ugh!)

Obviously pretty disappointed by this, but any and all support are very much appreciated.
Cheers!

EDIT:
Went back through the docs to find mention of a Nextcloud Server Log File. Does this file NOT exist unless its enabled in the Admin Page??

Also, when I connect to the container and try to view the Webserver Log Files, this is what I get:

Does this get written somewhere on the host? This could just be a docker thing, I’m really not sure, but either way, it would be nice to find these log files, and eventually solve «Internal Server Error».

The text was updated successfully, but these errors were encountered:

Источник

Code: Select all

{"reqId":"njixA00qSFgAPtneYNLW","level":3,"time":"2020-08-28T11:01:36+00:00","remoteAddr":"::1","user":"--","app":"remote","method":"GET","url":"/nextcloud/status.php","message":{"Exception":"Doctrine\DBAL\DBALException","Message":"Failed to connect to the database: An exception occurred in driver: SQLSTATE[HY000] [1045] Access denied for user 'xxxx'@'localhost' (using password: YES)","Code":0,"Trace":[{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Connection.php","line":889,"function":"connect","class":"OC\DB\Connection","type":"->","args":[]},{"file":"/var/www/nextcloud/lib/private/DB/Connection.php","line":194,"function":"executeQuery","class":"Doctrine\DBAL\Connection","type":"->","args":["SELECT * FROM `oc_appconfig`",[],[],null]},{"file":"/var/www/nextcloud/3rdparty/doctrine/dbal/lib/Doctrine/DBAL/Query/QueryBuilder.php","line":200,"function":"executeQuery","class":"OC\DB\Connection","type":"->","args":["SELECT * FROM `oc_appconfig`",[],[]]},{"file":"/var/www/nextcloud/lib/private/DB/QueryBuilder/QueryBuilder.php","line":216,"function":"execute","class":"Doctrine\DBAL\Query\QueryBuilder","type":"->","args":[]},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":331,"function":"execute","class":"OC\DB\QueryBuilder\QueryBuilder","type":"->","args":[]},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":109,"function":"loadConfigValues","class":"OC\AppConfig","type":"->","args":[]},{"file":"/var/www/nextcloud/lib/private/AppConfig.php","line":287,"function":"getApps","class":"OC\AppConfig","type":"->","args":[]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":883,"function":"getValues","class":"OC\AppConfig","type":"->","args":[false,"installed_version"]},{"file":"/var/www/nextcloud/lib/private/Server.php","line":662,"function":"getAppVersions","class":"OC_App","type":"::","args":[]},{"file":"/var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\{closure}","class":"OC\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\Container","type":"->","args":["OC\Memcache\Factory"]},{"file":"/var/www/nextcloud/lib/private/Server.php","line":1699,"function":"query","class":"OC\ServerContainer","type":"->","args":["OC\Memcache\Factory"]},{"file":"/var/www/nextcloud/lib/private/Server.php","line":853,"function":"getMemCacheFactory","class":"OC\Server","type":"->","args":[]},{"file":"/var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":118,"function":"OC\{closure}","class":"OC\Server","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\Container","type":"->","args":["OC\App\AppManager"]},{"file":"/var/www/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":163,"function":"query","class":"OC\ServerContainer","type":"->","args":["OC\App\AppManager"]},{"file":"/var/www/nextcloud/3rdparty/pimple/pimple/src/Pimple/Container.php","line":114,"function":"OC\AppFramework\Utility\{closure}","class":"OC\AppFramework\Utility\SimpleContainer","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/ServerContainer.php","line":124,"function":"offsetGet","class":"Pimple\Container","type":"->","args":["OCP\App\IAppManager"]},{"file":"/var/www/nextcloud/lib/private/Server.php","line":1889,"function":"query","class":"OC\ServerContainer","type":"->","args":["OCP\App\IAppManager"]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":347,"function":"getAppManager","class":"OC\Server","type":"->","args":[]},{"file":"/var/www/nextcloud/lib/private/legacy/OC_App.php","line":114,"function":"getEnabledApps","class":"OC_App","type":"::","args":[]},{"file":"/var/www/nextcloud/lib/base.php","line":647,"function":"loadApps","class":"OC_App","type":"::","args":[["session"]]},{"file":"/var/www/nextcloud/lib/base.php","line":1090,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/nextcloud/status.php","line":37,"args":["/var/www/nextcloud/lib/base.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/DB/Connection.php","Line":67,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Linux) mirall/2.3.3 (Nextcloud)","version":"19.0.1.1"}

So I checked /var/www/nextcloud/config/config.php. The

was wrong.

Setting the correct database port and changing the password helped.

Понравилась статья? Поделить с друзьями:
  • Internal server error minecraft radmin vpn
  • Internal server error minecraft hamachi
  • Internal server error mailto administrator перевод
  • Internal server error localhost
  • Internal server error kate mobile что это