Global jQuery is deprecated

Nextcloud version (eg, 20.0.5): 24.0.4
Operating system and version (eg, Ubuntu 20.04): AlmaLinux 8.5 (Arctic Sphynx)
Apache or nginx version (eg, Apache 2.4.25): Apache/2.4.37 (AlmaLinux)
PHP version (eg, 7.4): 7.4.29

The issue you are facing:
I receive this console error when opening the “Dashboard” and other pages:

$ is deprecated: The global jQuery is deprecated. It will be removed in a later versions without another warning. Please ship your own.

How can I remove this error as I believe it is making the dashboard load really slowly.

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

Steps to replicate it:

  1. Open Dashboard.
  2. Look in the browser console.

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

<?php
$CONFIG = array (
  'instanceid' => 'xxx',
  'passwordsalt' => 'xxx',
  'secret' => 'xxx',
  'trusted_domains' => 
  array (
    0 => 'xxx',
    1 => 'xxx',
  ),
  'datadirectory' => '/var/www/nextcloud/data',
  'dbtype' => 'mysql',
  'version' => '24.0.4.1',
  'overwrite.cli.url' => 'xxx',
  'dbname' => 'nextcloud',
  'dbhost' => 'localhost',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => 'xxx',
  'installed' => true,
  'htaccess.RewriteBase' => '/',
  'mail_smtpmode' => 'smtp',
  'mail_smtpsecure' => 'tls',
  'mail_sendmailmode' => 'smtp',
  'mail_from_address' => 'xxx',
  'mail_domain' => 'xxx',
  'mail_smtpauth' => 1,
  'mail_smtphost' => 'xxx',
  'mail_smtpport' => 'xxx',
  'mail_smtpname' => 'xxx',
  'mail_smtppassword' => 'xxx',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'redis' => 
  array (
    'host' => 'localhost',
    'port' => 6379,
    'timeout' => 1.5,
  ),
  'maintenance' => false,
  'theme' => '',
  'loglevel' => 2,
  'default_phone_region' => 'GB',
  'app_install_overwrite' => 
  array (
    0 => 'documentserver_community',
  ),
  'updater.secret' => 'xxx',
);

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

[Sun Aug 21 03:24:02.731963 2022] [lbmethod_heartbeat:notice] [pid 1127:tid 140628968741184] AH02282: No slotmem from mod_heartmonitor
[Sun Aug 21 03:24:02.732874 2022] [mpm_event:notice] [pid 1127:tid 140628968741184] AH00489: Apache/2.4.37 (AlmaLinux) OpenSSL/1.1.1k configured -- resuming normal $
[Sun Aug 21 03:24:02.732894 2022] [core:notice] [pid 1127:tid 140628968741184] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Sun Aug 21 10:57:44.940531 2022] [core:error] [pid 3493039:tid 140627664680704] [client 128.1.248.42:40858] AH00126: Invalid URI in request HEAD /icons/.%2e/%2e%2e$
[Sun Aug 21 14:53:27.768452 2022] [access_compat:error] [pid 3492892:tid 140627882792704] [client 94.8.248.136:56563] AH01797: client denied by server configuration$
[Sun Aug 21 15:01:40.545538 2022] [access_compat:error] [pid 3492892:tid 140627874400000] [client 94.8.248.136:57492] AH01797: client denied by server configuration$
[Sun Aug 21 15:04:08.934850 2022] [access_compat:error] [pid 3492892:tid 140627765360384] [client 94.8.248.136:50790] AH01797: client denied by server configuration$
[Sun Aug 21 15:05:56.277734 2022] [access_compat:error] [pid 3493039:tid 140627698251520] [client 94.8.248.136:50987] AH01797: client denied by server configuration$
[Sun Aug 21 15:07:43.516034 2022] [access_compat:error] [pid 3493039:tid 140628323899136] [client 94.8.248.136:51135] AH01797: client denied by server configuration$
[Sun Aug 21 15:08:39.000812 2022] [access_compat:error] [pid 3493039:tid 140627664680704] [client 94.8.248.136:51220] AH01797: client denied by server configuration$
[Sun Aug 21 15:09:00.862018 2022] [access_compat:error] [pid 3493039:tid 140626934875904] [client 94.8.248.136:51246] AH01797: client denied by server configuration$
[Sun Aug 21 15:10:16.056882 2022] [access_compat:error] [pid 3492891:tid 140627673073408] [client 94.8.248.136:51368] AH01797: client denied by server configuration$
[Sun Aug 21 15:11:26.616427 2022] [proxy_fcgi:error] [pid 3493515:tid 140627689858816] (70007)The timeout specified has expired: [client 94.8.248.136:51381] AH01075$
[Sun Aug 21 15:12:53.230081 2022] [access_compat:error] [pid 3493039:tid 140626918090496] [client 94.8.248.136:51624] AH01797: client denied by server configuration$
[Sun Aug 21 15:20:55.186861 2022] [access_compat:error] [pid 3492891:tid 140628100904704] [client 94.8.248.136:52568] AH01797: client denied by server configuration$
[Sun Aug 21 15:21:35.632790 2022] [access_compat:error] [pid 3493039:tid 140626943268608] [client 94.8.248.136:52645] AH01797: client denied by server configuration$

Hi @devnull,
So I have to wait for the nextcloud team to update it?

Or as per this comment it should be fine and still secure?

I think you can do nothing.

Awesome. Thank you.

The mentioned message is not an error but an information. I would recommend to adjust the log_level parameter in your configuration to get rid of the message:

https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/logging_configuration.html?highlight=log+level

Hiya,
Yeah, I’ve edited the log level of my install already.
Thanks!

I also always like to change the log level to simply not see certain errors anymore. :wink: