Aufgabe #1386
geschlossenAufgabe #1375: Erweiterung vom Webshop für den Verkauf von Eintrittskarten
Erstellung einer Instanz pretix zur Evaluation der Anwendung
Von PaulRiegel vor etwa 2 Jahren hinzugefügt. Vor etwa 2 Jahren aktualisiert.
0%
Beschreibung
https://pretix.eu/
https://docs.pretix.eu/en/latest/admin/installation/manual_smallscale.html
Sollte - wie in der Anleitung von pretix beschrieben - bei Debian ersatzweise für den Dienst Firewall UFW (statt nftables?) installiert werden?
Untergeordnete Tickets
Von PaulRiegel vor etwa 2 Jahren aktualisiert
- Zugewiesen an wurde von Bereich Administration Rechentechnik zu PaulRiegel geändert
Von PaulRiegel vor etwa 2 Jahren aktualisiert
Container¶
- Host fürs Testen (ZFS)
- PVE 7.2.11
- Debian 11
features: nesting=1
ostype: debian
unprivileged: 1
Vorbereitung¶
apt update && apt -y upgrade && apt -y autoremove
Umgebung¶
https://docs.pretix.eu/en/latest/admin/installation/manual_smallscale.html#requirements
Dienst Postausgang
Dienst für das Versenden von Mails¶
systemctl status postfix
Dienst Webserver¶
Wir bevorzugen nginx, vor Apache.
Installieren vom Paket für nginx
https://packages.debian.org/bullseye/all/nginxapt -y install nginx
systemctl status nginx
wget localhost
Resolving localhost (localhost)... ::1, 127.0.0.1 Connecting to localhost (localhost)|::1|:80... connected. HTTP request sent, awaiting response... 200 OK
nano /etc/nginx/sites-enabled/default
# server_name _; server_name test.pretix.htw.stura-dresden.de;
Installieren vom Paket für die Erweiterung bei Certbot für nginx und damit auch das Paket für Certbot
https://packages.debian.org/bullseye/all/python3-certbot-nginx
https://packages.debian.org/bullseye/all/certbotapt -y install python3-certbot-nginx
Created symlink /etc/systemd/system/timers.target.wants/certbot.timer -> /lib/systemd/system/certbot.timer.
certbot
Saving debug log to /var/log/letsencrypt/letsencrypt.log Plugins selected: Authenticator nginx, Installer nginx Enter email address (used for urgent renewal and security notices) (Enter 'c' to cancel): cert@stura.htw-dresden.de
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Please read the Terms of Service at https://letsencrypt.org/documents/LE-SA-v1.3-September-21-2022.pdf. You must agree in order to register with the ACME server. Do you agree? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (Y)es/(N)o: Y
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Would you be willing, once your first certificate is successfully issued, to share your email address with the Electronic Frontier Foundation, a founding partner of the Let's Encrypt project and the non-profit organization that develops Certbot? We'd like to send you email about our work encrypting the web, EFF news, campaigns, and ways to support digital freedom. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - (Y)es/(N)o: N
Account registered. Which names would you like to activate HTTPS for? - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 1: test.pretix.htw.stura-dresden.de - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Select the appropriate numbers separated by commas and/or spaces, or leave input blank to select all options shown (Enter 'c' to cancel):
Requesting a certificate for test.pretix.htw.stura-dresden.de Performing the following challenges: http-01 challenge for test.pretix.htw.stura-dresden.de Waiting for verification... Cleaning up challenges Deploying Certificate to VirtualHost /etc/nginx/sites-enabled/default Redirecting all traffic on port 80 to ssl in /etc/nginx/sites-enabled/default - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Congratulations! You have successfully enabled https://test.pretix.htw.stura-dresden.de - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
wget localhost
Resolving localhost (localhost)... ::1, 127.0.0.1 Connecting to localhost (localhost)|::1|:80... connected. HTTP request sent, awaiting response... 404 Not Found
FIXME (so soll das aber nicht, oder?)
wget https://localhost
Resolving localhost (localhost)... ::1, 127.0.0.1 Connecting to localhost (localhost)|::1|:443... connected. The certificate's owner does not match hostname 'localhost'
wget --no-check-certificate https://localhost
Resolving localhost (localhost)... ::1, 127.0.0.1 Connecting to localhost (localhost)|::1|:443... connected. The certificate's owner does not match hostname 'localhost' HTTP request sent, awaiting response... 200 OK
Dienst Datenbank SQL¶
Wir bevorzugen PostgreSQL, vor MariaDB, vor MySQL.
Installieren vom Paket für PostgreSQL, samt den ergänzenden Paket für weitere Möglichkeiten bei PostgreSQL
https://packages.debian.org/bullseye/all/postgresql
https://packages.debian.org/bullseye/all/postgresql-contribapt -y install postgresql postgresql-contrib
systemctl status postgresql
su postgres
Wechsel in den Ordner vom Konto postgrescd
psql
psql (13.8 (Debian 13.8-0+deb11u1)) Type "help" for help. postgres=#
postgres=# exit
exit
Dienst Datenbank Cache¶
Installieren vom Paket für Redis
https://packages.debian.org/bullseye/all/redisapt -y install redis
Programmiersprache JavaScript¶
Installieren vom Paket für Node.js
https://packages.debian.org/bullseye/all/nodejsapt -y install nodejs
node --version
v12.22.12
PAUSE
Einrichtung¶
Erstellen eines Kontos für die Anwendung
https://docs.pretix.eu/en/latest/admin/installation/manual_smallscale.html#unix-user¶
adduser pretix --disabled-password --home /var/pretix
Adding user `pretix' ... Adding new group `pretix' (1000) ... Adding new user `pretix' (1000) with group `pretix' ... Creating home directory `/var/pretix' ... Copying files from `/etc/skel' ... Changing the user information for pretix Enter the new value, or press ENTER for the default Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n]
(später vielleicht lieber nur)
adduser pretix --disabled-password --home /var/pretix --system
(doch nicht, denn so wird keine zum konto passende gruppe erstellt; später wird aber an die gruppe "gechownt")
Erstellen einer Datenbank für die Anwendung
https://docs.pretix.eu/en/latest/admin/installation/manual_smallscale.html#database¶
su postgres
Wechsel in den Ordner vom Konto postgrescd
Zeigen der aktuellen Einstellung für das Encoding bei PostreSQLpsql -c 'SHOW SERVER_ENCODING'
server_encoding ----------------- SQL_ASCII (1 row)
Die Anleitung der Anwendung pretix emphielt aber die Verwendung von UTF8.
FIXME be
vielleicht (vor der Installation vom Paket für PostgreSQL)localedef -f UTF-8 -i en_US en_US.UTF-8
FIXME en
su postgres
locale
LANG=C LANGUAGE= LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL=
exit
dpkg-reconfigure locales
Package configuration ┌─────────────────────────────────────────────┤ Configuring locales ├─────────────────────────────────────────────┐ │ Locales are a framework to switch between multiple languages and allow users to use their language, country, │ │ characters, collation order, etc. │ │ │ │ Please choose which locales to generate. UTF-8 locales should be chosen by default, particularly for new │ │ installations. Other character sets may be useful for backwards compatibility with older systems and software. │ │ │ │ Locales to be generated: │ │ │ │ [ ] en_SC.UTF-8 UTF-8 - │ │ [ ] en_SG ISO-8859-1 ▒ │ │ [ ] en_SG.UTF-8 UTF-8 0 │ │ [ ] en_US ISO-8859-1 ▒ │ │ [ ] en_US.ISO-8859-15 ISO-8859-15 ▒ │ │ [*] en_US.UTF-8 UTF-8 ▒ │ │ [ ] en_ZA ISO-8859-1 . │ │ │ │ │ │ <Ok> <Cancel> │ │ │ └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
en_US.UTF-8 UTF-8
┌────────────────────────────────────────────┤ Configuring locales ├─────────────────────────────────────────────┐ │ Many packages in Debian use locales to display text in the correct language for the user. You can choose a │ │ default locale for the system from the generated locales. │ │ │ │ This will select the default language for the entire system. If this system is a multi-user system where not │ │ all users are able to speak the default language, they will experience difficulties. │ │ │ │ Default locale for the system environment: │ │ │ │ None │ │ C.UTF-8 │ │ en_US.UTF-8 │ │ │ │ │ │ <Ok> <Cancel> │ │ │ └────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
C.UTF-8
Generating locales (this might take a while)... en_US.UTF-8... done Generation complete.
su postgres
locale
locale LANG=C.UTF-8 LANGUAGE= LC_CTYPE="C.UTF-8" LC_NUMERIC="C.UTF-8" LC_TIME="C.UTF-8" LC_COLLATE="C.UTF-8" LC_MONETARY="C.UTF-8" LC_MESSAGES="C.UTF-8" LC_PAPER="C.UTF-8" LC_NAME="C.UTF-8" LC_ADDRESS="C.UTF-8" LC_TELEPHONE="C.UTF-8" LC_MEASUREMENT="C.UTF-8" LC_IDENTIFICATION="C.UTF-8" LC_ALL=
exit
apt -y purge postgresql postgresql-13
Package configuration ┌──────────────────────────────────────────┤ Configuring postgresql-13 ├──────────────────────────────────────────┐ │ │ │ Removing the PostgreSQL server package will leave existing database clusters intact, i.e. their configuration, │ │ data, and log directories will not be removed. On purging the package, the directories can optionally be │ │ removed. │ │ │ │ Remove PostgreSQL directories when package is purged? │ │ │ │ <Yes> <No> │ │ │ └─────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
<Yes>
Dropping cluster main...
vielleichtapt -y autoremove
apt -y install postgresql postgresql-common
su postgres
cd
psql -c 'SHOW SERVER_ENCODING'
server_encoding ----------------- UTF8 (1 row)
exit
su postgres
cd
createuser pretix
createdb -O pretix pretix
exit
Installation von benötigten Paketen für die Anwendung¶
apt -y install git build-essential
apt -y install python-dev python3-venv python3 python3-pip python3-dev
das führt (wegen python-dev) zur installation von (noch) python2? really?
apt -y install libxml2-dev libxslt1-dev libffi-dev zlib1g-dev libssl-dev gettext libpq-dev libmariadb-dev libjpeg-dev libopenjp2-7
Von PaulRiegel vor etwa 2 Jahren aktualisiert
irgendwas passt noch nicht ganz. (vermutlich handelt es sich um ein allgemeines problem von debian 11 als lxc bei pve.)
systemctl list-units --failed
UNIT LOAD ACTIVE SUB DESCRIPTION ● sys-kernel-config.mount loaded failed failed Kernel Configuration File System ● systemd-journald-audit.socket loaded failed failed Journal Audit Socket LOAD = Reflects whether the unit definition was properly loaded. ACTIVE = The high-level unit activation state, i.e. generalization of SUB. SUB = The low-level unit activation state, values depend on unit type. 2 loaded units listed.
Von PaulRiegel vor etwa 2 Jahren aktualisiert
mkdir /etc/pretix
touch /etc/pretix/pretix.cfg
chown -R pretix:pretix /etc/pretix/
chmod 0600 /etc/pretix/pretix.cfg
(falls mal zwischenrein das Konto neu erstellt werden musste)chown -R pretix:pretix /var/pretix/
nano /etc/pretix/pretix.cfg
[pretix] #instance_name=My pretix installation instance_name=Tix StuRa HTW Dresden #url=https://pretix.mydomain.com url=https://test.pretix.htw.stura-dresden.de currency=EUR datadir=/var/pretix/data trust_x_forwarded_for=on trust_x_forwarded_proto=on [database] backend=postgresql name=pretix user=pretix #password= host= [mail] #from=tickets@yourdomain.com from=tix@stura.htw-dresden.de host=127.0.0.1 [redis] location=redis://127.0.0.1/0 sessions=true [celery] backend=redis://127.0.0.1/1 broker=redis://127.0.0.1/2
su pretix
cd
python3 -m venv /var/pretix/venv
source /var/pretix/venv/bin/activate
(venv) pip3 install -U pip setuptools wheel
Requirement already satisfied: pip in ./venv/lib/python3.9/site-packages (20.3.4) Collecting pip Downloading pip-22.2.2-py3-none-any.whl (2.0 MB) |████████████████████████████████| 2.0 MB 2.8 MB/s Requirement already satisfied: setuptools in ./venv/lib/python3.9/site-packages (44.1.1) Collecting setuptools Downloading setuptools-65.4.1-py3-none-any.whl (1.2 MB) |████████████████████████████████| 1.2 MB 51.4 MB/s Collecting wheel Downloading wheel-0.37.1-py2.py3-none-any.whl (35 kB) Installing collected packages: wheel, setuptools, pip Attempting uninstall: setuptools Found existing installation: setuptools 44.1.1 Uninstalling setuptools-44.1.1: Successfully uninstalled setuptools-44.1.1 Attempting uninstall: pip Found existing installation: pip 20.3.4 Uninstalling pip-20.3.4: Successfully uninstalled pip-20.3.4 Successfully installed pip-22.2.2 setuptools-65.4.1 wheel-0.37.1
(venv) pip3 install pretix gunicorn
Collecting pretix Downloading pretix-4.13.1-py3-none-any.whl (32.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 32.9/32.9 MB 15.4 MB/s eta 0:00:00 Collecting gunicorn Downloading gunicorn-20.1.0-py3-none-any.whl (79 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 79.5/79.5 kB 4.5 MB/s eta 0:00:00 Collecting django-mysql Downloading django_mysql-4.7.1-py3-none-any.whl (55 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 55.5/55.5 kB 632.1 kB/s eta 0:00:00 Collecting Django==3.2.* Downloading Django-3.2.16-py3-none-any.whl (7.9 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.9/7.9 MB 32.2 MB/s eta 0:00:00 Collecting django-compressor==3.1.* Downloading django_compressor-3.1-py2.py3-none-any.whl (149 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 149.2/149.2 kB 5.4 MB/s eta 0:00:00 Collecting babel Downloading Babel-2.10.3-py3-none-any.whl (9.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.5/9.5 MB 34.7 MB/s eta 0:00:00 Collecting drf-ujson2==1.6.* Downloading drf_ujson2-1.6.1-py3-none-any.whl (4.9 kB) Collecting pycryptodome==3.15.* Downloading pycryptodome-3.15.0-cp35-abi3-manylinux2010_x86_64.whl (2.3 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.3/2.3 MB 17.9 MB/s eta 0:00:00 Collecting django-scopes==1.2.* Downloading django_scopes-1.2.0.post1-py3-none-any.whl (16 kB) Collecting celery==4.4.* Downloading celery-4.4.7-py2.py3-none-any.whl (427 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 427.6/427.6 kB 6.4 MB/s eta 0:00:00 Collecting python-bidi==0.4.* Downloading python_bidi-0.4.2-py2.py3-none-any.whl (30 kB) Collecting psycopg2-binary Downloading psycopg2_binary-2.9.4-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (3.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.0/3.0 MB 18.4 MB/s eta 0:00:00 Collecting django-hijack==3.1.* Downloading django_hijack-3.1.6-py3-none-any.whl (36 kB) Collecting BeautifulSoup4==4.11.* Downloading beautifulsoup4-4.11.1-py3-none-any.whl (128 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 128.2/128.2 kB 1.9 MB/s eta 0:00:00 Collecting kombu==4.6.* Downloading kombu-4.6.11-py2.py3-none-any.whl (184 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 184.4/184.4 kB 5.6 MB/s eta 0:00:00 Collecting python-u2flib-server==4.* Downloading python-u2flib-server-4.0.1.tar.gz (35 kB) Preparing metadata (setup.py) ... done Collecting protobuf==3.19.* Downloading protobuf-3.19.6-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.1/1.1 MB 12.2 MB/s eta 0:00:00 Collecting stripe==2.66.* Downloading stripe-2.66.0-py2.py3-none-any.whl (212 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 212.2/212.2 kB 3.5 MB/s eta 0:00:00 Collecting defusedcsv>=1.1.0 Downloading defusedcsv-2.0.0-py3-none-any.whl (7.8 kB) Collecting arabic-reshaper==2.1.3 Downloading arabic_reshaper-2.1.3-py3-none-any.whl (20 kB) Collecting chardet==5.0.* Downloading chardet-5.0.0-py3-none-any.whl (193 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 193.6/193.6 kB 3.2 MB/s eta 0:00:00 Collecting django-phonenumber-field==7.0.* Downloading django_phonenumber_field-7.0.0-py3-none-any.whl (65 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 65.7/65.7 kB 883.3 kB/s eta 0:00:00 Collecting paypalrestsdk==1.13.* Downloading paypalrestsdk-1.13.1.tar.gz (19 kB) Preparing metadata (setup.py) ... done Collecting django-formset-js-improved==0.5.0.2 Downloading django-formset-js-improved-0.5.0.2.tar.gz (13 kB) Preparing metadata (setup.py) ... done Collecting mt-940==4.23.* Downloading mt_940-4.23.0-py2.py3-none-any.whl (283 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 283.2/283.2 kB 5.1 MB/s eta 0:00:00 Collecting cryptography>=3.4.2 Downloading cryptography-38.0.1-cp36-abi3-manylinux_2_28_x86_64.whl (4.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.2/4.2 MB 24.7 MB/s eta 0:00:00 Collecting dj-static Downloading dj-static-0.0.6.tar.gz (3.4 kB) Preparing metadata (setup.py) ... done Collecting oauthlib==3.2.* Downloading oauthlib-3.2.1-py3-none-any.whl (151 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 151.7/151.7 kB 2.2 MB/s eta 0:00:00 Collecting tlds>=2020041600 Downloading tlds-2022070701-py2.py3-none-any.whl (8.2 kB) Collecting django-countries==7.3.* Downloading django_countries-7.3.2-py3-none-any.whl (839 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 839.6/839.6 kB 10.9 MB/s eta 0:00:00 Collecting django-statici18n==2.2.* Downloading django_statici18n-2.2.0-py2.py3-none-any.whl (9.2 kB) Collecting text-unidecode==1.* Downloading text_unidecode-1.3-py2.py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.2/78.2 kB 1.1 MB/s eta 0:00:00 Collecting django-oauth-toolkit==1.2.* Downloading django_oauth_toolkit-1.2.0-py2.py3-none-any.whl (46 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.9/46.9 kB 662.3 kB/s eta 0:00:00 Collecting pycountry Downloading pycountry-22.3.5.tar.gz (10.1 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 10.1/10.1 MB 36.2 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... done Collecting pytz Downloading pytz-2022.4-py2.py3-none-any.whl (500 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 500.8/500.8 kB 7.2 MB/s eta 0:00:00 Collecting libsass==0.21.* Downloading libsass-0.21.0-cp36-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl (9.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 9.4/9.4 MB 34.8 MB/s eta 0:00:00 Collecting django-filter==21.1 Downloading django_filter-21.1-py3-none-any.whl (81 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 81.4/81.4 kB 1.4 MB/s eta 0:00:00 Collecting lxml Downloading lxml-4.9.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (7.0 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 7.0/7.0 MB 32.5 MB/s eta 0:00:00 Collecting css-inline==0.7.* Downloading css_inline-0.7.8-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.4 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 6.4/6.4 MB 25.2 MB/s eta 0:00:00 Collecting sepaxml==2.4.*,>=2.4.1 Downloading sepaxml-2.4.1-py3-none-any.whl (30 kB) Collecting django-hierarkey==1.1.* Downloading django_hierarkey-1.1.0-py3-none-any.whl (12 kB) Collecting redis==4.3.* Downloading redis-4.3.4-py3-none-any.whl (246 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 246.2/246.2 kB 3.8 MB/s eta 0:00:00 Collecting static3==0.7.* Downloading static3-0.7.0.tar.gz (24 kB) Preparing metadata (setup.py) ... done Collecting tqdm==4.* Downloading tqdm-4.64.1-py2.py3-none-any.whl (78 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 78.5/78.5 kB 1.4 MB/s eta 0:00:00 Collecting paypal-checkout-serversdk==1.0.* Downloading paypal-checkout-serversdk-1.0.1.tar.gz (90 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 90.0/90.0 kB 1.4 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting vobject==0.9.* Downloading vobject-0.9.6.1.tar.gz (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.6/58.6 kB 835.2 kB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting zeep==4.1.* Downloading zeep-4.1.0-py2.py3-none-any.whl (100 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100.6/100.6 kB 1.4 MB/s eta 0:00:00 Collecting jsonschema Downloading jsonschema-4.16.0-py3-none-any.whl (83 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 83.1/83.1 kB 1.2 MB/s eta 0:00:00 Collecting PyJWT==2.4.* Downloading PyJWT-2.4.0-py3-none-any.whl (18 kB) Collecting vat-moss-forked==2020.3.20.0.11.0 Downloading vat_moss_forked-2020.3.20.0.11.0-py3-none-any.whl (23 kB) Collecting reportlab==3.6.* Downloading reportlab-3.6.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 22.6 MB/s eta 0:00:00 Collecting pyuca Downloading pyuca-1.2-py2.py3-none-any.whl (1.5 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.5/1.5 MB 19.1 MB/s eta 0:00:00 Collecting webauthn==0.4.* Downloading webauthn-0.4.7-py2.py3-none-any.whl (18 kB) Collecting phonenumberslite==8.12.* Downloading phonenumberslite-8.12.56-py2.py3-none-any.whl (468 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 468.4/468.4 kB 6.1 MB/s eta 0:00:00 Collecting django-markup Downloading django_markup-1.6-py2.py3-none-any.whl (17 kB) Collecting django-redis==5.0.* Downloading django_redis-5.0.0-py3-none-any.whl (29 kB) Collecting pycparser==2.21 Downloading pycparser-2.21-py2.py3-none-any.whl (118 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 118.7/118.7 kB 1.5 MB/s eta 0:00:00 Collecting packaging Downloading packaging-21.3-py3-none-any.whl (40 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 40.8/40.8 kB 469.3 kB/s eta 0:00:00 Collecting bleach==5.0.* Downloading bleach-5.0.1-py3-none-any.whl (160 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.9/160.9 kB 2.4 MB/s eta 0:00:00 Collecting djangorestframework==3.13.* Downloading djangorestframework-3.13.1-py3-none-any.whl (958 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 958.3/958.3 kB 12.6 MB/s eta 0:00:00 Collecting django-formtools==2.3 Downloading django_formtools-2.3-py3-none-any.whl (148 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 148.9/148.9 kB 2.2 MB/s eta 0:00:00 Collecting markdown==3.3.4 Downloading Markdown-3.3.4-py3-none-any.whl (97 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.6/97.6 kB 1.4 MB/s eta 0:00:00 Collecting dnspython<2.0 Downloading dnspython-1.16.0-py2.py3-none-any.whl (188 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 188.4/188.4 kB 2.7 MB/s eta 0:00:00 Collecting openpyxl==3.0.* Downloading openpyxl-3.0.10-py2.py3-none-any.whl (242 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 242.1/242.1 kB 4.0 MB/s eta 0:00:00 Collecting python-dateutil==2.8.* Downloading python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 247.7/247.7 kB 3.7 MB/s eta 0:00:00 Collecting django-bootstrap3==22.1.* Downloading django_bootstrap3-22.1-py3-none-any.whl (213 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 213.1/213.1 kB 3.3 MB/s eta 0:00:00 Collecting requests==2.28.* Downloading requests-2.28.1-py3-none-any.whl (62 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 1.0 MB/s eta 0:00:00 Collecting sentry-sdk==1.8.* Downloading sentry_sdk-1.8.0-py2.py3-none-any.whl (153 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 153.5/153.5 kB 2.7 MB/s eta 0:00:00 Collecting django-otp==1.1.* Downloading django_otp-1.1.3-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.4/61.4 kB 1.1 MB/s eta 0:00:00 Collecting isoweek Downloading isoweek-1.3.3-py2.py3-none-any.whl (7.1 kB) Collecting Pillow==9.2.* Downloading Pillow-9.2.0-cp39-cp39-manylinux_2_28_x86_64.whl (3.2 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.2/3.2 MB 20.5 MB/s eta 0:00:00 Collecting django-localflavor==3.1 Downloading django_localflavor-3.1-py3-none-any.whl (2.8 MB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 2.8/2.8 MB 21.1 MB/s eta 0:00:00 Collecting slimit Downloading slimit-0.8.1.zip (88 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 88.2/88.2 kB 1.3 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting django-libsass==0.9 Downloading django_libsass-0.9-py3-none-any.whl (6.6 kB) Collecting django-i18nfield==1.9.*,>=1.9.4 Downloading django_i18nfield-1.9.4-py3-none-any.whl (14 kB) Collecting PyPDF2==2.9.* Downloading PyPDF2-2.9.0-py3-none-any.whl (207 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 207.6/207.6 kB 3.8 MB/s eta 0:00:00 Collecting future Downloading future-0.18.2.tar.gz (829 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 829.2/829.2 kB 11.4 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Requirement already satisfied: setuptools in ./venv/lib/python3.9/site-packages (from arabic-reshaper==2.1.3->pretix) (65.4.1) Collecting soupsieve>1.2 Downloading soupsieve-2.3.2.post1-py3-none-any.whl (37 kB) Collecting webencodings Downloading webencodings-0.5.1-py2.py3-none-any.whl (11 kB) Collecting six>=1.9.0 Downloading six-1.16.0-py2.py3-none-any.whl (11 kB) Collecting vine==1.3.0 Downloading vine-1.3.0-py2.py3-none-any.whl (14 kB) Collecting billiard<4.0,>=3.6.3.0 Downloading billiard-3.6.4.0-py3-none-any.whl (89 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 89.5/89.5 kB 1.5 MB/s eta 0:00:00 Collecting asgiref<4,>=3.3.2 Downloading asgiref-3.5.2-py3-none-any.whl (22 kB) Collecting sqlparse>=0.2.2 Downloading sqlparse-0.4.3-py3-none-any.whl (42 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.8/42.8 kB 1.8 MB/s eta 0:00:00 Collecting rcssmin==1.1.0 Downloading rcssmin-1.1.0-cp39-cp39-manylinux1_x86_64.whl (43 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.4/43.4 kB 605.4 kB/s eta 0:00:00 Collecting rjsmin==1.2.0 Downloading rjsmin-1.2.0-cp39-cp39-manylinux2014_x86_64.whl (47 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 47.5/47.5 kB 602.8 kB/s eta 0:00:00 Collecting django-appconf>=1.0.3 Downloading django_appconf-1.0.5-py3-none-any.whl (6.4 kB) Collecting typing-extensions Downloading typing_extensions-4.4.0-py3-none-any.whl (26 kB) Collecting django-jquery-js Downloading django-jquery-js-3.1.1.tar.gz (111 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 111.9/111.9 kB 2.1 MB/s eta 0:00:00 Preparing metadata (setup.py) ... done Collecting python-stdnum>=1.6 Downloading python_stdnum-1.17-py2.py3-none-any.whl (943 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 943.4/943.4 kB 13.8 MB/s eta 0:00:00 Collecting ujson>=2.0.1 Downloading ujson-5.5.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (46 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 46.1/46.1 kB 700.8 kB/s eta 0:00:00 Collecting amqp<2.7,>=2.6.0 Downloading amqp-2.6.1-py2.py3-none-any.whl (48 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 48.0/48.0 kB 2.6 MB/s eta 0:00:00 Collecting et-xmlfile Downloading et_xmlfile-1.1.0-py3-none-any.whl (4.7 kB) Collecting paypalhttp Downloading paypalhttp-1.0.1-py3-none-any.whl (9.5 kB) Collecting pyopenssl>=0.15 Downloading pyOpenSSL-22.1.0-py3-none-any.whl (57 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 57.0/57.0 kB 1.6 MB/s eta 0:00:00 Collecting async-timeout>=4.0.2 Downloading async_timeout-4.0.2-py3-none-any.whl (5.8 kB) Collecting deprecated>=1.2.3 Downloading Deprecated-1.2.13-py2.py3-none-any.whl (9.6 kB) Collecting certifi>=2017.4.17 Downloading certifi-2022.9.24-py3-none-any.whl (161 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 161.1/161.1 kB 1.5 MB/s eta 0:00:00 Collecting idna<4,>=2.5 Downloading idna-3.4-py3-none-any.whl (61 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 61.5/61.5 kB 3.0 MB/s eta 0:00:00 Collecting urllib3<1.27,>=1.21.1 Downloading urllib3-1.26.12-py2.py3-none-any.whl (140 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 140.4/140.4 kB 2.2 MB/s eta 0:00:00 Collecting charset-normalizer<3,>=2 Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) Collecting xmlschema Downloading xmlschema-2.1.1-py3-none-any.whl (354 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 354.3/354.3 kB 5.8 MB/s eta 0:00:00 Collecting cbor2>=4.0.1 Downloading cbor2-5.4.3-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (222 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 222.6/222.6 kB 3.4 MB/s eta 0:00:00 Collecting platformdirs>=1.4.0 Downloading platformdirs-2.5.2-py3-none-any.whl (14 kB) Collecting requests-toolbelt>=0.7.1 Downloading requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 54.3/54.3 kB 136.8 kB/s eta 0:00:00 Collecting attrs>=17.2.0 Downloading attrs-22.1.0-py2.py3-none-any.whl (58 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.8/58.8 kB 2.8 MB/s eta 0:00:00 Collecting requests-file>=1.5.1 Downloading requests_file-1.5.1-py2.py3-none-any.whl (3.7 kB) Collecting cached-property>=1.3.0 Downloading cached_property-1.5.2-py2.py3-none-any.whl (7.6 kB) Collecting isodate>=0.5.4 Downloading isodate-0.6.1-py2.py3-none-any.whl (41 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 41.7/41.7 kB 1.5 MB/s eta 0:00:00 Collecting cffi>=1.12 Downloading cffi-1.15.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (441 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 441.2/441.2 kB 8.2 MB/s eta 0:00:00 Collecting pyparsing!=3.0.5,>=2.0.2 Downloading pyparsing-3.0.9-py3-none-any.whl (98 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 98.3/98.3 kB 1.7 MB/s eta 0:00:00 Collecting pyrsistent!=0.17.0,!=0.17.1,!=0.17.2,>=0.14.0 Downloading pyrsistent-0.18.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (115 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 115.6/115.6 kB 2.1 MB/s eta 0:00:00 Collecting ply>=3.4 Downloading ply-3.11-py2.py3-none-any.whl (49 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 49.6/49.6 kB 1.7 MB/s eta 0:00:00 Collecting wrapt<2,>=1.10 Downloading wrapt-1.14.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (77 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 77.8/77.8 kB 1.1 MB/s eta 0:00:00 Collecting elementpath<4.0.0,>=3.0.0 Downloading elementpath-3.0.2-py3-none-any.whl (189 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 189.1/189.1 kB 3.2 MB/s eta 0:00:00 WARNING: The candidate selected for download or install is a yanked version: 'arabic-reshaper' candidate (version 2.1.3 at https://files.pythonhosted.org/packages/47/27/7b9b824f5342d8ee180027333f2e15842ea36f5bc2d3d24a4e6bb31fb596/arabic_reshaper-2.1.3-py3-none-any.whl (from https://pypi.org/simple/arabic-reshaper/)) Reason for being yanked: Doesn't work with Python 2 Building wheels for collected packages: django-formset-js-improved, paypal-checkout-serversdk, paypalrestsdk, python-u2flib-server, static3, vobject, dj-static, pycountry, slimit, future, django-jquery-js Building wheel for django-formset-js-improved (setup.py) ... done Created wheel for django-formset-js-improved: filename=django_formset_js_improved-0.5.0.2-py3-none-any.whl size=13894 sha256=864abb8251119d39140c17e2bb2fb383ae21c1bbdb2968771dc74b892edabdbe Stored in directory: /var/pretix/.cache/pip/wheels/67/88/7c/e10ce52233d9a978b33d274f59b8cc3a1901b2e3519838c200 Building wheel for paypal-checkout-serversdk (setup.py) ... done Created wheel for paypal-checkout-serversdk: filename=paypal_checkout_serversdk-1.0.1-py3-none-any.whl size=94445 sha256=9071ea368affbba940b883f2494ff848a4033972b762abbf1eee56f6ab604e9a Stored in directory: /var/pretix/.cache/pip/wheels/5b/8d/89/b00f5c91efb749e6de1d4c3f3f78ada113bfdc1e6be8a048bf Building wheel for paypalrestsdk (setup.py) ... done Created wheel for paypalrestsdk: filename=paypalrestsdk-1.13.1-py3-none-any.whl size=20966 sha256=e6dcf0efe4f28e877ee1e5421a28a0140b14cca436090e64a73b09be71610bcf Stored in directory: /var/pretix/.cache/pip/wheels/64/dd/1c/3855ce4091d78b77e57e0302033178b5edebf8f91e5dad5be9 Building wheel for python-u2flib-server (setup.py) ... done Created wheel for python-u2flib-server: filename=python_u2flib_server-4.0.1-py2.py3-none-any.whl size=30500 sha256=2269f08d33f6687fef5e8702dcfd2e37db365923bf0e85ddf32b1f0b94a8584a Stored in directory: /var/pretix/.cache/pip/wheels/eb/a3/24/92274821531306b480a3112bb8501f6b2b62fb78defec4a9e8 Building wheel for static3 (setup.py) ... done Created wheel for static3: filename=static3-0.7.0-py3-none-any.whl size=18597 sha256=81550dacd1dbf2d591d820c58a197d9c2d087ba8b95b3474c9b0abee42b5cd54 Stored in directory: /var/pretix/.cache/pip/wheels/67/88/26/362b5f8314043c6241ed324b9f76ddf48328b775923b39590a Building wheel for vobject (setup.py) ... done Created wheel for vobject: filename=vobject-0.9.6.1-py3-none-any.whl size=47680 sha256=d161aacfb4d145f9fb8d6535e9e236debe534b2a1f4663fe04d41b815db48154 Stored in directory: /var/pretix/.cache/pip/wheels/8a/9b/8e/c7e5da7ecd94827faf9fe067c97ce3b63ef19439670a51cb2a Building wheel for dj-static (setup.py) ... done Created wheel for dj-static: filename=dj_static-0.0.6-py3-none-any.whl size=3053 sha256=096507454c1440945f81e6bac2364215cdc70e1c6e80090856259a5213a72bf1 Stored in directory: /var/pretix/.cache/pip/wheels/b5/10/4a/83f0c20117a4580af66c382f5cd1c689e6a8818a042ffdedd3 Building wheel for pycountry (pyproject.toml) ... done Created wheel for pycountry: filename=pycountry-22.3.5-py2.py3-none-any.whl size=10681832 sha256=4e530e515c04ee1dfa0e80cfcb4874e5abecc230c92ee50843146162459cdbce Stored in directory: /var/pretix/.cache/pip/wheels/47/15/92/e6dc85fcb0686c82e1edbcfdf80cfe4808c058813fed0baa8f Building wheel for slimit (setup.py) ... done Created wheel for slimit: filename=slimit-0.8.1-py3-none-any.whl size=79438 sha256=99a46e6572cfcb0ab1e8da1833ba0dc4bdb672e284bbea99880b39b0f21b23b4 Stored in directory: /var/pretix/.cache/pip/wheels/0c/71/18/d3709c012070f44e99ed7084e3f15e8282a3d1b399c7e45c12 Building wheel for future (setup.py) ... done Created wheel for future: filename=future-0.18.2-py3-none-any.whl size=491058 sha256=a0e4430692bc3018a456880b96a90ace6d6da81348e550f1536f6fb743f8f205 Stored in directory: /var/pretix/.cache/pip/wheels/2f/a0/d3/4030d9f80e6b3be787f19fc911b8e7aa462986a40ab1e4bb94 Building wheel for django-jquery-js (setup.py) ... done Created wheel for django-jquery-js: filename=django_jquery_js-3.1.1-py3-none-any.whl size=113134 sha256=4ce503f8d56aa274fbe0d612195358f061140cd99deb7e667f5a8ebcf8e40e21 Stored in directory: /var/pretix/.cache/pip/wheels/e8/1b/e8/bcc860181cc525f9970d65162de241be48691e25276083c4ac Successfully built django-formset-js-improved paypal-checkout-serversdk paypalrestsdk python-u2flib-server static3 vobject dj-static pycountry slimit future django-jquery-js Installing collected packages: webencodings, vat-moss-forked, tlds, text-unidecode, static3, rjsmin, rcssmin, pyuca, pytz, python-stdnum, ply, phonenumberslite, mt-940, isoweek, django-i18nfield, defusedcsv, cached-property, billiard, wrapt, vine, urllib3, ujson, typing-extensions, tqdm, sqlparse, soupsieve, slimit, six, pyrsistent, pyparsing, PyJWT, pycryptodome, pycparser, pycountry, psycopg2-binary, protobuf, platformdirs, Pillow, oauthlib, markdown, lxml, idna, gunicorn, future, et-xmlfile, elementpath, dnspython, dj-static, css-inline, charset-normalizer, chardet, certifi, cbor2, babel, attrs, async-timeout, asgiref, xmlschema, sentry-sdk, requests, reportlab, python-dateutil, python-bidi, PyPDF2, packaging, openpyxl, libsass, jsonschema, isodate, django-countries, Django, deprecated, cffi, bleach, BeautifulSoup4, arabic-reshaper, amqp, vobject, stripe, sepaxml, requests-toolbelt, requests-file, redis, kombu, djangorestframework, django-scopes, django-phonenumber-field, django-otp, django-oauth-toolkit, django-mysql, django-markup, django-localflavor, django-jquery-js, django-hijack, django-hierarkey, django-formtools, django-filter, django-bootstrap3, django-appconf, cryptography, zeep, python-u2flib-server, pyopenssl, drf-ujson2, django-statici18n, django-redis, django-formset-js-improved, django-compressor, celery, webauthn, paypalrestsdk, paypalhttp, django-libsass, paypal-checkout-serversdk, pretix Successfully installed BeautifulSoup4-4.11.1 Django-3.2.16 Pillow-9.2.0 PyJWT-2.4.0 PyPDF2-2.9.0 amqp-2.6.1 arabic-reshaper-2.1.3 asgiref-3.5.2 async-timeout-4.0.2 attrs-22.1.0 babel-2.10.3 billiard-3.6.4.0 bleach-5.0.1 cached-property-1.5.2 cbor2-5.4.3 celery-4.4.7 certifi-2022.9.24 cffi-1.15.1 chardet-5.0.0 charset-normalizer-2.1.1 cryptography-38.0.1 css-inline-0.7.8 defusedcsv-2.0.0 deprecated-1.2.13 dj-static-0.0.6 django-appconf-1.0.5 django-bootstrap3-22.1 django-compressor-3.1 django-countries-7.3.2 django-filter-21.1 django-formset-js-improved-0.5.0.2 django-formtools-2.3 django-hierarkey-1.1.0 django-hijack-3.1.6 django-i18nfield-1.9.4 django-jquery-js-3.1.1 django-libsass-0.9 django-localflavor-3.1 django-markup-1.6 django-mysql-4.7.1 django-oauth-toolkit-1.2.0 django-otp-1.1.3 django-phonenumber-field-7.0.0 django-redis-5.0.0 django-scopes-1.2.0.post1 django-statici18n-2.2.0 djangorestframework-3.13.1 dnspython-1.16.0 drf-ujson2-1.6.1 elementpath-3.0.2 et-xmlfile-1.1.0 future-0.18.2 gunicorn-20.1.0 idna-3.4 isodate-0.6.1 isoweek-1.3.3 jsonschema-4.16.0 kombu-4.6.11 libsass-0.21.0 lxml-4.9.1 markdown-3.3.4 mt-940-4.23.0 oauthlib-3.2.1 openpyxl-3.0.10 packaging-21.3 paypal-checkout-serversdk-1.0.1 paypalhttp-1.0.1 paypalrestsdk-1.13.1 phonenumberslite-8.12.56 platformdirs-2.5.2 ply-3.11 pretix-4.13.1 protobuf-3.19.6 psycopg2-binary-2.9.4 pycountry-22.3.5 pycparser-2.21 pycryptodome-3.15.0 pyopenssl-22.1.0 pyparsing-3.0.9 pyrsistent-0.18.1 python-bidi-0.4.2 python-dateutil-2.8.2 python-stdnum-1.17 python-u2flib-server-4.0.1 pytz-2022.4 pyuca-1.2 rcssmin-1.1.0 redis-4.3.4 reportlab-3.6.11 requests-2.28.1 requests-file-1.5.1 requests-toolbelt-0.9.1 rjsmin-1.2.0 sentry-sdk-1.8.0 sepaxml-2.4.1 six-1.16.0 slimit-0.8.1 soupsieve-2.3.2.post1 sqlparse-0.4.3 static3-0.7.0 stripe-2.66.0 text-unidecode-1.3 tlds-2022070701 tqdm-4.64.1 typing-extensions-4.4.0 ujson-5.5.0 urllib3-1.26.12 vat-moss-forked-2020.3.20.0.11.0 vine-1.3.0 vobject-0.9.6.1 webauthn-0.4.7 webencodings-0.5.1 wrapt-1.14.1 xmlschema-2.1.1 zeep-4.1.0
(venv) mkdir -p /var/pretix/data/media
(venv) python -m pretix migrate
Operations to perform: Apply all migrations: auth, badges, banktransfer, contenttypes, oauth2_provider, otp_static, otp_totp, paypal, pretixapi, pretixbase, pretixdroid, pretixhelpers, pretixmultidomain, sendmail, sessions, stripe, ticketoutputpdf Running migrations: Applying contenttypes.0001_initial... OK Applying contenttypes.0002_remove_content_type_name... OK Applying auth.0001_initial... OK Applying auth.0002_alter_permission_name_max_length... OK Applying auth.0003_alter_user_email_max_length... OK Applying auth.0004_alter_user_username_opts... OK Applying auth.0005_alter_user_last_login_null... OK Applying auth.0006_require_contenttypes_0002... OK Applying auth.0007_alter_validators_add_error_messages... OK Applying auth.0008_alter_user_username_max_length... OK Applying auth.0009_alter_user_last_name_max_length... OK Applying auth.0010_alter_group_name_max_length... OK Applying auth.0011_update_proxy_permissions... OK Applying auth.0012_alter_user_first_name_max_length... OK Applying pretixbase.0001_squashed_0028_auto_20160816_1242... OK Applying pretixbase.0028_invoice_invoice_no_charfield... OK Applying pretixbase.0029_invoice_no_data... OK Applying pretixbase.0030_auto_20160816_0646... OK Applying pretixbase.0031_auto_20160816_0648_squashed_0048_auto_20161129_1330... OK Applying pretixdroid.0001_initial... OK Applying pretixdroid.0002_auto_20161208_1644... OK Applying pretixbase.0049_checkin... OK Applying pretixbase.0050_orderposition_positionid_squashed_0061_event_location... OK Applying pretixbase.0051_auto_20170206_2027_squashed_0057_auto_20170501_2116... OK Applying pretixbase.0052_team_teaminvite_squashed_0070_auto_20170719_0910... OK Applying pretixbase.0071_auto_20170729_1616_squashed_0075_auto_20170828_0901... OK Applying pretixbase.0076_orderfee_squashed_0082_invoiceaddress_internal_reference... OK Applying pretixbase.0077_auto_20171124_1629_squashed_0088_auto_20180328_1217... OK Applying badges.0001_initial... OK Applying badges.0002_auto_20190201_1424... OK Applying pretixapi.0001_initial... OK Applying pretixbase.0089_auto_20180315_1322... OK Applying pretixbase.0090_auto_20180509_0917_squashed_0095_auto_20180604_1129... OK Applying pretixbase.0096_auto_20180722_0801... OK Applying pretixbase.0097_auto_20180722_0804... OK Applying pretixbase.0098_auto_20180731_1243_squashed_0100_item_require_approval... OK Applying pretixbase.0099_auto_20180912_1035... OK Applying pretixbase.0100_auto_20181023_2300... OK Applying pretixbase.0101_auto_20181025_2255... OK Applying pretixbase.0102_auto_20181017_0024... OK Applying pretixbase.0103_auto_20181121_1224... OK Applying pretixbase.0104_auto_20181114_1526... OK Applying pretixbase.0105_auto_20190112_1512_squashed_0107_auto_20190129_1337... OK Applying pretixbase.0108_auto_20190201_1527_squashed_0141_seat_sorting_rank... OK Applying pretixbase.0142_auto_20191215_1522... OK Applying pretixbase.0143_auto_20200217_1211... OK Applying pretixbase.0144_invoiceaddress_custom_field... OK Applying pretixbase.0145_auto_20200210_1038... OK Applying pretixbase.0146_giftcardtransaction_text... OK Applying pretixbase.0147_user_session_token... OK Applying pretixbase.0148_cancellationrequest... OK Applying pretixbase.0149_order_cancellation_date... OK Applying pretixbase.0150_auto_20200401_1123... OK Applying pretixbase.0151_auto_20200421_0737... OK Applying pretixbase.0152_auto_20200511_1504... OK Applying pretixbase.0153_auto_20200528_1953... OK Applying pretixbase.0154_auto_20200620_1633... OK Applying pretixbase.0155_quota_release_after_exit... OK Applying pretixbase.0156_cartposition_override_tax_rate... OK Applying pretixbase.0157_auto_20200712_0932... OK Applying pretixbase.0158_auto_20200724_0754... OK Applying pretixbase.0159_mails_by_sales_channel... OK Applying pretixbase.0160_multiple_confirm_texts... OK Applying pretixbase.0161_order_changes_retain_old_default... OK Applying pretixbase.0162_remove_seat_name... OK Applying banktransfer.0001_initial... OK Applying banktransfer.0002_auto_20160908_2020... OK Applying banktransfer.0003_banktransaction_comment... OK Applying banktransfer.0004_auto_20170619_1125... OK Applying banktransfer.0005_auto_20181023_2209... OK Applying banktransfer.0006_auto_20200901_1419... OK Applying banktransfer.0007_refundexport... OK Applying oauth2_provider.0001_initial... OK Applying oauth2_provider.0002_08_updates... OK Applying oauth2_provider.0003_auto_20160316_1503... OK Applying oauth2_provider.0004_auto_20160525_1623... OK Applying oauth2_provider.0005_auto_20170514_1141... OK Applying oauth2_provider.0006_auto_20171214_2232... OK Applying otp_static.0001_initial... OK Applying otp_static.0002_throttling... OK Applying otp_totp.0001_initial... OK Applying otp_totp.0002_auto_20190420_0723... OK Applying paypal.0001_initial... OK Applying paypal.0002_referencedpaypalobject_payment... OK Applying paypal.0003_migrate_to_v2... OK Applying pretixbase.0163_device_security_profile... OK Applying pretixbase.0164_subevent_last_modified... OK Applying pretixbase.0165_auto_20201015_1924... OK Applying pretixbase.0166_auto_20201015_2029... OK Applying pretixbase.0167_checkinlist_exit_all_at... OK Applying pretixbase.0168_auto_20201023_1447... OK Applying pretixbase.0169_checkinlist_gates... OK Applying pretixbase.0170_remove_hidden_urls... OK Applying pretixbase.0171_auto_20201126_1635... OK Applying pretixbase.0172_event_sales_channels... OK Applying pretixbase.0173_auto_20201211_1648... OK Applying pretixbase.0162b_auto_20201218_1810... OK Applying pretixbase.0174_merge_20201222_1031... OK Applying pretixbase.0175_orderrefund_comment... OK Applying pretixbase.0176_auto_20210205_1512... OK Applying pretixbase.0177_auto_20210301_1510... OK Applying pretixbase.0178_auto_20210308_1326... OK Applying pretixbase.0179_auto_20210311_1653... OK Applying pretixbase.0180_auto_20210324_1309... OK Applying pretixbase.0181_team_can_checkin_orders... OK Applying pretixbase.0182_question_valid_file_portrait... OK Applying pretixbase.0183_auto_20210423_0829... OK Applying pretixbase.0184_customer... OK Applying pretixbase.0185_memberships... OK Applying pretixbase.0186_invoice_sent_to_organizer... OK Applying pretixbase.0187_normalize_salutation... OK Applying pretixbase.0188_delete_requiredaction... OK Applying pretixbase.0189_auto_20210525_1311... OK Applying pretixbase.0190_quota_ignore_for_event_availability... OK Applying pretixbase.0191_event_last_modified... OK Applying pretixbase.0192_checkin_more_fields... OK Applying pretixbase.0193_auto_20210611_1355... OK Applying pretixbase.0194_membership_canceled... OK Applying pretixbase.0195_auto_20210622_1457... OK Applying pretixbase.0196_auto_20210523_1322... OK Applying pretixbase.0197_auto_20210914_0814... OK Applying pretixbase.0198_invoice_sent_to_customer... OK Applying pretixbase.0199_auto_20211005_1050... OK Applying pretixbase.0200_transaction... OK Applying pretixbase.0201_invoiceline_event_location... OK Applying pretixbase.0202_user_needs_password_change... OK Applying pretixbase.0203_orderposition_is_bundled... OK Applying pretixbase.0204_orderposition_backfill_is_bundled... OK Applying pretixbase.0205_itemvariation_require_approval... OK Applying pretixbase.0206_customer_phone... OK Applying pretixbase.0207_auto_20220119_1427... OK Applying pretixbase.0208_auto_20220214_1632... OK Applying pretixbase.0209_device_info... OK Applying pretixbase.0210_auto_20220303_2017... OK Applying pretixbase.0211_auto_20220314_2001... OK Applying pretixbase.0212_auto_20220318_1408... OK Applying pretixbase.0213_discount_condition_ignore_voucher_discounted... OK Applying pretixbase.0214_customer_notes_ext_id... OK Applying pretixbase.0215_customer_organizer_identifier_unique... OK Applying pretixbase.0216_checkin_forced_sent... OK Applying pretixbase.0217_eventfooterlink_organizerfooterlink... OK Applying pretixbase.0218_checkinlist_addon_match... OK Applying pretixapi.0002_auto_20180604_1120... OK Applying pretixapi.0003_webhook_webhookcall_webhookeventlistener... OK Applying pretixapi.0004_auto_20190405_1048... OK Applying pretixapi.0005_auto_20191028_1541... OK Applying pretixapi.0006_alter_webhook_target_url... OK Applying pretixapi.0007_alter_webhookcall_target_url... OK Applying pretixapi.0008_webhookcallretry... OK Applying pretixbase.0219_auto_20220706_0913... OK Applying pretixbase.0220_auto_20220811_1002... OK Applying pretixbase.0221_clean_nonunique_question_identifiers... OK Applying pretixbase.0222_alter_question_unique_together... OK Applying pretixdroid.0003_appconfiguration_squashed_0005_auto_20180106_2122... OK Applying pretixdroid.0004_delete_appconfiguration... OK Applying pretixhelpers.0001_initial... OK Applying pretixhelpers.0002_auto_20180320_1219... OK Applying pretixmultidomain.0001_initial... OK Applying pretixmultidomain.0002_knowndomain_event... OK Applying sendmail.0001_initial... OK Applying sendmail.0002_rule_enabled... OK Applying sessions.0001_initial... OK Applying stripe.0001_initial... OK Applying stripe.0002_referencedstripeobject_payment... OK Applying stripe.0003_registeredapplepaydomain... OK Applying ticketoutputpdf.0001_initial... OK Applying ticketoutputpdf.0002_auto_20180605_2022... OK Applying ticketoutputpdf.0003_auto_20180710_1321... OK Applying ticketoutputpdf.0004_auto_20180805_1430... OK Applying ticketoutputpdf.0003_auto_20180805_1432... OK Applying ticketoutputpdf.0005_merge_20180805_1436... OK Applying ticketoutputpdf.0006_auto_20181017_0024... OK Applying ticketoutputpdf.0007_auto_20181123_1059... OK
(venv) python -m pretix rebuild
948 static files copied to '/var/pretix/venv/lib/python3.9/site-packages/pretix/static.dist', 964 post-processed. Compressing... done Compressed 26 block(s) from 533 template(s) for 1 context(s).
exit
nano /etc/systemd/system/pretix-web.service
nano /etc/systemd/system/pretix-worker.service
systemctl daemon-reload
systemctl enable pretix-web pretix-worker
Created symlink /etc/systemd/system/multi-user.target.wants/pretix-web.service → /etc/systemd/system/pretix-web.service. Created symlink /etc/systemd/system/multi-user.target.wants/pretix-worker.service → /etc/systemd/system/pretix-worker.service.
systemctl start pretix-web pretix-worker
Von PaulRiegel vor etwa 2 Jahren aktualisiert
nano /etc/nginx/sites-enabled/default
server {
root /var/www/html; # Add index.php to the list if you are using PHP #### index index.html index.htm index.nginx-debian.html; # server_name _; server_name _ test.pretix.htw.stura-dresden.de; #### location / { #### # First attempt to serve request as file, then #### # as directory, then fall back to displaying a 404. #### try_files $uri $uri/ =404; #### } add_header Referrer-Policy same-origin; add_header X-Content-Type-Options nosniff; location / { proxy_pass http://localhost:8345; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto https; proxy_set_header Host $http_host; } location /media/ { alias /var/pretix/data/media/; expires 7d; access_log off; } location ^~ /media/cachedfiles { deny all; return 404; } location ^~ /media/invoices { deny all; return 404; } location /static/ { # alias /var/pretix/venv/lib/python3.10/site-packages/pretix/static.dist/; alias /var/pretix/venv/lib/python3.9/site-packages/pretix/static.dist/; access_log off; expires 365d; add_header Cache-Control "public"; }
}
systemctl reload nginx.service
Von PaulRiegel vor etwa 2 Jahren aktualisiert
https://test.pretix.htw.stura-dresden.de/control/
admin@localhost
Password
admin
https://test.pretix.htw.stura-dresden.de/control/settings
Click here to do a license compliance check to make sure your usage of pretix is in line with pretix' license.
https://test.pretix.htw.stura-dresden.de/control/global/license/
https://test.pretix.htw.stura-dresden.de/control/settings
Starting with version 1.2.0, pretix automatically checks for updates in the background. During this check, anonymous data is transmitted to servers operated by pretix' developers. Click on this message to find out more, disable this feature or enter your email address to get notified via email if a new update arrives. This message will disappear once you clicked it.
https://test.pretix.htw.stura-dresden.de/control/global/update/
https://test.pretix.htw.stura-dresden.de/control/settings
Your current password
admin
New password
sturapasswd
Repeat new password
sturapasswd
Save
https://test.pretix.htw.stura-dresden.de/control/logout
https://test.pretix.htw.stura-dresden.de/control/login
https://test.pretix.htw.stura-dresden.de/control/settings
Full name
Bereich Administration Rechentechnik StuRa HTW Dresden
Save
https://test.pretix.htw.stura-dresden.de/control/global/license/
Usage of pretix
I only use pretix to organize events which are executed by my own company or its affiliated companies, or to sell products sold by my own company.
Changes to pretix
This installation of pretix is running without any custom modifications or extensions (except for installed plugins).
License choice
I want to use pretix under the terms of the AGPLv3 license without restriction on the scope of usage and therefore without making use of any additional permission.
Save and check
Check results
The automated license check did not identify any issues.
https://test.pretix.htw.stura-dresden.de/control/global/license/
Footer: "powered by" name (optional)
StuRa HTW Dresden
Link for powered by name
https://test.pretix.htw.stura-dresden.de/control/global/update/
Component Installed version Latest version pretix 4.13.1 4.13.1 Plugin: Badges 4.13.1 4.13.1 Plugin: Bank transfer 4.13.1 4.13.1 Plugin: Check-in list exporter 4.13.1 4.13.1 Plugin: Manual payment 4.13.1 4.13.1 Plugin: Old check-in device API 4.13.1 4.13.1 Plugin: PayPal 4.13.1 4.13.1 Plugin: PayPal 4.13.1 4.13.1 Plugin: PDF ticket output 4.13.1 4.13.1 Plugin: Redirection from order page 4.13.1 4.13.1 Plugin: Report exporter 4.13.1 4.13.1 Plugin: Send out emails 4.13.1 4.13.1 Plugin: Statistics 4.13.1 4.13.1 Plugin: Stripe 4.13.1 4.13.1 Plugin: Web-based check-in 4.13.1 4.13.1
https://test.pretix.htw.stura-dresden.de/control/global/update/
E-mail notifications
pretix>>>>>@<<<<<stura.htw-dresden.de
Save
https://test.pretix.htw.stura-dresden.de/control/global/settings/
Region
Germany
Von PaulRiegel vor etwa 2 Jahren aktualisiert
https://test.pretix.htw.stura-dresden.de/control/global/settings/
Additional footer text
???
Additional footer link
???
Global message banner
???
Global message banner detail text
???
https://test.pretix.htw.stura-dresden.de/control/global/settings/
PayPal ISU/Connect: Client ID
???
PayPal ISU/Connect: Secret key
???
PayPal ISU/Connect: Partner Merchant ID
???
PayPal ISU/Connect Endpoint
???
Von PaulRiegel vor etwa 2 Jahren aktualisiert
https://test.pretix.htw.stura-dresden.de/control/users/add
Is active
[X]
Full name
Betreuung Eintrittsverwaltung
Language
German (informal)
Default timezone
Europe/Berlin
tix>>>>>@<<<<<stura.htw-dresden.de
New password
sturapasswd
Repeat new password
sturapasswd
Force user to select a new password
[ ]
Von PaulRiegel vor etwa 2 Jahren aktualisiert
https://test.pretix.htw.stura-dresden.de/control/organizers/add
Name
Bereich Webservices
Short form
web
Save
https://test.pretix.htw.stura-dresden.de/control/organizers/addName
Referat Kultur
Short form
kultur
https://test.pretix.htw.stura-dresden.de/control/organizer/web/edit#tab-0-0-open
Von PaulRiegel vor etwa 2 Jahren aktualisiert
apt -y install python3-memcache
Reading package lists... Done Building dependency tree... Done Reading state information... Done Suggested packages: memcached The following NEW packages will be installed: python3-memcache 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Setting up python3-memcache (1.59-5) ...
apt -y install memcached
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
libanyevent-perl libcache-memcached-perl libmemcached libterm-readkey-perl libyaml-perl
The following NEW packages will be installed:
memcached
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Setting up memcached (1.6.9+dfsg-1) ...
Created symlink /etc/systemd/system/multi-user.target.wants/memcached.service → /lib/systemd/system/memcached.service.
@systemctl status memcached.service
● memcached.service - memcached daemon Loaded: loaded (/lib/systemd/system/memcached.service; enabled; vendor preset: enabled)
nano /etc/pretix/pretix.cfg
[memcached] location=127.0.0.1:11211
Von PaulRiegel vor etwa 2 Jahren aktualisiert
Bereich Webservices per Mail (leider erst jetzt) informiert!
Von PaulRiegel vor etwa 2 Jahren aktualisiert
https://docs.pretix.eu/en/latest/admin/installation/manual_smallscale.html#cronjob
su pretix
crontab -e
no crontab for pretix - using an empty one Select an editor. To change later, run 'select-editor'. 1. /bin/nano <---- easiest 2. /usr/bin/vim.tiny Choose 1-2 [1]:
15,45 * * * * export PATH=/var/pretix/venv/bin:$PATH && cd /var/pretix && python -m pretix runperiodic
crontab: installing new crontab
exit
Von PaulRiegel vor etwa 2 Jahren aktualisiert
- Status wurde von Neu zu Erledigt geändert