After restoring mongodb and mysql in Koa (to see if the restore works ok), everything works ok apart from the forum. The forum works ok but not all topics are shown in it. Someone told me I have to re-index the forum.
How can I re-index the forum, I do not find any instructions?
I tried the next procedure, but this did not fix the problem of some topics not shown in the forum after restore.
Stop forum service.
sudo /edx/bin/supervisorctl stop forum
Login to forum env.
sudo -sHu forum bash
cd ~/cs_comments_service/
source ~/forum_env
Run
bin/rake search:rebuild_index
Start the forum service
sudo /edx/bin/supervisorctl start forum
I am sorry, but it looks like I take too few of â9â!
99999 seconds equals to 27 hours only. You could try to use a bigger number of seconds (for example 31536000 for 1 year).
I still have the same problem. I tried once more to restore the backup of mongodb and mysql by the procedure below, (and also following your instructions about re-indexing the forum) but the forum responses are not restored. It is only the initial forum posts that the admin has done that are restored, not the user responses.
Any help please, what to try?
Restore MySQL:
cd /home/edxuser/backups
sudo tar xvzf openedx-mysql-20210323T122058.tgz
sudo mysql < mysql-data-20210323T122058.sql