Install of the latest pawtucket zip with does not start correctly due to an undefined variable.
The usual edits to pawtucket's setup.php are correct. Providence is 2.0.9. Ubuntu is 24.04. PHP is 8.2.31.
Here is what I am seeing in the apache2 log:
From /var/log/apache2/error.log
[Sun Aug 09 14:47:13.454542 2026] [php:error] [pid 5004] [client 127.0.0.1:49858] PHP Fatal error: Un
caught Error: Undefined constant "CA_APP_DIR" in /var/www/html/ca/pawtucket/setup.php:70\nStack tr
ace:\n#0 /var/www/html/ca/pawtucket/index.php(39): require_once()\n#1 {main}\n thrown in /var/www/htm
l/ca/pawtucket/setup.php on line 70
From pawtucket's setup.php-dist lines 69-70 (the only place CA_APP_DIR occurs)
Allow overriding log directory via setup.php
if (!defined("CA_LOG_DIR")) {
define("CA_LOG_DIR", CA_APP_DIR."/log");
I have lost my cheat sheet for installing Pawtucket on Ubuntu, but recall that some permission adjustments were required to let www-data write or execute various items in the pawtucket directory. Perhaps I missed an edit somewhere.