Skip to content
This repository was archived by the owner on Sep 6, 2026. It is now read-only.

Reboot PT Server directory structure.

Iain C Docherty edited this page Feb 18, 2016 · 3 revisions

Directory structure on PT server

To support the reboot code, the PT server has had it's data directory reorganised. The server now has the ability to run both the legacy version of TLE and the reboot version.

The URL for the legacy version of TLE is at http://pt.lacunaexpanse.com

The URL for the reboot version is at http://prime.lacunaexpanse.com

The directory structure is as follows.

/data/
  |
  +- Lacuna-Captcha
  |
  +- Lacuna-Server
  |
  +- Lacuna-Server-Open
  |
  +- Lacuna-Server-Private
  |

Lacuna-Server

This directory supports the legacy version of TLE, it is released from the pt branch of the Lacuna-Server-Open repository. (Sorry for the confusion over names, but this will be resolved once the legacy version is turned off)

Lacuna-Server-Open

This directory supports the reboot version of TLE, it is released from the pt-reboot branch of the Lacuna-Server-Open repository. (When the legacy system is turned off, this will be the correct directory name)

Lacuna-Server-Private

This directory just contains confidential information, such as config files, from the pt branch of the Lacuna-Server repository. (When legacy is turned off, this will be renamed Lacuna-Server)

Lacuna-Captcha

This directory is no longer updated from a repository, it just contains the auto-generated captcha files for both the legacy and the reboot servers.

Links between directories.

Some of the directories in the Lacuna-Server-Private directory are symbolic linked to from the other directories. For example the var/www/certs and the etc directory are linked in this way. So in order to change (for example) the etc/lacuna.conf file, since this is a private file that should be kept out of the open-source repository, it needs to be updated in the Lacuna-Server repository and released to PT

The html index files for both the legacy and the reboot versions can be found in the /data/Lacuna-Server-Private/var/www/public directory. These are named index-legacy.html and index-reboot.html respectively. They are symbolic linked from the /data/Lacuna-Server/var/www/public/index.html and /data/Lacuna-Server-Reboot/var/www/public/index.html files respectively.

(the index-reboot.html and index-legacy.html files are automatically updated by the deploy scripts whenever a Lacuna-Web-Client update is performed)

Clone this wiki locally