Describe the bug
after setting a value in the "Inactive user retention", the user cleanup does not work. The script libki_nightly.pl reports this error "{UNKNOWN}: Undefined subroutine &main::to_json called at /home/libki/libki-server/script/cronjobs/libki_nightly.pl line 132. at /home/libki/libki-server/script/cronjobs/libki_nightly.pl line 148" The users are not cleaned.
To Reproduce
Steps to reproduce the behavior:
Go to 'http://:3000/administration/settings'
Click on 'Data retention'
Scroll down to 'Inactive user retention' and put 1 or 365 days
execute 'libki_nightly.pl' Script from crontab
see error "{UNKNOWN}: Undefined subroutine &main::to_json called at /home/libki/libki-server/script/cronjobs/libki_nightly.pl line 132. at /home/libki/libki-server/script/cronjobs/libki_nightly.pl line 148"
The expired users are not cleaned. (checked the database)
Deployment architecture:
OS: [Ubuntu 22.04]
Deployment style ( Docker & normal Install from install.sh Script, both installations tested)
Describe the bug after setting a value in the "Inactive user retention", the user cleanup does not work. The script libki_nightly.pl reports this error "{UNKNOWN}: Undefined subroutine &main::to_json called at /home/libki/libki-server/script/cronjobs/libki_nightly.pl line 132. at /home/libki/libki-server/script/cronjobs/libki_nightly.pl line 148" The users are not cleaned.
To Reproduce Steps to reproduce the behavior:
Deployment architecture: