Pi4 with 8GB RAM error when checking system

Today I changed my Setup:

I was running a Raspberry Pi4 with 4GB Ram with nextcloudpi.

I took the microSD-Card,

and switched to a Raspberry Pi4 with 8GB Ram.

Everything works fine.

But when I look at the Web Server Diagnosis, there is a red error, that the System couldnt be checked. I hope thats just a Bug because the 8GB of Ram are not 100% supported yet.

Can anyone tell me if I need to worry or will it be probably fixed by a ncp-update?

Not sure, not enough info provided, but have a look at

Check the logs or run ncp-report, to gather more info on your setup.

true a bit more info would be useful I guess…


Cannot load Zend OPcache - it was already loaded
NextCloudPi version  v1.34.7
NextCloudPi image    NextCloudPi_07-21-19
distribution         Raspbian GNU/Linux 10 \n \l
automount            yes
USB devices          sda sdb 
datadir              /media/USBdrive/ncdata
data in SD           no
data filesystem      btrfs
data disk usage      2.0T/3.7T
rootfs usage         6.9G/29G
swapfile             /var/swap
dbdir                /var/www/nextcloud2
Nextcloud check      ok
Nextcloud version    20.0.4.0
HTTPD service        up
PHP service          up
MariaDB service      up
Redis service        up
Postfix service      up
internet check       ok
port check 80        open
port check 443       open
IP                   ***REMOVED SENSITIVE VALUE***
gateway              ***REMOVED SENSITIVE VALUE***
interface            eth0
certificates         ***REMOVED SENSITIVE VALUE***
NAT loopback         no
uptime               4days

Nextcloud configuration

Cannot load Zend OPcache - it was already loaded
{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": {
            "0": "localhost",
            "5": "nextcloudpi.local",
            "7": "nextcloudpi",
            "8": "nextcloudpi.lan",
            "1": "1xxx",
            "20": "xxx",
            "21": "xxx",
            "22": "_",
            "4": "fxxx",
            "11": "2xxx2"
        },
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "20.0.4.0",
        "overwrite.cli.url": "https:\/\/xxx\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0,
            "timeout": 0,
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "tempdirectory": "\/media\/USBdrive\/ncdata\/tmp",
        "mail_smtpmode": "xxx",
        "mail_smtpauthtype": "LOGIN",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "overwriteprotocol": "https",
        "maintenance": false,
        "logfile": "\/media\/USBdrive\/ncdata\/nextcloud.log",
        "loglevel": 1,
        "log_type": "file",
        "data-fingerprint": "xxxxx",
        "theme": "",
        "mail_sendmailmode": "smtp",
        "jpeg_quality": "60",
        "updater.release.channel": "stable",
        "htaccess.RewriteBase": "\/",
        "encryption.legacy_format_support": true,
        "encryption.key_storage_migrated": false
    }

I think I found the reason:
Everytime I load this page I get following error in the logs:

Could you confirm that this is a bug?

If yes I guess I should open an Issue on Github (never did this before, would it be Nextcloudpi or Nextcloud?

Error

index

2021-02-20T12:14:06+0100

Exception: Return value of OC\MemoryInfo::memoryLimitToBytes() must be of the type int, float returned

.
0. /var/www/nextcloud/lib/private/AppFramework/App.php - line 152: OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings … {}, “check”)

  1. /var/www/nextcloud/lib/private/Route/Router.php - line 308: OC\AppFramework\App::main(“OCA\Settin … r”, “check”, OC\AppFramew … {}, { action: nu … "})
  2. /var/www/nextcloud/lib/base.php - line 1008: OC\Route\Router->match("/settings/ajax/checksetup")
  3. /var/www/nextcloud/index.php - line 37: OC::handleRequest()

Verursacht durchTypeError: Return value of OC\MemoryInfo::memoryLimitToBytes() must be of the type int, float returned

  1. /var/www/nextcloud/lib/private/MemoryInfo.php - line 58: OC\MemoryInfo->memoryLimitToBytes(6442450944)
  2. /var/www/nextcloud/lib/private/MemoryInfo.php - line 42: OC\MemoryInfo->getMemoryLimit()
  3. /var/www/nextcloud/apps/settings/lib/Controller/CheckSetupController.php - line 744: OC\MemoryInfo->isMemoryLimitSufficient()
  4. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 169: OCA\Settings\Controller\CheckSetupController->check()
  5. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 100: OC\AppFramework\Http\Dispatcher->executeController(OCA\Settings … {}, “check”)
  6. /var/www/nextcloud/lib/private/AppFramework/App.php - line 152: OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings … {}, “check”)
  7. /var/www/nextcloud/lib/private/Route/Router.php - line 308: OC\AppFramework\App::main(“OCA\Settin … r”, “check”, OC\AppFramew … {}, { action: nu … "})
  8. /var/www/nextcloud/lib/base.php - line 1008: OC\Route\Router->match("/settings/ajax/checksetup")
  9. /var/www/nextcloud/index.php - line 37: OC::handleRequest()