Regular error from cron.php (Error while running background job OCA\\Mail\\BackgroundJob\\IMipMessageJob)

After updating from Linux Mint Vanessa to Wilma and finally to Xia and updating Nextcloud to 31.0.5, cron.php produces exactly each hour+cron frequency (frequency all 4 min => 00:04;01:08;02:12;03:16; …) an error message like:

{“reqId”:“hf2ABk6yccJduZN17Hs2”,“level”:3,“time”:“2025-05-25T09:20:02+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“core”,“method”:“”,“url”:“–”,“message”:“Error while running background job OCA\Mail\BackgroundJob\IMipMessageJob (id: 295961, arguments: null)”,“userAgent”:“–”,“version”:“31.0.5.1”,“exception”:{“Exception”:“Error”,“Message”:“Call to a member function getValue() on null”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/apps/mail/lib/Service/IMipService.php”,“line”:149,“function”:“handleIMipReply”,“class”:“OC\Calendar\Manager”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/mail/lib/BackgroundJob/IMipMessageJob.php”,“line”:29,“function”:“process”,“class”:“OCA\Mail\Service\IMipService”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/public/BackgroundJob/Job.php”,“line”:61,“function”:“run”,“class”:“OCA\Mail\BackgroundJob\IMipMessageJob”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php”,“line”:97,“function”:“start”,“class”:“OCP\BackgroundJob\Job”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/public/BackgroundJob/TimedJob.php”,“line”:84,“function”:“start”,“class”:“OCP\BackgroundJob\TimedJob”,“type”:“->”},{“file”:“/var/www/nextcloud/cron.php”,“line”:170,“function”:“execute”,“class”:“OCP\BackgroundJob\TimedJob”,“type”:“->”}],“File”:“/var/www/nextcloud/lib/private/Calendar/Manager.php”,“Line”:333,“message”:“Error while running background job OCA\Mail\BackgroundJob\IMipMessageJob (id: 295961, arguments: null)”,“exception”:,“CustomMessage”:“Error while running background job OCA\Mail\BackgroundJob\IMipMessageJob (id: 295961, arguments: null)”},“id”:“6832f6081626c”}

System:

