Log inSign up

A self-hosted UVdesk ticket desk

Install Nginx, MariaDB and PHP-FPM with the IMAP and mailparse extensions, create the project with composer create-project uvdesk/community-skeleton, and point Nginx at its public folder. Run the browser wizard to connect the database and create the admin, then add a certificate, an IMAP mailbox for incoming tickets, an SMTP relay for replies and a cron job that polls the mailbox.

Topic: Self-hosted apps · Tested on: Ubuntu 24.04 and 22.04, Debian 12 and 13 · Updated 2026-12-03

What do you need for UVdesk?

UVdesk Community is an open-source help desk built on Symfony. Customers write in through email or a web form, agents answer from a shared ticket list, and a knowledge base answers common questions before a ticket is even created.

  • System: Ubuntu 24.04 (PHP 8.3) or Debian 12 (PHP 8.2). Check the PHP range in the README of the release you install; on Debian 13 with PHP 8.4, confirm that apt policy php-imap offers a package before you start, because IMAP left the PHP core in 8.4.
  • Size: 2 GB of memory is enough for a small team; Composer itself needs memory during installation.
  • Mail: one mailbox such as support@example.net with IMAP access for incoming mail, and SMTP credentials on port 587 for replies.

Point help.example.net at the server (DNS records) and log in as your sudo user.

How do you install the PHP stack and Composer?

All of these packages ship in the distribution archive. The plain php-* names select the default PHP of your release:

sudo apt update
sudo apt install -y nginx mariadb-server composer git unzip \
  php-fpm php-cli php-mysql php-imap php-mailparse php-curl \
  php-mbstring php-xml php-zip php-intl php-gd
php -v
composer --version
ls /run/php/

Note the FPM socket name printed by the last command, for example php8.3-fpm.sock; Nginx needs it later. Raise the PHP memory limit for the web pool so large attachments and the wizard do not fail. Create /etc/php/8.3/fpm/conf.d/90-uvdesk.ini (use your version number):

memory_limit = 512M
upload_max_filesize = 25M
post_max_size = 25M

Apply it with sudo systemctl restart php8.3-fpm. The LEMP stack guide explains these pieces in more depth.

How do you set up the UVdesk database?

Secure MariaDB, then create an empty database and a user limited to it:

sudo mariadb-secure-installation
sudo mariadb
CREATE DATABASE uvdesk CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
CREATE USER 'uvdesk'@'localhost' IDENTIFIED BY 'a-strong-password';
GRANT ALL PRIVILEGES ON uvdesk.* TO 'uvdesk'@'localhost';
FLUSH PRIVILEGES;
EXIT;

MariaDB listens only on localhost by default, which is exactly what UVdesk needs. More on accounts and grants is in MySQL users and privileges.

How do you download UVdesk with Composer?

Create the project as your normal user, then hand the files to the web server account:

sudo mkdir -p /var/www/uvdesk && sudo chown deploy: /var/www/uvdesk
cd /var/www
COMPOSER_MEMORY_LIMIT=-1 composer create-project uvdesk/community-skeleton uvdesk
sudo chown -R www-data:www-data /var/www/uvdesk

Composer resolves the Symfony packages and the UVdesk bundles, which takes a few minutes. If it stops with a missing extension message, install the named php-* package and run the command again. The Composer guide covers its options.

How do you serve UVdesk through Nginx with HTTPS?

The document root is the public folder; every request that is not a real file goes to index.php. Write /etc/nginx/sites-available/uvdesk:

server {
    listen 80;
    listen [::]:80;
    server_name help.example.net;
    root /var/www/uvdesk/public;
    index index.php;
    client_max_body_size 25m;

    location / {
        try_files $uri /index.php$is_args$args;
    }
    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/php8.3-fpm.sock;
    }
    location ~ /\.(?!well-known) {
        deny all;
    }
}
sudo ln -s /etc/nginx/sites-available/uvdesk /etc/nginx/sites-enabled/
sudo nginx -t && sudo systemctl reload nginx
sudo apt install -y certbot python3-certbot-nginx
sudo certbot --nginx -d help.example.net
sudo ufw allow 'Nginx Full'

The last rule opens ports 80 and 443; keep SSH allowed as described in firewall rules.

How do you finish the setup wizard?

Open https://help.example.net. The wizard first checks PHP version, extensions and file permissions; fix anything shown in red and reload. Then it asks for:

  1. Database host localhost, name uvdesk, user and password from the earlier step.
  2. The super admin name, email and password.
  3. URL prefixes for the agent panel and the customer portal. Choose something less predictable than the default for the agent side.

After the wizard writes the configuration and runs the migrations, log in to the agent panel. Confirm the installed version with cd /var/www/uvdesk && sudo -u www-data php bin/console --version, which prints the Symfony kernel version and environment.

How do you connect email for tickets and replies?

Outgoing replies use a Swift Mailer profile; incoming tickets come from a mailbox that UVdesk reads over IMAP.

  1. Under Settings, Swift Mailer, add a profile with your relay host, port 587, TLS encryption, username and password.
  2. Under Settings, Mailbox, add support@example.net with its IMAP server (port 993 with SSL) and select the Swift Mailer profile for replies.

Use an authenticated relay for sending. Outbound port 25 may be closed, so open a support ticket before planning direct delivery from the server; the SMTP relay guide shows the DNS records that keep replies out of spam folders.

Poll the mailbox every few minutes with cron in the web user crontab (sudo crontab -u www-data -e):

*/5 * * * * /usr/bin/php /var/www/uvdesk/bin/console uvdesk:refresh-mailbox support@example.net > /dev/null 2>&1

Send a test message to the support address and watch it appear as a new ticket within five minutes.

How do you maintain and troubleshoot UVdesk?

Back up the database and the project folder together, since attachments live under public:

sudo mariadb-dump uvdesk | gzip > ~/uvdesk-$(date +%F).sql.gz
sudo tar -czf ~/uvdesk-files-$(date +%F).tar.gz -C /var/www uvdesk

Keep the system patched with sudo apt upgrade, and read the project changelog before updating UVdesk with Composer. Common problems:

  • Blank page or error 500: check /var/www/uvdesk/var/log/ and the Nginx error log; usually a missing extension or wrong ownership.
  • Wizard cannot write configuration: rerun sudo chown -R www-data:www-data /var/www/uvdesk.
  • Emails never turn into tickets: run the refresh command by hand as www-data and read its output.
  • Styles missing after an update: clear the cache with sudo -u www-data php bin/console cache:clear.

Plans that fit this guide

Base city prices. Every plan includes a dedicated IPv4 address, IPv6, full root and all 18 images.

All prices
PlanFits becauseSizeMonthlyOrder from
A1-2a small support team1 vCPU, 2 GB RAM, 50 GB NVMe$7.20/mo$43.20 for 6 months
A2-4many mailboxes and attachments2 vCPU, 4 GB RAM, 100 GB NVMe$14.40/mo$43.20 for 3 months

Questions about UVdesk help desk

Can customers open tickets without email?

Yes. The customer portal offers a ticket form and a login area where customers follow their requests and reply in the browser.

Does UVdesk support several brands or mailboxes?

You can add several mailboxes and route each into its own group or team, which works well for separate products or departments.

Is there a Docker option?

The project publishes Docker material, but the Composer install shown here is easier to patch and debug on a single server. Use whichever your team already maintains.

How do I add more agents?

Create agents under Agents in the admin panel, assign them to groups and give them a privilege set that limits what they may change.

Why do replies show the server name as sender?

The Swift Mailer profile or mailbox is not selected for that mailbox. Assign the profile and make sure the relay accepts the From address.