Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found #21790

Closed
Nick-Hopps opened this issue Jul 10, 2020 · 7 comments · Fixed by #21791
Closed

Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found #21790

Nick-Hopps opened this issue Jul 10, 2020 · 7 comments · Fixed by #21791
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 19-feedback Feedback from 19.x releases bug needs info

Comments

@Nick-Hopps
Copy link

{
    "reqId": "BbVPXCcRjGH0V1roDrvI",
    "level": 3,
    "time": "2020-07-10T13:48:39+00:00",
    "remoteAddr": "192.168.31.22",
    "user": "admin",
    "app": "index",
    "method": "GET",
    "url": "/settings/apps",
    "message":
    {
        "Exception": "Exception",
        "Message": "Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found",
        "Code": 0,
        "Trace": [
        {
            "file": "/opt/wwwroot/Nextcloud/lib/private/AppFramework/App.php",
            "line": 137,
            "function": "dispatch",
            "class": "OC\\AppFramework\\Http\\Dispatcher",
            "type": "->",
            "args": [
            {
                "__class__": "OCA\\Settings\\Controller\\AppSettingsController"
            }, "viewApps"]
        },
        {
            "file": "/opt/wwwroot/Nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",
            "line": 47,
            "function": "main",
            "class": "OC\\AppFramework\\App",
            "type": "::",
            "args": ["OCA\\Settings\\Controller\\AppSettingsController", "viewApps",
            {
                "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
            },
            {
                "category": "",
                "id": "",
                "_route": "settings.AppSettings.viewApps"
            }]
        },
        {
            "function": "__invoke",
            "class": "OC\\AppFramework\\Routing\\RouteActionHandler",
            "type": "->",
            "args": [
            {
                "category": "",
                "id": "",
                "_route": "settings.AppSettings.viewApps"
            }]
        },
        {
            "file": "/opt/wwwroot/Nextcloud/lib/private/Route/Router.php",
            "line": 297,
            "function": "call_user_func",
            "args": [
            {
                "__class__": "OC\\AppFramework\\Routing\\RouteActionHandler"
            },
            {
                "category": "",
                "id": "",
                "_route": "settings.AppSettings.viewApps"
            }]
        },
        {
            "file": "/opt/wwwroot/Nextcloud/lib/base.php",
            "line": 1007,
            "function": "match",
            "class": "OC\\Route\\Router",
            "type": "->",
            "args": ["/settings/apps"]
        },
        {
            "file": "/opt/wwwroot/Nextcloud/index.php",
            "line": 37,
            "function": "handleRequest",
            "class": "OC",
            "type": "::",
            "args": []
        }],
        "File": "/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "Line": 110,
        "Previous":
        {
            "Exception": "Error",
            "Message": "Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found",
            "Code": 0,
            "Trace": [
            {
                "file": "/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",
                "line": 220,
                "function": "GuzzleHttp\\_idn_uri_convert",
                "args": [
                {
                    "__class__": "GuzzleHttp\\Psr7\\Uri"
                }, 0]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",
                "line": 155,
                "function": "buildUri",
                "class": "GuzzleHttp\\Client",
                "type": "->",
                "args": [
                {
                    "__class__": "GuzzleHttp\\Psr7\\Uri"
                },
                {
                    "verify": "/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt",
                    "timeout": 10,
                    "headers":
                    {
                        "Accept-Encoding": "gzip",
                        "User-Agent": "Nextcloud Server Crawler"
                    },
                    "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,
                    "_conditional":
                    {
                        "User-Agent": "GuzzleHttp/6.5.1 curl/7.70.0 PHP/7.4.6"
                    }
                }]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",
                "line": 183,
                "function": "requestAsync",
                "class": "GuzzleHttp\\Client",
                "type": "->",
                "args": ["get", "https://apps.nextcloud.com/api/v1/apps.json",
                {
                    "verify": "/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt",
                    "timeout": 10,
                    "headers":
                    {
                        "Accept-Encoding": "gzip",
                        "User-Agent": "Nextcloud Server Crawler"
                    },
                    "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,
                    "_conditional":
                    {
                        "User-Agent": "GuzzleHttp/6.5.1 curl/7.70.0 PHP/7.4.6"
                    }
                }]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/Http/Client/Client.php",
                "line": 228,
                "function": "request",
                "class": "GuzzleHttp\\Client",
                "type": "->",
                "args": ["get", "https://apps.nextcloud.com/api/v1/apps.json",
                {
                    "verify": "/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt",
                    "timeout": 10,
                    "headers":
                    {
                        "Accept-Encoding": "gzip",
                        "User-Agent": "Nextcloud Server Crawler"
                    },
                    "synchronous": true
                }]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php",
                "line": 109,
                "function": "get",
                "class": "OC\\Http\\Client\\Client",
                "type": "->",
                "args": ["https://apps.nextcloud.com/api/v1/apps.json",
                {
                    "timeout": 10,
                    "headers":
                    {
                        "Accept-Encoding": "gzip"
                    }
                }]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php",
                "line": 86,
                "function": "fetch",
                "class": "OC\\App\\AppStore\\Fetcher\\Fetcher",
                "type": "->",
                "args": ["", ""]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php",
                "line": 173,
                "function": "fetch",
                "class": "OC\\App\\AppStore\\Fetcher\\AppFetcher",
                "type": "->",
                "args": ["", ""]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/Installer.php",
                "line": 408,
                "function": "get",
                "class": "OC\\App\\AppStore\\Fetcher\\Fetcher",
                "type": "->",
                "args": []
            },
            {
                "file": "/opt/wwwroot/Nextcloud/apps/settings/lib/Controller/AppSettingsController.php",
                "line": 153,
                "function": "isUpdateAvailable",
                "class": "OC\\Installer",
                "type": "->",
                "args": ["admin_audit"]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/apps/settings/lib/Controller/AppSettingsController.php",
                "line": 136,
                "function": "getAppsWithUpdates",
                "class": "OCA\\Settings\\Controller\\AppSettingsController",
                "type": "->",
                "args": []
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
                "line": 170,
                "function": "viewApps",
                "class": "OCA\\Settings\\Controller\\AppSettingsController",
                "type": "->",
                "args": []
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
                "line": 100,
                "function": "executeController",
                "class": "OC\\AppFramework\\Http\\Dispatcher",
                "type": "->",
                "args": [
                {
                    "__class__": "OCA\\Settings\\Controller\\AppSettingsController"
                }, "viewApps"]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/AppFramework/App.php",
                "line": 137,
                "function": "dispatch",
                "class": "OC\\AppFramework\\Http\\Dispatcher",
                "type": "->",
                "args": [
                {
                    "__class__": "OCA\\Settings\\Controller\\AppSettingsController"
                }, "viewApps"]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",
                "line": 47,
                "function": "main",
                "class": "OC\\AppFramework\\App",
                "type": "::",
                "args": ["OCA\\Settings\\Controller\\AppSettingsController", "viewApps",
                {
                    "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
                },
                {
                    "category": "",
                    "id": "",
                    "_route": "settings.AppSettings.viewApps"
                }]
            },
            {
                "function": "__invoke",
                "class": "OC\\AppFramework\\Routing\\RouteActionHandler",
                "type": "->",
                "args": [
                {
                    "category": "",
                    "id": "",
                    "_route": "settings.AppSettings.viewApps"
                }]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/private/Route/Router.php",
                "line": 297,
                "function": "call_user_func",
                "args": [
                {
                    "__class__": "OC\\AppFramework\\Routing\\RouteActionHandler"
                },
                {
                    "category": "",
                    "id": "",
                    "_route": "settings.AppSettings.viewApps"
                }]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/lib/base.php",
                "line": 1007,
                "function": "match",
                "class": "OC\\Route\\Router",
                "type": "->",
                "args": ["/settings/apps"]
            },
            {
                "file": "/opt/wwwroot/Nextcloud/index.php",
                "line": 37,
                "function": "handleRequest",
                "class": "OC",
                "type": "::",
                "args": []
            }],
            "File": "/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/functions.php",
            "Line": 384
        },
        "CustomMessage": "--"
    },
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36",
    "version": "19.0.0.12"
}
@Nick-Hopps Nick-Hopps added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels Jul 10, 2020
@Nick-Hopps
Copy link
Author

