On this page
- What do you need for UVdesk?
- How do you install the PHP stack and Composer?
- How do you set up the UVdesk database?
- How do you download UVdesk with Composer?
- How do you serve UVdesk through Nginx with HTTPS?
- How do you finish the setup wizard?
- How do you connect email for tickets and replies?
- How do you maintain and troubleshoot UVdesk?
- Questions
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-imapoffers 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.netwith 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 = 25MApply 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 mariadbCREATE 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/uvdeskComposer 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:
- Database host
localhost, nameuvdesk, user and password from the earlier step. - The super admin name, email and password.
- 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.
- Under Settings, Swift Mailer, add a profile with your relay host, port 587, TLS encryption, username and password.
- Under Settings, Mailbox, add
support@example.netwith 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>&1Send 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 uvdeskKeep 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.
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.
More in Self-hosted apps
- Nextcloud on Nginx
- ownCloud Infinite Scale
- Seafile file sync
- Vaultwarden password vault
- Passbolt team password manager
- Gitea Git hosting
- Forgejo Git server
- GitLab Community Edition
- Gogs Git service
- Wiki.js
- BookStack documentation
- Outline knowledge base
- Paperless-ngx documents
- n8n workflow automation
- Activepieces automation
- Plausible Analytics (Community Edition)
- Umami analytics
- Mattermost team chat
- Matrix Synapse with Element
- Jitsi Meet video calls
- ONLYOFFICE Docs with Nextcloud
- HashiCorp Vault secrets server
- OpenBao secrets management
- Infisical secrets manager
- Authelia SSO and forward auth
- Zitadel identity platform
- VS Code in the browser (code-server)
- Joplin Server for notes sync
- Firefly III personal finance
- Snipe-IT asset tracking
- Odoo ERP on Ubuntu or Debian
- ERPNext with frappe_docker
- Dolibarr ERP and CRM with Nginx
- Penpot design tool with Docker
- Planka kanban boards
- Leantime project management
- Wekan boards with Docker
- Cal.com scheduling
- Chatwoot support inbox
- Mautic marketing automation
- DocuSeal document signing
- Metabase dashboards
- Appwrite backend server
- Self-hosted Supabase
- PocketBase backend
- RustDesk relay server
- Traccar GPS tracking
- Redmine project tracker
- The Lounge IRC client
- CyberChef data toolbox
- Typebot chat forms
- AFFiNE workspace
- Overleaf Community Edition
- Neko shared virtual browser
- imgproxy image resizing
- NetBox network inventory
- YetiForce CRM