Download Ticket Service

guys please can you help me

i am using Nethserver 7

i need to install a Download Ticket Server for larger files
dl Website - dl: Download Ticket Service
SME Server Example - DownloadTicketService - SME Server

any help greatly appreciated

EDIT great howto by @mrmarkuz

Hi @huskybob,

I looked at your software and was immediately reminde of a free open source product called Syncthing that looks very similar to yours but actively developed in 2020. Here is a current video demo showing what the product is and how to configure it. This may not be what you need/want and if so I apologize. Have a great rest of your weekend.

EDIT - I read up on what this software does. Syncthing does not automate the ticketing portion that Download Ticket Service does.

1 Like

Hi,

you can do something similar with WebTop Cloud or Nextcloud.

Read here.

Regards…

Uwe

2 Likes

royceb and transocean thank you for your support, much appreciated

the thing is that the " Download Ticket Service " is really great to use for multiple huge files and multiple emails.

you just upload and tell it to send to as many people the email download link and it will delete the file(s) after a while and or password protect the download link.

very handy tool

any ideas?

Download ticket service seems working in a virtualhost in a first test. I followed the README. Here are my installation notes:

Create virtualhost with php73 and adjust the file size to your upload needs:

grafik

Get the webroot path of your virtualhost and replace it with the one I used.

# get unzip and dl
yum -y install unzip
wget https://www.thregr.org/~wavexx/software/dl/releases/dl-0.18.1.zip
unzip dl-0.18.1.zip

# copy files to virtualhost
\cp -r dl-0.18.1/htdocs/* /var/lib/nethserver/vhost/a71a9c18d39eb75/

# install sqlite
cd /var/spool/dl/
sqlite3 data.sdb < /var/lib/nethserver/vhost/a71a9c18d39eb75/include/scripts/db/sqlite.sql
chmod 660 data.sdb

# copy config file
cp /var/lib/nethserver/vhost/a71a9c18d39eb75/include/config.php.dist /etc/dl.php

Edit /etc/dl.php and change masterpath and fromaddress in basic settings.

# create upload dir
mkdir /var/spool/dl
chown apache:apache /var/spool/dl

# restart php73
systemctl restart rh-php73-php-fpm

# create admin user
cd /var/lib/nethserver/vhost/a71a9c18d39eb75/include/scripts/
/opt/rh/rh-php73/root/bin/php useradmin.php add "admin" "true" 'SECRET'

Browse to your virtualhost and login with user admin and password “SECRET”.

2 Likes

mrmarkuz thank you for your help, much appreciated

on my nethserver in " /opt/rh/ " i only have " /opt/rh/rh-php72 "

there is NO " /opt/rh/rh-php73/ "

how do i get the " /opt/rh/rh-php73/ " installed ??

When you select the php-version in "create virtual host " a popup appears to install it, if not already done:

grafik

Hope this helps.

1 Like

flatspin, thank you for your help

this is my settings

still the same

on my nethserver in " /opt/rh/ " i only have " /opt/rh/rh-php72 "

there is still NO " /opt/rh/rh-php73/ "

may i ask what option you are using to create the Virtual Hosts as I do not seem to have the same options??

how do i get the " /opt/rh/rh-php73/ " installed ??

I don’t use the old server manager anymore. My picture is from cockpit.
I’d recomend to use cockpit as server-manager now.

In cockpit go to => applications => webserver settings (blue button on the right) => virtual hosts “create a virtual host” => advanced settings => version of php => select php 7.3 and then install and you’ll get this:

grafik

Voila. :smiley:

1 Like