Seems some guzzlehttp file is missing?

@kesselb kesselb added needs info 19-feedback Feedback from 19.x releases labels Jul 10, 2020
@kesselb
Copy link
Contributor

kesselb commented Jul 10, 2020

Tell me one good reason to not use the issue template. Actually there is no good reason ;) It happens that apps ship their own copy of GuzzleHttp. That is somehow okay if the version is similar. If an app ships a newer version of GuzzleHttp things break. I recently run into this with emlviewer app.

  1. Disable all apps (at least the ones not shipped with Nextcloud) - there is a cli command to disable apps
  2. Try to visit the apps management
  3. Enable apps one by one and check if apps management still works
  4. Report the issue to the app causing the problem. Don't install symfony/console via composer news#636 is a workaround.

@Nick-Hopps
Copy link
Author

Nick-Hopps commented Jul 10, 2020

Steps to reproduce

  1. Install entware on an openwrt router
  2. Install Nginx:latest/MariaDB:latest/PHP:latest with PHP-FPM
  3. Install NextCloud

Expected behaviour

Everything's fine

Actual behaviour

I can login and upload/download my file, but I can not preview images, and when I try to "Apps" or even some tabs in "Settings", I get errors below:

  1. Exception: Class 'GuzzleHttp\Exception\InvalidArgumentException' not found
  2. Exception: finfo::finfo(): Failed to load magic database at '(null)'.
  3. imagettftext(): Problem doing text layout at /opt/wwwroot/Nextcloud/lib/private/Preview/TXT.php#92

Server configuration

Operating system:

OpenWRT

Web server:

Nginx:latest

Database:

MariaDB:latest

PHP version:

PHP:latest

Nextcloud version: (see Nextcloud admin page)

19.0.0

Updated from an older Nextcloud/ownCloud or fresh install:

fresh install

Where did you install Nextcloud from:

command-line

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
Enabled:
  - accessibility: 1.5.0
  - activity: 2.12.0
  - cloud_federation_api: 1.2.0
  - comments: 1.9.0
  - contactsinteraction: 1.0.0
  - dav: 1.15.0
  - federatedfilesharing: 1.9.0
  - federation: 1.9.0
  - files: 1.14.0
  - 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
  - firstrunwizard: 2.8.0
  - logreader: 2.4.0
  - lookup_server_connector: 1.7.0
  - nextcloud_announcements: 1.8.0
  - notifications: 2.7.0
  - oauth2: 1.7.0
  - password_policy: 1.9.1
  - photos: 1.1.0
  - privacy: 1.3.0
  - provisioning_api: 1.9.0
  - recommendations: 0.7.0
  - serverinfo: 1.9.0
  - settings: 1.1.0
  - sharebymail: 1.9.0
  - support: 1.2.1
  - survey_client: 1.7.0
  - systemtags: 1.9.0
  - text: 3.0.1
  - theming: 1.10.0
  - twofactor_backupcodes: 1.8.0
  - updatenotification: 1.9.0
  - viewer: 1.3.0
  - workflowengine: 2.1.0
Disabled:
  - admin_audit
  - encryption
  - files_external
  - user_ldap

Nextcloud configuration:

Config report
<?php
$CONFIG = array (
  'passwordsalt' => 'IKrMh4X5NoOdMQtO79RsaPnuqDu8MX',
  'secret' => 'qSOzo+Mcn7w6O8S8p70thA0LAHxLHlMZeu1rVAjKkC+IeNfV',
  'trusted_domains' =>
   [
    'miwifi.com',
    '192.168.31.1'
  ],
  'datadirectory' => '/opt/wwwroot/Nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '19.0.0.12',
  'overwrite.cli.url' => 'http://localhost',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'oc_admin7',
  'dbpassword' => 'LHQO+kacuILEPG/HFktQVDjQv8i514',
  'installed' => true,
  'instanceid' => 'oceikjbalclu',
'memcache.locking' => '\OC\Memcache\Redis',
'memcache.local' => '\OC\Memcache\Redis',
'redis' => array(
    'host' => '/opt/var/run/redis.sock',
    'port' => 0,
    ),
);

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

/dev/sda1

Are you using encryption: yes/no

no

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

no

Client configuration

Browser:

  • Chrome:latest
  • Firefox:latest

Operating system:

Windows10

Logs

Web server error log

