ILIAS-7-Install-Tutorial for Ubuntu 20.04

Complete the move

  • When...
    • bbs-ilias.de runs completely with https and all DNS servers are synced
    • LDAP and other auth methods will work on the new server
    • The users will agree with a downtime from 30-60 minutes
  • you can complete the move

Deactivate the ILIAS clients at the source server

  • This can be done in this file: nano /var/www/html/ilias/data/clientname/client.ini.php -> active = 0
  • Deactivate also the etherpadlite-service on the source server or ad least the subdomain. Thats because its possible that you forget to change the pad URL in ILIAS and in that scenario you would still run the pad with the old server

Run both Sync Scripts

  • At the source server: ./sync_to_new
  • Right after this at the target server: ./dbup

Redirect to the new server

  • Open both vhost confs (80 and 443) at the source server
  • Add for both the line 5 below:
1
2
3
4
5
<VirtualHost 16.bbs-ilias.de:80>
ServerAdmin admin@kivinet.de
ServerName www.bbs-ilias.de
ServerAlias bbs-ilias.de
Redirect / https://bbs-ilias.de/
  • Open both vhost confs (80 and 443) at the target server
  • Remove for both the line 5 below:
1
2
3
4
5
<VirtualHost bbs-ilias.de:80>
ServerAdmin admin@kivinet.de
ServerName www.bbs-ilias.de
ServerAlias bbs-ilias.de
Redirect / https://16.bbs-ilias.de

ILIAS configuration at the target server

  • Enable the clients at the target servers in client.ini.php 
  • Checkout and correct the ILIAS path in /var/www/ilias/ilias.ini.php
  • In ILIAS administration set up the new subdomains for chat and pad
  • Adjust the chat settings in /opt/iliasdata/clientname/chatroom

Check the Mailsystem for errors

  • nano /var/log/mail.log
  • Have a look for entries like this:  No SMTP service 554-Bad DNS PTR resource record
  • That means your Reverse DNS is not set correctly for our domain (bbs-ilias.de). You can aprove this also here: https://www.dnsqueries.com/en/reverse_lookup.php

Move old Subdomains

  • The problem: maybe a user created some bookmarks with 16.bbs-ilias.de, but you want to delete this old server. Than you should create this vhost 16.bbs-ilias.conf on your new server 18 and lead the DNS entry also to it. In the new vhost you redirect to bbs-ilias.de or 18.bbs-ilias.de. The old bookmarks will now work in the future.


No comment has been posted yet.