dotProject on AlmaLinux 9 or Rocky Linux 9: Project Status and Installation
dotProject has had no release since 2020. Here is where the project stands and how to install its devel branch on AlmaLinux 9 or Rocky Linux 9.
dotProject is a PHP and MySQL project management application with projects, tasks, Gantt charts, contacts and a file store. This page explains where the project stands today and shows how to install its current development code on AlmaLinux 9, Rocky Linux 9 or CentOS Stream 9 if you still want to run it. CentOS 7 reached end of life on 30 June 2024, and the PHP 5.4 that tutorials for that release relied on is long unsupported.
Project status
Check these facts before you commit new data to dotProject:
- The last tagged release is 2.2.0. The
masterbranch of the official GitHub repository was last updated for that release on 12 March 2020. - Later fixes exist only on the
develbranch, whose most recent commits date from November 2024. The repository is not archived, but there has been no release since 2020. - The project publishes no statement about PHP 8 support. In the issue tracker, users report that the development code runs on PHP 8.0 and 8.2 in light use, while others report broken Gantt charts and SQL errors. A 2023 issue asking who maintains the code has had no answer from the maintainers.
- The Docker files in the repository are built on PHP 7.4 and an end-of-life Debian base, and an open issue reports that the build no longer works.
In short, dotProject is dormant rather than formally discontinued. It is reasonable for keeping an existing installation alive or for an internal tool behind a VPN. For a new deployment, choose an actively released project management tool such as OpenProject, Redmine or Taiga.
Requirements
- AlmaLinux 9, Rocky Linux 9 or CentOS Stream 9 with a
sudouser. - The distribution's own Apache, MariaDB and PHP 8.0 packages. dotProject's installer checks for the GD, XML and MySQL extensions, file uploads and a writable session directory.
Step 1: Install Apache, MariaDB and PHP
sudo dnf -y install httpd mariadb-server php php-mysqlnd php-gd php-xml php-mbstring git policycoreutils-python-utils
sudo systemctl enable --now httpd php-fpm mariadb
Open the web port in the firewall:
sudo firewall-cmd --permanent --add-service=http
sudo firewall-cmd --reload
Step 2: Create the database
Open a MariaDB session as root:
sudo mysql
Create a database and an account for dotProject. Replace the password with your own:
CREATE DATABASE dotproject;
CREATE USER 'dotproject'@'localhost' IDENTIFIED BY 'choose-a-long-password';
GRANT ALL PRIVILEGES ON dotproject.* TO 'dotproject'@'localhost';
exit
Step 3: Download dotProject
The project's README says that master tracks the 2020 release and that all later fixes are on devel. On PHP 8 use devel:
sudo git clone --branch devel https://github.com/dotproject/dotproject.git /var/www/html/dotproject
The installer needs to write the configuration file into includes, and the application writes to files, files/temp and locales/en. Give the web server ownership of those directories and label them as writable for SELinux:
cd /var/www/html/dotproject
sudo mkdir -p files/temp
sudo chown -R apache:apache includes files locales/en
sudo semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html/dotproject/(includes|files|locales/en)(/.*)?"
sudo restorecon -R /var/www/html/dotproject
Step 4: Run the web installer
Open http://203.0.113.10/dotproject/install/ in a browser, replacing the address with your server's. The first screen lists the requirement checks; every item should be marked as passed before you continue. On the database screen enter:
- Database server type: MySQL
- Host:
localhost - Database name and user:
dotproject - Password: the one you created in step 2
Choose the recommended button that sets up the database and writes the configuration file in one go. When it finishes, log in with the default account, user admin and password passwd, and change that password immediately under the user administration.
Step 5: Lock the installation down
Remove the installer and take write access to the code directory away from the web server again; only the upload and language directories need it:
cd /var/www/html/dotproject
sudo rm -rf install
sudo chown -R root:root includes
sudo semanage fcontext -d "/var/www/html/dotproject/(includes|files|locales/en)(/.*)?"
sudo semanage fcontext -a -t httpd_sys_rw_content_t "/var/www/html/dotproject/(files|locales/en)(/.*)?"
sudo restorecon -R /var/www/html/dotproject
Because the code no longer receives regular security fixes, do not leave it open to the whole internet. Restrict access to your office addresses or a VPN in the Apache configuration, and serve it over HTTPS.
Frequently asked questions
Is dotProject dead?
Not officially: the repository is open and accepted merges as late as November 2024. But there has been no release since version 2.2.0 in March 2020 and no maintainer statement about current PHP versions, so treat it as unmaintained when you assess risk.
Which PHP version should I use?
There is no supported answer. PHP 8.0, the default in the RHEL 9 family, is the version user reports in the issue tracker are most positive about. Expect warnings and test the modules you depend on, the Gantt charts in particular, before you rely on them.
Can I move an existing dotProject database to a new server?
Yes. Dump the old database with mysqldump, import it into the new MariaDB server, copy the files directory and the old includes/config.php, and adjust the database credentials and base URL in that file. Then open the installer: it detects an existing installation and offers to upgrade the schema instead of creating a new one. Keep the dump until you have checked the result.