Web server error log
2020/07/10 12:31:18 [error] 31517#0: *1010 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Trait 'GuzzleHttp\ClientTrait' not found in /opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php on line 13" while reading response header from upstream, client: 192.168.31.22, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/opt/var/run/php7-fpm.sock:", host: "miwifi.com:83"
2020/07/10 12:32:16 [notice] 11624#0: signal process started
2020/07/10 12:32:36 [error] 11641#0: *6 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Trait 'GuzzleHttp\ClientTrait' not found in /opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php on line 13" while reading response header from upstream, client: 192.168.31.22, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/opt/var/run/php7-fpm.sock:", host: "miwifi.com:83"
2020/07/10 12:32:43 [error] 11641#0: *6 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Trait 'GuzzleHttp\ClientTrait' not found in /opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php on line 13" while reading response header from upstream, client: 192.168.31.22, server: localhost, request: "GET /login HTTP/1.1", upstream: "fastcgi://unix:/opt/var/run/php7-fpm.sock:", host: "miwifi.com:83"
2020/07/10 12:32:51 [error] 11641#0: *6 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Trait 'GuzzleHttp\ClientTrait' not found in /opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php on line 13" while reading response header from upstream, client: 192.168.31.22, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/opt/var/run/php7-fpm.sock:", host: "miwifi.com:83"
2020/07/10 12:48:13 [error] 11644#0: *17 FastCGI sent in stderr: "PHP message: PHP Fatal error:  Trait 'GuzzleHttp\ClientTrait' not found in /opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php on line 13" while reading response header from upstream, client: 192.168.31.22, server: localhost, request: "GET / HTTP/1.1", upstream: "fastcgi://unix:/opt/var/run/php7-fpm.sock:", host: "miwifi.com:83"
2020/07/10 13:03:29 [notice] 7707#0: signal process started
2020/07/10 13:07:06 [notice] 11048#0: signal process started
2020/07/10 13:07:10 [error] 11050#0: *781 directory index of "/opt/wwwroot/Nextcloud/apps/files/" is forbidden, client: 192.168.31.22, server: localhost, request: "GET /apps/files/?dir=/&fileid=2 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:07:10 [error] 11051#0: *782 open() "/opt/wwwroot/Nextcloud/favicon.ico" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "miwifi.com:83", referrer: "http://miwifi.com:83/apps/files/?dir=/&fileid=2"
2020/07/10 13:07:54 [notice] 11617#0: signal process started
2020/07/10 13:09:31 [notice] 13476#0: signal process started
2020/07/10 13:10:40 [notice] 14249#0: signal process started
2020/07/10 13:10:52 [notice] 14267#0: signal process started
2020/07/10 13:11:18 [error] 14273#0: *4 open() "/opt/wwwroot/Nextcloud/index.php/login" failed (20: Not a directory), client: 192.168.31.22, server: localhost, request: "GET /index.php/login HTTP/1.1", host: "192.168.31.1:83"
2020/07/10 13:11:18 [error] 14273#0: *4 open() "/opt/wwwroot/Nextcloud/favicon.ico" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /favicon.ico HTTP/1.1", host: "192.168.31.1:83", referrer: "http://192.168.31.1:83/index.php/login"
2020/07/10 13:11:42 [notice] 14872#0: signal process started
2020/07/10 13:11:45 [error] 14877#0: *2 open() "/opt/wwwroot/Nextcloud/js/core/merged-template-prepend.js" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /js/core/merged-template-prepend.js?v=41a370a1-0 HTTP/1.1", host: "192.168.31.1:83"
2020/07/10 13:12:00 [error] 14878#0: *17 open() "/opt/wwwroot/Nextcloud/css/core/577b-6d1b-results.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/core/577b-6d1b-results.css?v=b92d206521717ac032f8aa58d3c7ff2f-41a370a1-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:00 [error] 14875#0: *18 open() "/opt/wwwroot/Nextcloud/css/notifications/b1d7-6d1b-styles.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/notifications/b1d7-6d1b-styles.css?v=b92d206521717ac032f8aa58d3c7ff2f-b1d71238-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:00 [error] 14875#0: *20 open() "/opt/wwwroot/Nextcloud/css/core/577b-6d1b-css-variables.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/core/577b-6d1b-css-variables.css?v=b92d206521717ac032f8aa58d3c7ff2f-41a370a1-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:00 [error] 14875#0: *21 open() "/opt/wwwroot/Nextcloud/css/core/577b-6d1b-server.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/core/577b-6d1b-server.css?v=b92d206521717ac032f8aa58d3c7ff2f-41a370a1-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:00 [error] 14877#0: *22 open() "/opt/wwwroot/Nextcloud/css/files/f5a2-6d1b-merged.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/files/f5a2-6d1b-merged.css?v=b92d206521717ac032f8aa58d3c7ff2f-f5a209a9-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:00 [error] 14875#0: *23 open() "/opt/wwwroot/Nextcloud/css/text/3d4b-6d1b-icons.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/text/3d4b-6d1b-icons.css?v=b92d206521717ac032f8aa58d3c7ff2f-3d4b11f6-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:00 [error] 14878#0: *24 open() "/opt/wwwroot/Nextcloud/css/files_sharing/39b9-6d1b-icons.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/files_sharing/39b9-6d1b-icons.css?v=b92d206521717ac032f8aa58d3c7ff2f-39b92f95-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:00 [error] 14877#0: *27 open() "/opt/wwwroot/Nextcloud/css/icons/icons-vars.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/icons/icons-vars.css?v=1594380842 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:00 [error] 14877#0: *28 open() "/opt/wwwroot/Nextcloud/css/activity/32d7-6d1b-style.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/activity/32d7-6d1b-style.css?v=b92d206521717ac032f8aa58d3c7ff2f-32d7edaf-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:00 [error] 14877#0: *31 open() "/opt/wwwroot/Nextcloud/css/icons/icons-vars.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/icons/icons-vars.css?v=1594380842 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:00 [error] 14875#0: *32 open() "/opt/wwwroot/Nextcloud/js/core/merged-template-prepend.js" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /js/core/merged-template-prepend.js?v=41a370a1-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:01 [error] 14877#0: *47 open() "/opt/wwwroot/Nextcloud/js/files/merged-index.js" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /js/files/merged-index.js?v=41a370a1-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:01 [error] 14875#0: *69 open() "/opt/wwwroot/Nextcloud/js/activity/activity-sidebar.js" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /js/activity/activity-sidebar.js?v=41a370a1-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:02 [error] 14877#0: *100 open() "/opt/wwwroot/Nextcloud/apps/theming/img/core/filetypes/folder.svg" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /apps/theming/img/core/filetypes/folder.svg?v=0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:09 [error] 14878#0: *107 open() "/opt/wwwroot/Nextcloud/css/core/577b-6d1b-server.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/core/577b-6d1b-server.css?v=b92d206521717ac032f8aa58d3c7ff2f-41a370a1-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:09 [error] 14877#0: *108 open() "/opt/wwwroot/Nextcloud/css/core/577b-6d1b-css-variables.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/core/577b-6d1b-css-variables.css?v=b92d206521717ac032f8aa58d3c7ff2f-41a370a1-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:09 [error] 14878#0: *109 open() "/opt/wwwroot/Nextcloud/css/core/577b-6d1b-results.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/core/577b-6d1b-results.css?v=b92d206521717ac032f8aa58d3c7ff2f-41a370a1-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:09 [error] 14878#0: *111 open() "/opt/wwwroot/Nextcloud/css/files/f5a2-6d1b-merged.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/files/f5a2-6d1b-merged.css?v=b92d206521717ac032f8aa58d3c7ff2f-f5a209a9-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:09 [error] 14876#0: *112 open() "/opt/wwwroot/Nextcloud/css/notifications/b1d7-6d1b-styles.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/notifications/b1d7-6d1b-styles.css?v=b92d206521717ac032f8aa58d3c7ff2f-b1d71238-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:09 [error] 14877#0: *113 open() "/opt/wwwroot/Nextcloud/css/text/3d4b-6d1b-icons.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/text/3d4b-6d1b-icons.css?v=b92d206521717ac032f8aa58d3c7ff2f-3d4b11f6-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:09 [error] 14878#0: *116 open() "/opt/wwwroot/Nextcloud/css/activity/32d7-6d1b-style.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/activity/32d7-6d1b-style.css?v=b92d206521717ac032f8aa58d3c7ff2f-32d7edaf-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:09 [error] 14877#0: *115 open() "/opt/wwwroot/Nextcloud/css/files_sharing/39b9-6d1b-icons.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/files_sharing/39b9-6d1b-icons.css?v=b92d206521717ac032f8aa58d3c7ff2f-39b92f95-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:09 [error] 14877#0: *117 open() "/opt/wwwroot/Nextcloud/css/icons/icons-vars.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/icons/icons-vars.css?v=1594380842 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:09 [error] 14878#0: *120 open() "/opt/wwwroot/Nextcloud/css/icons/icons-vars.css" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /css/icons/icons-vars.css?v=1594380842 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:09 [error] 14877#0: *123 open() "/opt/wwwroot/Nextcloud/js/core/merged-template-prepend.js" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /js/core/merged-template-prepend.js?v=41a370a1-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:10 [error] 14878#0: *136 open() "/opt/wwwroot/Nextcloud/js/files/merged-index.js" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /js/files/merged-index.js?v=41a370a1-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:10 [error] 14878#0: *158 open() "/opt/wwwroot/Nextcloud/js/activity/activity-sidebar.js" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /js/activity/activity-sidebar.js?v=41a370a1-0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:12:11 [error] 14876#0: *190 open() "/opt/wwwroot/Nextcloud/apps/theming/img/core/filetypes/folder.svg" failed (2: No such file or directory), client: 192.168.31.22, server: localhost, request: "GET /apps/theming/img/core/filetypes/folder.svg?v=0 HTTP/1.1", host: "miwifi.com:83"
2020/07/10 13:13:30 [notice] 16870#0: signal process started
2020/07/10 13:30:58 [notice] 32490#0: signal process started
2020/07/10 13:31:53 [notice] 739#0: signal process started
2020/07/10 13:31:57 [crit] 758#0: *1 connect() to unix:/opt/var/run/php7-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.31.22, server: localhost, request: "POST /apps/text/session/sync HTTP/1.1", upstream: "fastcgi://unix:/opt/var/run/php7-fpm.sock:", host: "miwifi.com:83"

