Can’t Print In osTicket On Synology

When using the Print button embedded in a ticket, I receive the following error:

Server error


The website encountered an error while retrieving https://<my server’s path>/tickets.php?id=274&a=print&notes=1. It may be down for maintenance or configured incorrectly.

The root cause was evident when reviewing /var/log/httpd/user-error_log:

FastCGI: server “/php-fpm-handler” stderr: PHP message: PHP Fatal error:  Unsupported operand types in /volume1/web/osticket/upload/include/mpdf/config_fonts.php on line 307, referer: https://<my server’s path>/tickets.php?id=274

The resolution is to enable PHAR

Go to Control Panel > Web Services > PHP Settings > Select PHP extension

Then select “phar” and click ok.


Automatically Emptying Synology Recycle Bins

Options for emptying Shared Folder Recycle Bins on a Synology.

Manually: Control Panel > Shared Folder > Action > Empty all Recycle Bins

Automatically: Control Panel > Task Scheduler > Create > Recycle bin

For the automatic option, be sure to review the “Task Settings” tab for things like “Retention Policy” (allows you to specify deletion of files older than x days)

Synology FTP Client

If you need the ability to upload files from your Synology, there is a simple ftp client built in to DSM 5.0 and higher.

You can find it in the “File Station” application under “Tools” > “Remote Connection”

From there, select “Connection Setup” and select the desired option (ftp in my case).


Enter the info corresponding to the ftp account created for you at the remote ftp server


The ftp location will be added to the file navigation section under “FTP” and will become a valid “Copy to/Move to” option in the right click menu for files displayed in File Station.