System:
Kernel: 6.8.0-58-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 clocksource: tsc
Desktop: Cinnamon v: 6.4.8 tk: GTK v: 3.24.41 wm: Muffin v: 6.4.1 tools: cinnamon-screensaver
vt: 7 dm: LightDM v: 1.30.0 Distro: Linux Mint 22.1 Xia base: Ubuntu 24.04 noble
Machine:
Type: Desktop System: ASUS product: N/A v: N/A serial:
Mobo: ASUSTeK model: TUF GAMING B550-PLUS v: Rev X.0x serial: part-nu: SKU
uuid: UEFI: American Megatrends v: 3621 date: 01/13/2025
CPU:
Info: 6-core model: AMD Ryzen 5 5600G with Radeon Graphics bits: 64 type: MT MCP smt: enabled
arch: Zen 3 rev: 0 cache: L1: 384 KiB L2: 3 MiB L3: 16 MiB
Speed (MHz): avg: 3525 high: 4442 min/max: 400/4464 cores: 1: 4440 2: 3555 3: 3551 4: 3560
5: 3548 6: 4442 7: 4442 8: 3609 9: 3553 10: 3545 11: 400 12: 3665 bogomips: 93423
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Cezanne [Radeon Vega Series / Radeon Mobile Series] vendor: ASUSTeK driver: amdgpu
v: kernel arch: GCN-5 pcie: speed: 8 GT/s lanes: 16 ports: active: DP-1 empty: HDMI-A-1
bus-ID: 08:00.0 chip-ID: 1002:1638 class-ID: 0300 temp: 33.0 C
Display: x11 server: X.Org v: 21.1.11 with: Xwayland v: 23.2.6 driver: X: loaded: amdgpu
unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22") s-diag: 582mm (22.93")
Monitor-1: DP-1 mapped: DisplayPort-0 model: DP1080P60 res: 1920x1080 hz: 60 dpi: 102
size: 480x270mm (18.9x10.63") diag: 595mm (23.4") modes: max: 1920x1080 min: 640x480
API: EGL v: 1.5 hw: drv: amd radeonsi platforms: device: 0 drv: radeonsi device: 1 drv: swrast
gbm: drv: kms_swrast surfaceless: drv: radeonsi x11: drv: radeonsi inactive: wayland
API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 24.2.8-1ubuntu1~24.04.1 glx-v: 1.4
direct-render: yes renderer: AMD Radeon Graphics (radeonsi renoir LLVM 19.1.1 DRM 3.57
6.8.0-58-generic) device-ID: 1002:1638
Audio:
Device-1: AMD Renoir Radeon High Definition Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel
pcie: speed: 8 GT/s lanes: 16 bus-ID: 08:00.1 chip-ID: 1002:1637 class-ID: 0403
Device-2: AMD Family 17h/19h HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
speed: 8 GT/s lanes: 16 bus-ID: 08:00.6 chip-ID: 1022:15e3 class-ID: 0403
API: ALSA v: k6.8.0-58-generic status: kernel-api
Server-1: PipeWire v: 1.0.5 status: active with: 1: pipewire-pulse status: active
2: wireplumber status: active 3: pipewire-alsa type: plugin
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel pcie: speed: 5 GT/s
lanes: 1 port: f000 bus-ID: 06:00.0 chip-ID: 10ec:8125 class-ID: 0200
IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac:
Drives:
Local Storage: total: 17.08 TiB used: 9.21 TiB (53.9%)
ID-1: /dev/nvme0n1 model: NX-1TB 2280 size: 953.87 GiB speed: 31.6 Gb/s lanes: 4 tech: SSD
serial: fw-rev: SN14320 temp: 30.9 C scheme: GPT
ID-2: /dev/nvme1n1 vendor: Samsung model: SSD 980 1TB size: 931.51 GiB speed: 31.6 Gb/s
lanes: 4 tech: SSD serial: fw-rev: 1B4QFXO7 temp: 35.9 C scheme: GPT
ID-3: /dev/sda vendor: Toshiba model: MK7575GSX size: 698.64 GiB speed: 3.0 Gb/s tech: HDD
rpm: 5400 serial: fw-rev: 1A scheme: MBR
ID-4: /dev/sdb vendor: Seagate model: ST8000DM004-2U9188 size: 7.28 TiB speed: 6.0 Gb/s
tech: HDD rpm: 5400 serial: fw-rev: 0001
ID-5: /dev/sdc vendor: Seagate model: ST4000VN008-2DR166 size: 3.64 TiB speed: 6.0 Gb/s
tech: HDD rpm: 5980 serial: fw-rev: SC60 scheme: GPT
ID-6: /dev/sdd vendor: Seagate model: ST4000VN008-2DR166 size: 3.64 TiB speed: 6.0 Gb/s
tech: HDD rpm: 5980 serial: fw-rev: SC60 scheme: GPT
Partition:
ID-1: / size: 914.88 GiB used: 466.99 GiB (51.0%) fs: ext4 dev: /dev/nvme1n1p2
ID-2: /boot/efi size: 974.1 MiB used: 6.1 MiB (0.6%) fs: vfat dev: /dev/nvme1n1p1
Swap:
ID-1: swap-1 type: file size: 2 GiB used: 570.2 MiB (27.8%) priority: -2 file: /swapfile
USB:
Hub-1: 1-0:1 info: hi-speed hub with single TT ports: 10 rev: 2.0 speed: 480 Mb/s lanes: 1
chip-ID: 1d6b:0002 class-ID: 0900
Device-1: 1-6:2 info: ASUSTek AURA LED Controller type: HID driver: hid-generic,usbhid
interfaces: 2 rev: 2.0 speed: 12 Mb/s lanes: 1 power: 16mA chip-ID: 0b05:1939 class-ID: 0300
serial:
Hub-2: 1-7:3 info: Genesys Logic Hub ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1 power: 100mA
chip-ID: 05e3:0608 class-ID: 0900
Hub-3: 2-0:1 info: super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003
class-ID: 0900
Hub-4: 3-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1
chip-ID: 1d6b:0002 class-ID: 0900
Hub-5: 4-0:1 info: super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003
class-ID: 0900
Hub-6: 5-0:1 info: hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s lanes: 1
chip-ID: 1d6b:0002 class-ID: 0900
Hub-7: 6-0:1 info: super-speed hub ports: 2 rev: 3.1 speed: 10 Gb/s lanes: 1 chip-ID: 1d6b:0003
class-ID: 0900
Sensors:
System Temperatures: cpu: 41.8 C mobo: N/A gpu: amdgpu temp: 32.0 C
Fan Speeds (rpm): N/A
Repos:
Packages: pm: dpkg pkgs: 2995
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http: //packages.linuxmint.com xia main upstream import backport
2: deb http: //archive.ubuntu.com/ubuntu noble main restricted universe multiverse
3: deb http: //archive.ubuntu.com/ubuntu noble-updates main restricted universe multiverse
4: deb http: //archive.ubuntu.com/ubuntu noble-backports main restricted universe multiverse
5: deb http: //security.ubuntu.com/ubuntu/ noble-security main restricted universe multiverse
Info:
Memory: total: 64 GiB note: est. available: 62.1 GiB used: 15.57 GiB (25.1%)
Processes: 428 Power: uptime: 35d 13h 26m states: freeze,mem,disk suspend: deep wakeups: 0
hibernate: platform Init: systemd v: 255 target: graphical (5) default: graphical
Compilers: gcc: 13.3.0 alt: 9/11/12 Client: Unknown python3.12 client inxi: 3.3.34

