ILIAS-7-Install-Tutorial for Ubuntu 20.04
Manual Indexing
The following script was written because the lucene-index broke down sometimes. I realy recommend to run this script by cron every day.
nano /opt/scripts/fixlucene
- Copy the following script in
- Change line 2-4 if necessary
chmod +x /opt/scripts/fixlucene
- Start script:
/opt/scripts/fixlucene
- The script runs in the background. Have a look at the cpu load with htop - if it is high, the script is running. After that ILIAS should be able to index itself. It`s just a little start-up aid.
- You can monitor the size of the folder that should increase while indexing:
du -h /opt/iliasdata/lucene/info_8747
1 | #!/bin/bash |
- Open htop
- Press F4
- Type in: lucene
- You should see the process
You can also run this script by cron at midnight or something - I do this in my server. Just add this line in your crontab:
nano /etc/crontab
- Add the follwing 2 lines:
#Fixlucene
30 3 * * * root /opt/scripts/fixlucene