Skip to content

v2.3.1 - Add database IPs without reinstalling

Choose a tag to compare

@DennisObject DennisObject released this 13 Nov 23:08
5bb5e95

Adding or changing the IP addresses that can reach your database no longer reinstalls the hotel. On a hotel that is already installed, --remote-database now changes only the database access. Your website, emulator and client stay as they are, so your own CMS changes are kept.

Add or change the allowed addresses:

curl -fsSL https://raw.githubusercontent.com/plus-emulator/plusemu-installer/main/install.sh | sudo bash -s -- --remote-database 203.0.113.7

Close the database again:

curl -fsSL https://raw.githubusercontent.com/plus-emulator/plusemu-installer/main/install.sh | sudo bash -s -- --remote-database off
  • Fixed: --remote-database on an installed hotel no longer resets Atom CMS, the client or the emulator. It only updates the firewall rules, the hotel database accounts and the MariaDB listen address, then prints the connection details.
  • MariaDB and the emulator still restart once when the database opens or closes, so players are disconnected for a moment.
  • PLUSEMU_REMOTE_DATABASE still belongs to a full install or rerun. Use --remote-database to change only the database access.
  • A full rerun of the installer still resets the website to stock Atom CMS. Keep your own CMS changes in git, or copy /var/www/hotel/cms before you run it again.