Nextcloud:
{“ocs”:{“meta”:{“status”:“ok”,“statuscode”:200,“message”:“OK”},“data”:{“nextcloud”:{“system”:{“version”:“31.0.5.1”,“theme”:“”,“enable_avatars”:“yes”,“enable_previews”:“yes”,“memcache.local”:“\OC\Memcache\APCu”,“memcache.distributed”:“\OC\Memcache\Redis”,“filelocking.enabled”:“yes”,“memcache.locking”:“\OC\Memcache\Redis”,“debug”:“no”,“freespace”:1179677839360,“cpuload”:[0.3583984375,0.5322265625,0.36962890625],“cpunum”:12,“mem_total”:65111040,“mem_free”:48721920,“swap_total”:2096128,“swap_free”:1512448},“storage”:{“num_users”:12,“num_files”:2962038,“num_storages”:18,“num_storages_local”:1,“num_storages_home”:14,“num_storages_other”:3,“size_appdata_storage”:200487354430,“num_files_appdata”:2468783},“shares”:{“num_shares”:26,“num_shares_user”:20,“num_shares_groups”:0,“num_shares_link”:6,“num_shares_mail”:0,“num_shares_room”:0,“num_shares_link_no_password”:5,“num_fed_shares_sent”:0,“num_fed_shares_received”:0,“permissions_0_1”:12,“permissions_3_17”:4,“permissions_0_31”:5,“permissions_0_23”:1,“permissions_0_17”:2,“permissions_3_21”:1,“permissions_3_31”:1}},“server”:{“webserver”:“Apache/2.4.58 (Ubuntu)”,“php”:{“version”:“8.3.6”,“memory_limit”:21474836480,“max_execution_time”:3600,“upload_max_filesize”:17179869184,“opcache_revalidate_freq”:60,“opcache”:{“opcache_enabled”:true,“cache_full”:false,“restart_pending”:false,“restart_in_progress”:false,“memory_usage”:{“used_memory”:437100552,“free_memory”:1106377520,“wasted_memory”:604005576,“current_wasted_percentage”:28.126201406121254},“interned_strings_usage”:{“buffer_size”:268435456,“used_memory”:78825256,“free_memory”:189610200,“number_of_strings”:178850},“opcache_statistics”:{“num_cached_scripts”:3768,“num_cached_keys”:6581,“max_cached_keys”:32531,“hits”:178801650,“start_time”:1747949692,“last_restart_time”:0,“oom_restarts”:0,“hash_restarts”:0,“manual_restarts”:0,“misses”:175386,“blacklist_misses”:0,“blacklist_miss_ratio”:0,“opcache_hit_rate”:99.90200642276812},“jit”:{“enabled”:true,“on”:true,“kind”:5,“opt_level”:5,“opt_flags”:6,“buffer_size”:16777200,“buffer_free”:15715312}},“apcu”:{“cache”:{“num_slots”:4099,“ttl”:7200,“num_hits”:14021318,“num_misses”:106318,“num_inserts”:120964,“num_entries”:733,“expunges”:0,“start_time”:1747949692,“mem_size”:687296,“memory_type”:“mmap”},“sma”:{“num_seg”:1,“seg_size”:134217608,“avail_mem”:133472192}},“extensions”:[“Core”,“date”,“libxml”,“openssl”,“pcre”,“zlib”,“filter”,“hash”,“json”,“random”,“Reflection”,“SPL”,“session”,“standard”,“sodium”,“cgi-fcgi”,“mysqlnd”,“PDO”,“xml”,“apcu”,“bcmath”,“bz2”,“calendar”,“ctype”,“curl”,“dom”,“mbstring”,“FFI”,“fileinfo”,“ftp”,“gd”,“gettext”,“gmp”,“iconv”,“igbinary”,“imagick”,“imap”,“intl”,“ldap”,“exif”,“mcrypt”,“msgpack”,“mysqli”,“pdo_mysql”,“Phar”,“posix”,“readline”,“redis”,“shmop”,“SimpleXML”,“sockets”,“sysvmsg”,“sysvsem”,“sysvshm”,“tokenizer”,“xmlreader”,“xmlwriter”,“xsl”,“zip”,“memcached”,“Zend OPcache”]},“database”:{“type”:“mysql”,“version”:“8.0.42”,“size”:“4791861248”}},“activeUsers”:{“last5minutes”:5,“last1hour”:5,“last24hours”:7,“last7days”:7,“last1month”:8,“last3months”:9,“last6months”:9,“lastyear”:9}}}}

PHP:

Fixed in upcoming v31.0.6

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.