Nextcloud log (data/nextcloud.log)

Nextcloud log
{"reqId":"xEcck8xA4lGEvLEp59T2","level":3,"time":"2020-07-10T15:33:49+00:00","remoteAddr":"192.168.31.22","user":"admin","app":"PHP","method":"GET","url":"/core/preview?fileId=18&x=32&y=32","message":"imagettftext(): Problem doing text layout at /opt/wwwroot/Nextcloud/lib/private/Preview/TXT.php#92","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"19.0.0.12"}
{"reqId":"xEcck8xA4lGEvLEp59T2","level":3,"time":"2020-07-10T15:33:49+00:00","remoteAddr":"192.168.31.22","user":"admin","app":"index","method":"GET","url":"/core/preview?fileId=18&x=32&y=32","message":{"Exception":"Exception","Message":"finfo::finfo(): Failed to load magic database at '(null)'.","Code":0,"Trace":[{"file":"/opt/wwwroot/Nextcloud/lib/private/legacy/OC_Image.php","line":87,"function":"finfo","class":"finfo","type":"->","args":[16]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Preview/TXT.php","line":103,"function":"__construct","class":"OC_Image","type":"->","args":[]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Preview/GeneratorHelper.php","line":63,"function":"getThumbnail","class":"OC\\Preview\\TXT","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},4096,4096]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Preview/Generator.php","line":235,"function":"getThumbnail","class":"OC\\Preview\\GeneratorHelper","type":"->","args":[{"__class__":"OC\\Preview\\MarkDown"},{"__class__":"OC\\Files\\Node\\File"},4096,4096]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Preview/Generator.php","line":141,"function":"getMaxPreview","class":"OC\\Preview\\Generator","type":"->","args":[{"__class__":"OC\\Files\\SimpleFS\\SimpleFolder"},{"__class__":"OC\\Files\\Node\\File"},"text/markdown",""]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Preview/Generator.php","line":107,"function":"generatePreviews","class":"OC\\Preview\\Generator","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},[{"width":32,"height":32,"crop":true,"mode":"fill"}],"text/markdown"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/PreviewManager.php","line":190,"function":"getPreview","class":"OC\\Preview\\Generator","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},32,32,true,"fill",null]},{"file":"/opt/wwwroot/Nextcloud/core/Controller/PreviewController.php","line":170,"function":"getPreview","class":"OC\\PreviewManager","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},32,32,true,"fill"]},{"file":"/opt/wwwroot/Nextcloud/core/Controller/PreviewController.php","line":143,"function":"fetchPreview","class":"OC\\Core\\Controller\\PreviewController","type":"->","args":[{"__class__":"OC\\Files\\Node\\File"},32,32,false,true,"fill"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"getPreviewByFileId","class":"OC\\Core\\Controller\\PreviewController","type":"->","args":[18,32,32,false,true,"fill"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\PreviewController"},"getPreviewByFileId"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OC\\Core\\Controller\\PreviewController"},"getPreviewByFileId"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OC\\Core\\Controller\\PreviewController","getPreviewByFileId",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"core.Preview.getPreviewByFileId"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"core.Preview.getPreviewByFileId"}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Route/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"core.Preview.getPreviewByFileId"}]},{"file":"/opt/wwwroot/Nextcloud/lib/base.php","line":1007,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/core/preview"]},{"file":"/opt/wwwroot/Nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/opt/wwwroot/Nextcloud/lib/private/legacy/OC_Image.php","Line":87,"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"19.0.0.12"}
{"reqId":"wAwHmpZmrcWFlm6G6SWl","level":3,"time":"2020-07-10T15:34:12+00:00","remoteAddr":"192.168.31.22","user":"admin","app":"index","method":"GET","url":"/settings/apps","message":{"Exception":"Exception","Message":"Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found","Code":0,"Trace":[{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"viewApps"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AppSettingsController","viewApps",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"category":"","id":"","_route":"settings.AppSettings.viewApps"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"category":"","id":"","_route":"settings.AppSettings.viewApps"}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Route/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"category":"","id":"","_route":"settings.AppSettings.viewApps"}]},{"file":"/opt/wwwroot/Nextcloud/lib/base.php","line":1007,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/apps"]},{"file":"/opt/wwwroot/Nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":110,"Previous":{"Exception":"Error","Message":"Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found","Code":0,"Trace":[{"file":"/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":220,"function":"GuzzleHttp\\_idn_uri_convert","args":[{"__class__":"GuzzleHttp\\Psr7\\Uri"},0]},{"file":"/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":155,"function":"buildUri","class":"GuzzleHttp\\Client","type":"->","args":[{"__class__":"GuzzleHttp\\Psr7\\Uri"},{"verify":"/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt","timeout":10,"headers":{"Accept-Encoding":"gzip","User-Agent":"Nextcloud Server Crawler"},"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,"_conditional":{"User-Agent":"GuzzleHttp/6.5.1 curl/7.70.0 PHP/7.4.6"}}]},{"file":"/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":183,"function":"requestAsync","class":"GuzzleHttp\\Client","type":"->","args":["get","https://apps.nextcloud.com/api/v1/apps.json",{"verify":"/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt","timeout":10,"headers":{"Accept-Encoding":"gzip","User-Agent":"Nextcloud Server Crawler"},"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,"_conditional":{"User-Agent":"GuzzleHttp/6.5.1 curl/7.70.0 PHP/7.4.6"}}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Http/Client/Client.php","line":228,"function":"request","class":"GuzzleHttp\\Client","type":"->","args":["get","https://apps.nextcloud.com/api/v1/apps.json",{"verify":"/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt","timeout":10,"headers":{"Accept-Encoding":"gzip","User-Agent":"Nextcloud Server Crawler"},"synchronous":true}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php","line":109,"function":"get","class":"OC\\Http\\Client\\Client","type":"->","args":["https://apps.nextcloud.com/api/v1/apps.json",{"timeout":10,"headers":{"Accept-Encoding":"gzip"}}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php","line":86,"function":"fetch","class":"OC\\App\\AppStore\\Fetcher\\Fetcher","type":"->","args":["",""]},{"file":"/opt/wwwroot/Nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php","line":173,"function":"fetch","class":"OC\\App\\AppStore\\Fetcher\\AppFetcher","type":"->","args":["",""]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Installer.php","line":408,"function":"get","class":"OC\\App\\AppStore\\Fetcher\\Fetcher","type":"->","args":[]},{"file":"/opt/wwwroot/Nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":153,"function":"isUpdateAvailable","class":"OC\\Installer","type":"->","args":["admin_audit"]},{"file":"/opt/wwwroot/Nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":136,"function":"getAppsWithUpdates","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->","args":[]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"viewApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->","args":[]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"viewApps"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"viewApps"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AppSettingsController","viewApps",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"category":"","id":"","_route":"settings.AppSettings.viewApps"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"category":"","id":"","_route":"settings.AppSettings.viewApps"}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Route/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"category":"","id":"","_route":"settings.AppSettings.viewApps"}]},{"file":"/opt/wwwroot/Nextcloud/lib/base.php","line":1007,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/apps"]},{"file":"/opt/wwwroot/Nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/functions.php","Line":384},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"19.0.0.12"}
{"reqId":"thfM3O997rct2LCeg5uK","level":3,"time":"2020-07-10T15:39:14+00:00","remoteAddr":"192.168.31.22","user":"admin","app":"index","method":"GET","url":"/settings/admin/overview","message":{"Exception":"Exception","Message":"Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found","Code":0,"Trace":[{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AdminSettingsController"},"index"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AdminSettingsController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"section":"overview","_route":"settings.AdminSettings.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"section":"overview","_route":"settings.AdminSettings.index"}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Route/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"section":"overview","_route":"settings.AdminSettings.index"}]},{"file":"/opt/wwwroot/Nextcloud/lib/base.php","line":1007,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/admin/overview"]},{"file":"/opt/wwwroot/Nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":110,"Previous":{"Exception":"Error","Message":"Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found","Code":0,"Trace":[{"file":"/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":220,"function":"GuzzleHttp\\_idn_uri_convert","args":[{"__class__":"GuzzleHttp\\Psr7\\Uri"},0]},{"file":"/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":155,"function":"buildUri","class":"GuzzleHttp\\Client","type":"->","args":[{"__class__":"GuzzleHttp\\Psr7\\Uri"},{"verify":"/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt","timeout":30,"headers":{"User-Agent":"Nextcloud Server Crawler"},"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,"_conditional":{"User-Agent":"GuzzleHttp/6.5.1 curl/7.70.0 PHP/7.4.6"}}]},{"file":"/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":183,"function":"requestAsync","class":"GuzzleHttp\\Client","type":"->","args":["get","https://updates.nextcloud.com/updater_server/?version=19x0x0x12x1594375165.16x1594395554xstablexx2020-05-26T08:11:09+00:00 9c63433cde916cd35b0708b398910cbc1cb52315x7x4x6",{"verify":"/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt","timeout":30,"headers":{"User-Agent":"Nextcloud Server Crawler"},"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,"_conditional":{"User-Agent":"GuzzleHttp/6.5.1 curl/7.70.0 PHP/7.4.6"}}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Http/Client/Client.php","line":228,"function":"request","class":"GuzzleHttp\\Client","type":"->","args":["get","https://updates.nextcloud.com/updater_server/?version=19x0x0x12x1594375165.16x1594395554xstablexx2020-05-26T08:11:09+00:00 9c63433cde916cd35b0708b398910cbc1cb52315x7x4x6",{"verify":"/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt","timeout":30,"headers":{"User-Agent":"Nextcloud Server Crawler"},"synchronous":true}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Updater/VersionCheck.php","line":128,"function":"get","class":"OC\\Http\\Client\\Client","type":"->","args":["https://updates.nextcloud.com/updater_server/?version=19x0x0x12x1594375165.16x1594395554xstablexx2020-05-26T08:11:09+00:00 9c63433cde916cd35b0708b398910cbc1cb52315x7x4x6"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Updater/VersionCheck.php","line":93,"function":"getUrlContent","class":"OC\\Updater\\VersionCheck","type":"->","args":["https://updates.nextcloud.com/updater_server/?version=19x0x0x12x1594375165.16x1594395554xstablexx2020-05-26T08:11:09+00:00 9c63433cde916cd35b0708b398910cbc1cb52315x7x4x6"]},{"file":"/opt/wwwroot/Nextcloud/apps/updatenotification/lib/UpdateChecker.php","line":52,"function":"check","class":"OC\\Updater\\VersionCheck","type":"->","args":[]},{"file":"/opt/wwwroot/Nextcloud/apps/updatenotification/lib/Settings/Admin.php","line":90,"function":"getUpdateState","class":"OCA\\UpdateNotification\\UpdateChecker","type":"->","args":[]},{"file":"/opt/wwwroot/Nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php","line":141,"function":"getForm","class":"OCA\\UpdateNotification\\Settings\\Admin","type":"->","args":[]},{"file":"/opt/wwwroot/Nextcloud/apps/settings/lib/Controller/AdminSettingsController.php","line":83,"function":"formatSettings","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":[{"10":[{"__class__":"OCA\\Settings\\Settings\\Admin\\Overview"}],"11":[{"__class__":"OCA\\UpdateNotification\\Settings\\Admin"}]}]},{"file":"/opt/wwwroot/Nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php","line":152,"function":"getSettings","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["overview"]},{"file":"/opt/wwwroot/Nextcloud/apps/settings/lib/Controller/AdminSettingsController.php","line":68,"function":"getIndexResponse","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["admin","overview"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"index","class":"OCA\\Settings\\Controller\\AdminSettingsController","type":"->","args":["overview"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AdminSettingsController"},"index"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AdminSettingsController"},"index"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AdminSettingsController","index",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"section":"overview","_route":"settings.AdminSettings.index"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"section":"overview","_route":"settings.AdminSettings.index"}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Route/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"section":"overview","_route":"settings.AdminSettings.index"}]},{"file":"/opt/wwwroot/Nextcloud/lib/base.php","line":1007,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/admin/overview"]},{"file":"/opt/wwwroot/Nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/functions.php","Line":384},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0","version":"19.0.0.12"}

Browser log

Browser log
GET http://miwifi.com:83/core/preview?fileId=192&x=32&y=32 404 (Not Found)
GET http://miwifi.com:83/core/preview?fileId=19&x=32&y=32 500 (Internal Server Error)
could not load recommendation preview 

@Nick-Hopps
Copy link
Author

I've disabled all the apps unless those necessary, but the error occured as before:

{"reqId":"RNaOePPD7vxcGa69HGk7","level":3,"time":"2020-07-10T16:46:43+00:00","remoteAddr":"192.168.31.22","user":"admin","app":"index","method":"GET","url":"/settings/ajax/checksetup","message":{"Exception":"Exception","Message":"Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found","Code":0,"Trace":[{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\CheckSetupController"},"check"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\CheckSetupController","check",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"settings.CheckSetup.check"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"settings.CheckSetup.check"}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Route/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"settings.CheckSetup.check"}]},{"file":"/opt/wwwroot/Nextcloud/lib/base.php","line":1007,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/ajax/checksetup"]},{"file":"/opt/wwwroot/Nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":110,"Previous":{"Exception":"Error","Message":"Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found","Code":0,"Trace":[{"file":"/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":220,"function":"GuzzleHttp\\_idn_uri_convert","args":[{"__class__":"GuzzleHttp\\Psr7\\Uri"},0]},{"file":"/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":155,"function":"buildUri","class":"GuzzleHttp\\Client","type":"->","args":[{"__class__":"GuzzleHttp\\Psr7\\Uri"},{"verify":"/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt","timeout":30,"headers":{"User-Agent":"Nextcloud Server Crawler"},"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,"_conditional":{"User-Agent":"GuzzleHttp/6.5.1 curl/7.70.0 PHP/7.4.6"}}]},{"file":"/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":183,"function":"requestAsync","class":"GuzzleHttp\\Client","type":"->","args":["get","http://www.nextcloud.com/",{"verify":"/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt","timeout":30,"headers":{"User-Agent":"Nextcloud Server Crawler"},"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,"_conditional":{"User-Agent":"GuzzleHttp/6.5.1 curl/7.70.0 PHP/7.4.6"}}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Http/Client/Client.php","line":228,"function":"request","class":"GuzzleHttp\\Client","type":"->","args":["get","http://www.nextcloud.com/",{"verify":"/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt","timeout":30,"headers":{"User-Agent":"Nextcloud Server Crawler"},"synchronous":true}]},{"file":"/opt/wwwroot/Nextcloud/apps/settings/lib/Controller/CheckSetupController.php","line":159,"function":"get","class":"OC\\Http\\Client\\Client","type":"->","args":["http://www.nextcloud.com/"]},{"file":"/opt/wwwroot/Nextcloud/apps/settings/lib/Controller/CheckSetupController.php","line":142,"function":"isSiteReachable","class":"OCA\\Settings\\Controller\\CheckSetupController","type":"->","args":["www.nextcloud.com"]},{"file":"/opt/wwwroot/Nextcloud/apps/settings/lib/Controller/CheckSetupController.php","line":696,"function":"hasInternetConnectivityProblems","class":"OCA\\Settings\\Controller\\CheckSetupController","type":"->","args":[]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"check","class":"OCA\\Settings\\Controller\\CheckSetupController","type":"->","args":[]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\CheckSetupController"},"check"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\CheckSetupController"},"check"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\CheckSetupController","check",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"_route":"settings.CheckSetup.check"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"_route":"settings.CheckSetup.check"}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Route/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"_route":"settings.CheckSetup.check"}]},{"file":"/opt/wwwroot/Nextcloud/lib/base.php","line":1007,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/ajax/checksetup"]},{"file":"/opt/wwwroot/Nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/functions.php","Line":384},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36","version":"19.0.0.12"}
{"reqId":"j4nL8wbj2CLNwUY27gz3","level":3,"time":"2020-07-10T16:46:47+00:00","remoteAddr":"192.168.31.22","user":"admin","app":"index","method":"GET","url":"/settings/apps","message":{"Exception":"Exception","Message":"Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found","Code":0,"Trace":[{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"viewApps"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AppSettingsController","viewApps",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"category":"","id":"","_route":"settings.AppSettings.viewApps"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"category":"","id":"","_route":"settings.AppSettings.viewApps"}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Route/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"category":"","id":"","_route":"settings.AppSettings.viewApps"}]},{"file":"/opt/wwwroot/Nextcloud/lib/base.php","line":1007,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/apps"]},{"file":"/opt/wwwroot/Nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php","Line":110,"Previous":{"Exception":"Error","Message":"Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found","Code":0,"Trace":[{"file":"/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":220,"function":"GuzzleHttp\\_idn_uri_convert","args":[{"__class__":"GuzzleHttp\\Psr7\\Uri"},0]},{"file":"/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":155,"function":"buildUri","class":"GuzzleHttp\\Client","type":"->","args":[{"__class__":"GuzzleHttp\\Psr7\\Uri"},{"verify":"/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt","timeout":10,"headers":{"Accept-Encoding":"gzip","User-Agent":"Nextcloud Server Crawler"},"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,"_conditional":{"User-Agent":"GuzzleHttp/6.5.1 curl/7.70.0 PHP/7.4.6"}}]},{"file":"/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php","line":183,"function":"requestAsync","class":"GuzzleHttp\\Client","type":"->","args":["get","https://apps.nextcloud.com/api/v1/apps.json",{"verify":"/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt","timeout":10,"headers":{"Accept-Encoding":"gzip","User-Agent":"Nextcloud Server Crawler"},"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,"_conditional":{"User-Agent":"GuzzleHttp/6.5.1 curl/7.70.0 PHP/7.4.6"}}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Http/Client/Client.php","line":228,"function":"request","class":"GuzzleHttp\\Client","type":"->","args":["get","https://apps.nextcloud.com/api/v1/apps.json",{"verify":"/opt/wwwroot/Nextcloud/data/files_external/rootcerts.crt","timeout":10,"headers":{"Accept-Encoding":"gzip","User-Agent":"Nextcloud Server Crawler"},"synchronous":true}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php","line":109,"function":"get","class":"OC\\Http\\Client\\Client","type":"->","args":["https://apps.nextcloud.com/api/v1/apps.json",{"timeout":10,"headers":{"Accept-Encoding":"gzip"}}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php","line":86,"function":"fetch","class":"OC\\App\\AppStore\\Fetcher\\Fetcher","type":"->","args":["",""]},{"file":"/opt/wwwroot/Nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php","line":173,"function":"fetch","class":"OC\\App\\AppStore\\Fetcher\\AppFetcher","type":"->","args":["",""]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Installer.php","line":408,"function":"get","class":"OC\\App\\AppStore\\Fetcher\\Fetcher","type":"->","args":[]},{"file":"/opt/wwwroot/Nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":153,"function":"isUpdateAvailable","class":"OC\\Installer","type":"->","args":["admin_audit"]},{"file":"/opt/wwwroot/Nextcloud/apps/settings/lib/Controller/AppSettingsController.php","line":136,"function":"getAppsWithUpdates","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->","args":[]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":170,"function":"viewApps","class":"OCA\\Settings\\Controller\\AppSettingsController","type":"->","args":[]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":100,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"viewApps"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/App.php","line":137,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Settings\\Controller\\AppSettingsController"},"viewApps"]},{"file":"/opt/wwwroot/Nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php","line":47,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Settings\\Controller\\AppSettingsController","viewApps",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},{"category":"","id":"","_route":"settings.AppSettings.viewApps"}]},{"function":"__invoke","class":"OC\\AppFramework\\Routing\\RouteActionHandler","type":"->","args":[{"category":"","id":"","_route":"settings.AppSettings.viewApps"}]},{"file":"/opt/wwwroot/Nextcloud/lib/private/Route/Router.php","line":297,"function":"call_user_func","args":[{"__class__":"OC\\AppFramework\\Routing\\RouteActionHandler"},{"category":"","id":"","_route":"settings.AppSettings.viewApps"}]},{"file":"/opt/wwwroot/Nextcloud/lib/base.php","line":1007,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/settings/apps"]},{"file":"/opt/wwwroot/Nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::","args":[]}],"File":"/opt/wwwroot/Nextcloud/3rdparty/guzzlehttp/guzzle/src/functions.php","Line":384},"CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36","version":"19.0.0.12"}

@Nick-Hopps
Copy link
Author

I have added that file to guzzle, then I restart my services, but the issue remains

{
    "reqId": "wZt7UpI6wI8dYAWrp9PU",
    "level": 3,
    "time": "2020-07-10T19:17:38+00:00",
    "remoteAddr": "192.168.31.22",
    "user": "admin",
    "app": "index",
    "method": "GET",
    "url": "/settings/apps",
    "message":
    {
        "Exception": "Exception",
        "Message": "Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found",
        "Code": 0,
        "Trace": [
        {
            "file": "/opt/wwwroot/nextcloud/lib/private/AppFramework/App.php",
            "line": 137,
            "function": "dispatch",
            "class": "OC\\AppFramework\\Http\\Dispatcher",
            "type": "->",
            "args": [
            {
                "__class__": "OCA\\Settings\\Controller\\AppSettingsController"
            }, "viewApps"]
        },
        {
            "file": "/opt/wwwroot/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",
            "line": 47,
            "function": "main",
            "class": "OC\\AppFramework\\App",
            "type": "::",
            "args": ["OCA\\Settings\\Controller\\AppSettingsController", "viewApps",
            {
                "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
            },
            {
                "category": "",
                "id": "",
                "_route": "settings.AppSettings.viewApps"
            }]
        },
        {
            "function": "__invoke",
            "class": "OC\\AppFramework\\Routing\\RouteActionHandler",
            "type": "->",
            "args": [
            {
                "category": "",
                "id": "",
                "_route": "settings.AppSettings.viewApps"
            }]
        },
        {
            "file": "/opt/wwwroot/nextcloud/lib/private/Route/Router.php",
            "line": 297,
            "function": "call_user_func",
            "args": [
            {
                "__class__": "OC\\AppFramework\\Routing\\RouteActionHandler"
            },
            {
                "category": "",
                "id": "",
                "_route": "settings.AppSettings.viewApps"
            }]
        },
        {
            "file": "/opt/wwwroot/nextcloud/lib/base.php",
            "line": 1007,
            "function": "match",
            "class": "OC\\Route\\Router",
            "type": "->",
            "args": ["/settings/apps"]
        },
        {
            "file": "/opt/wwwroot/nextcloud/index.php",
            "line": 37,
            "function": "handleRequest",
            "class": "OC",
            "type": "::",
            "args": []
        }],
        "File": "/opt/wwwroot/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
        "Line": 110,
        "Previous":
        {
            "Exception": "Error",
            "Message": "Class 'GuzzleHttp\\Exception\\InvalidArgumentException' not found",
            "Code": 0,
            "Trace": [
            {
                "file": "/opt/wwwroot/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",
                "line": 220,
                "function": "GuzzleHttp\\_idn_uri_convert",
                "args": [
                {
                    "__class__": "GuzzleHttp\\Psr7\\Uri"
                }, 0]
            },
            {
                "file": "/opt/wwwroot/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",
                "line": 155,
                "function": "buildUri",
                "class": "GuzzleHttp\\Client",
                "type": "->",
                "args": [
                {
                    "__class__": "GuzzleHttp\\Psr7\\Uri"
                },
                {
                    "verify": "/opt/wwwroot/nextcloud/data/files_external/rootcerts.crt",
                    "timeout": 10,
                    "headers":
                    {
                        "Accept-Encoding": "gzip",
                        "User-Agent": "Nextcloud Server Crawler"
                    },
                    "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,
                    "_conditional":
                    {
                        "User-Agent": "GuzzleHttp/6.5.1 curl/7.70.0 PHP/7.4.6"
                    }
                }]
            },
            {
                "file": "/opt/wwwroot/nextcloud/3rdparty/guzzlehttp/guzzle/src/Client.php",
                "line": 183,
                "function": "requestAsync",
                "class": "GuzzleHttp\\Client",
                "type": "->",
                "args": ["get", "https://apps.nextcloud.com/api/v1/apps.json",
                {
                    "verify": "/opt/wwwroot/nextcloud/data/files_external/rootcerts.crt",
                    "timeout": 10,
                    "headers":
                    {
                        "Accept-Encoding": "gzip",
                        "User-Agent": "Nextcloud Server Crawler"
                    },
                    "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,
                    "_conditional":
                    {
                        "User-Agent": "GuzzleHttp/6.5.1 curl/7.70.0 PHP/7.4.6"
                    }
                }]
            },
            {
                "file": "/opt/wwwroot/nextcloud/lib/private/Http/Client/Client.php",
                "line": 228,
                "function": "request",
                "class": "GuzzleHttp\\Client",
                "type": "->",
                "args": ["get", "https://apps.nextcloud.com/api/v1/apps.json",
                {
                    "verify": "/opt/wwwroot/nextcloud/data/files_external/rootcerts.crt",
                    "timeout": 10,
                    "headers":
                    {
                        "Accept-Encoding": "gzip",
                        "User-Agent": "Nextcloud Server Crawler"
                    },
                    "synchronous": true
                }]
            },
            {
                "file": "/opt/wwwroot/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php",
                "line": 109,
                "function": "get",
                "class": "OC\\Http\\Client\\Client",
                "type": "->",
                "args": ["https://apps.nextcloud.com/api/v1/apps.json",
                {
                    "timeout": 10,
                    "headers":
                    {
                        "Accept-Encoding": "gzip"
                    }
                }]
            },
            {
                "file": "/opt/wwwroot/nextcloud/lib/private/App/AppStore/Fetcher/AppFetcher.php",
                "line": 86,
                "function": "fetch",
                "class": "OC\\App\\AppStore\\Fetcher\\Fetcher",
                "type": "->",
                "args": ["", ""]
            },
            {
                "file": "/opt/wwwroot/nextcloud/lib/private/App/AppStore/Fetcher/Fetcher.php",
                "line": 173,
                "function": "fetch",
                "class": "OC\\App\\AppStore\\Fetcher\\AppFetcher",
                "type": "->",
                "args": ["", ""]
            },
            {
                "file": "/opt/wwwroot/nextcloud/lib/private/Installer.php",
                "line": 408,
                "function": "get",
                "class": "OC\\App\\AppStore\\Fetcher\\Fetcher",
                "type": "->",
                "args": []
            },
            {
                "file": "/opt/wwwroot/nextcloud/apps/settings/lib/Controller/AppSettingsController.php",
                "line": 153,
                "function": "isUpdateAvailable",
                "class": "OC\\Installer",
                "type": "->",
                "args": ["admin_audit"]
            },
            {
                "file": "/opt/wwwroot/nextcloud/apps/settings/lib/Controller/AppSettingsController.php",
                "line": 136,
                "function": "getAppsWithUpdates",
                "class": "OCA\\Settings\\Controller\\AppSettingsController",
                "type": "->",
                "args": []
            },
            {
                "file": "/opt/wwwroot/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
                "line": 170,
                "function": "viewApps",
                "class": "OCA\\Settings\\Controller\\AppSettingsController",
                "type": "->",
                "args": []
            },
            {
                "file": "/opt/wwwroot/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
                "line": 100,
                "function": "executeController",
                "class": "OC\\AppFramework\\Http\\Dispatcher",
                "type": "->",
                "args": [
                {
                    "__class__": "OCA\\Settings\\Controller\\AppSettingsController"
                }, "viewApps"]
            },
            {
                "file": "/opt/wwwroot/nextcloud/lib/private/AppFramework/App.php",
                "line": 137,
                "function": "dispatch",
                "class": "OC\\AppFramework\\Http\\Dispatcher",
                "type": "->",
                "args": [
                {
                    "__class__": "OCA\\Settings\\Controller\\AppSettingsController"
                }, "viewApps"]
            },
            {
                "file": "/opt/wwwroot/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php",
                "line": 47,
                "function": "main",
                "class": "OC\\AppFramework\\App",
                "type": "::",
                "args": ["OCA\\Settings\\Controller\\AppSettingsController", "viewApps",
                {
                    "__class__": "OC\\AppFramework\\DependencyInjection\\DIContainer"
                },
                {
                    "category": "",
                    "id": "",
                    "_route": "settings.AppSettings.viewApps"
                }]
            },
            {
                "function": "__invoke",
                "class": "OC\\AppFramework\\Routing\\RouteActionHandler",
                "type": "->",
                "args": [
                {
                    "category": "",
                    "id": "",
                    "_route": "settings.AppSettings.viewApps"
                }]
            },
            {
                "file": "/opt/wwwroot/nextcloud/lib/private/Route/Router.php",
                "line": 297,
                "function": "call_user_func",
                "args": [
                {
                    "__class__": "OC\\AppFramework\\Routing\\RouteActionHandler"
                },
                {
                    "category": "",
                    "id": "",
                    "_route": "settings.AppSettings.viewApps"
                }]
            },
            {
                "file": "/opt/wwwroot/nextcloud/lib/base.php",
                "line": 1007,
                "function": "match",
                "class": "OC\\Route\\Router",
                "type": "->",
                "args": ["/settings/apps"]
            },
            {
                "file": "/opt/wwwroot/nextcloud/index.php",
                "line": 37,
                "function": "handleRequest",
                "class": "OC",
                "type": "::",
                "args": []
            }],
            "File": "/opt/wwwroot/nextcloud/3rdparty/guzzlehttp/guzzle/src/functions.php",
            "Line": 384
        },
        "CustomMessage": "--"
    },
    "userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36",
    "version": "19.0.0.12"
}

@dingmingglc
Copy link

but I can not preview images, and when I try to "Apps" or even some tabs in "Settings", I get errors below:

1. Exception: Class 'GuzzleHttp\Exception\InvalidArgumentException' not found

2. Exception: finfo::finfo(): Failed to load magic database at '(null)'.

你这问题怎么处理的,解决了吗?

@Nick-Hopps
Copy link
Author

but I can not preview images, and when I try to "Apps" or even some tabs in "Settings", I get errors below:

1. Exception: Class 'GuzzleHttp\Exception\InvalidArgumentException' not found

2. Exception: finfo::finfo(): Failed to load magic database at '(null)'.

你这问题怎么处理的,解决了吗?

放弃了,我是 openwrt 环境下出的问题,不好排查

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 19-feedback Feedback from 19.x releases bug needs info
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants