Dit is een oude revisie van het document!
Inhoud
Servers
Huidig (Wanneer was dit?)
Nu hosten we 3 VPS servers bij Tilaa.nl .
Totaal netwerk verbruik is nu 2TB per maand.
Alle VPS-en zitten op max 10% van hun CPU kracht. Dus daar is nog genoeg ruimte. De hardeschijven zitten ongeveer tot 80% vol nu. Dat is de grens. Als er meer wordt gebruikt, zullen we moeten groeien.
Statistieken
Dit zijn https://status.piratenpartij.nl/munin|de huidige statistieken van de VPS1 en VPS2. Van VPS3 zijn geen grafieken, maar die server doet niet zo veel.
VPS'en
Deze draaien op Ubuntu Server
VPS1 | Kenmerken | Opmerking |
---|---|---|
Status | Actief | |
Servernaam | pp-wordpress | |
Functie | Wordpress / Webshop1) / DokuWiki / Nextcloud / PWM / OTRS / MySQL | PWM spreekt direct tegen ldap. |
CPU | 6 cores @ 2.4 Ghz | @ 100% |
Memory | 16 GB | |
HD | 320 GB 1 GB 2 TB | SSD |
Network | 1Gbps unmetered | |
OS | Ubuntu 24.04.3 LTS2) | De statuspagina van Tilaa laat Ubuntu 14.04 zien |
VPS2 | Kenmerken | Opmerking |
---|---|---|
Status | Actief | |
Servernaam | pp-mail | |
Functie | LDAP / Mail (SMTP+IMAP) / Mailinglijsten | |
CPU | 2 cores @ 1.5 Ghz | @ 90% |
Memory | 6.144 MB | |
HD | 160 GB SSD | |
Network | 1Gbps unmetered | |
OS | Ubuntu 22.04.5 LTS3) | |
Opmerking | Voor een reboot eerst de exim paniclog legen |
VPS3 | Kenmerken | Opmerking |
---|---|---|
Status | Actief | |
Servernaam | pp-leden | |
Functie | Ledenadministratie | |
CPU | 2 cores @ 1.9 Ghz | @ 90% |
Memory | 6.144 MB | |
HD | 160 GB SSD | |
Network | 1Gbps unmetered | |
OS | Ubuntu 22.04.5 LTS4) |
Foutmeldingen
Reboot gerelateerd
De volgende foutmeldingen kunnen veroorzaakt worden door een reboot, herstart.
LDAP: couldn't connect to LDAP server LDAP: can not bind anonymously OTRS Daemon is not running.
Na 10 minuten nog eens kijken.
Als het dan nog niet opgelost is dan verder onderzoeken.
Server hangt
Herstart nginx en PHP:
service nginx restart service php8.1-fpm restart
Nodig
????
Dedicated server
KVM
Applicaties
We zijn in het proces om alles wat niet in de repository zit zo veel mogelijk te vervangen door wat anders, wat er wel in zit, als dat kan, om zo doende werk te besparen met updates.
Een argument om te bepalen of we een package willen of niet: Het is wel handig als meer mensen met het programma overweg kunnen. Of als dat niet meteen het geval is, en er geen alternatieve oplossing is, anderen er wegwijs in te maken als ze dat zelf niet lukt, er een (flinke) learningcurve is.
Wat er draait op de servers
- beam.smp Is dit nog geinstalleerd en zo ja op welke server?
- etherpad lite (moet dit niet weg? pad.piratenpartij.nl is toch opgedoekt?)
- epmd Is dit nog geinstalleerd en zo ja op welke server?
Wat op pp-wordpress geinstalleerd is
Mogelijk is een deel hiervan backend services voor sommige van de sites.
De andere dingen zijn zaken die nooit opgeruimd zijn.
Mogelijk deinstalleren of anders op motiveren waarom het moet blijven. Wat de functie voor PPNL is:
- M kolom
- M: Manually installed. Not required by dependencies.
- A kolom
- A: Kan gedeïnstalleerd worden. Staat in aptitude al op uninstall.
- B: Moet blijven
- I: Installeren?
- K: Kandidaat om te deinstallleren, inclusief dependencies.
- V: Verwijderd, gedeïnstalleerd.
Package | M | A | Omschrijving | Functie | Opmerking |
---|---|---|---|---|---|
abiword | V | Heeft geen functie meer | |||
docker.io | M | K | |||
elixir | V | Heeft geen functie meer | |||
epmd | V | Onderdeel van erlang | Heeft geen functie meer | ||
erlang | V | Heeft geen functie meer | |||
etckeeper | I? | Logging van wijzigingen in de /etc directory | |||
ffmpeg | K | ||||
libavdevice58 | M | K | |||
libcanberrapulse | K | ||||
libsmbclient-dev | M | K | |||
memcached | B | Zorgt voor een snellere database | |||
hermod | M | B | Chat bot gateway ding tussen signal, mattermost etc. | Socialmediaburg | Perl |
icinga2 | Host and network monitoring system | Of zabbix5) | |||
Onlyoffice | I? | Office voor Nextcloud | collabora zou een alternatief kunnen zijn. Opmerkingen over Collabora en nagware | ||
Oude kernels | V | Hebben geen functie meer | |||
nagios | I | network monitoring and management system | Of icinga2 wat moderner is. | ||
ntpdate (deprecated) | M | K | |||
PHP | K | Versies ouder van versie 8.3 | |||
PHP-Redis-8.1 | K | ||||
pipewire | K | ||||
poppler-utils | K | ||||
pppoeconf | M | K | |||
redis | K | ||||
Sane | K | Scanner zaken | |||
samba | K | ||||
smbclient | K | ||||
smem | K | memory reporting tool | Is free voldoende? | ||
software-properties-common | K | ||||
tilix | K | GNOME tiling terminal emulator. | |||
tor | K | Anonymizing overlay network for TCP | |||
wireplumber | K | Policy manager for PipeWire | Mogelijk nodig voor Wordpress en andere zaken waar geluid nodig is). | ||
wpa_supplicant | K | ||||
Wat nog meer? | K |
Sites uitgezet
/etc/nginx/sites-enabled/
- lrwxrwxrwx 1 root root 51 apr 17 2021 104_wiki-beheer.piratenpartij.nl → ../sites-available/104_wiki-beheer.piratenpartij.nl
- lrwxrwxrwx 1 root root 44 apr 17 2021 103_zehebbenonsgehoord.nl → ../sites-available/103_zehebbenonsgehoord.nl
- lrwxrwxrwx 1 root root 34 apr 17 2021 102_iamsterd.am → ../sites-available/102_iamsterd.am
- lrwxrwxrwx 1 root root 47 apr 17 2021 113_progcie.piratenpartij.nl → ../sites-available/113_progcie.piratenpartij.nl
- lrwxrwxrwx 1 root root 36 jan 8 2022 900_stempiraat.nl → ../sites-available/900_stempiraat.nl (forward naar piratenpartij.nl)
- lrwxrwxrwx 1 root root 41 mrt 18 2024 903_informeerjezelf.nl → ../sites-available/903_informeerjezelf.nl
- lrwxrwxrwx 1 root root 49 nov 17 2023 997_piratenpartij-degroenen.nl → ../sites-available/997_piratenpartij-degroenen.nl
- lrwxrwxrwx 1 root root 50 apr 17 2021 931_fediverse.priratenpartij.nl → ../sites-available/931_fediverse.priratenpartij.nl
Wat draait op welke PHP versie
M: Manual, handmatige installatie en updates.
R: Updates via de repository.
*: Nu nog handmatig. Niet meer updaten totdat de repository een nieuwere versie aanbiedt en dan overschakelen op de repository.
Domein | Applicatie | Versie | M | PHPnu6) | MinPHP7) | MaxPHP8) | Opmerking |
---|---|---|---|---|---|---|---|
100_phpldapadmin.piratenpartij.nl | Web-based LDAP client | 1.2.6.7-1 | R | 8.4 | 8.4 | 8.4 | Geen benodigde PHP packages. |
101_status.piratenpartij.nl | 8.3 | Uitgezet want wordt niet gebuikt. | |||||
104_wiki.piratenpartij.nl | Dokuwiki | Release 2025-05-14a “Librarian” | M | 8.3.25 | 8.? | Benodigde PHP packages. | |
107_tickets.piratenpartij.nl | Znuny(OTRS) | 6.5.4 | *9) | NVT | NVT | NVT | |
108_webmail.piratenpartij.nl | Roundcube Webmail | 1.6.9 | 8.3 | 7.3 | 8.3 | Status augustus 2025: Repository versie: 1.6.6. Benodigde PHP packages. |
|
112_share.piratenpartij.nl | Nextcloud | 31.0.910) | 8.3 | 8.4 | Benodigde PHP packages. | ||
999_piratenpartij.nl | Wordpress | *11) | 8.3 | Benodigde PHP packages. |
Migratie / upgrade / update plan
Afgezien van
- ✅ Wat zit er achter status.piratenpartij.nl ? Tabel hierboven bijwerken als dat duidelijk is.
- ✅ Owncloud (draait niet op PHP 8) naar Nextcloud migreren.
- ✅ Znuny nu versie 6.5.4 heeft ook een update nodig.
- De nieuwste versie is 7.2.
- Znuny zit ook in de Ubuntu repository met versie 6.5.6-1.
- ✅ Over naar de repository versie. Kan nu al.
- ✅ Oude PHP versie 6 en ouder verwijderen.
- ✅ Ubuntu updaten.
- ✅ Dokuwiki upgraden.
- Roundcube:
- Geïnstalleerd versie 1.6.9.
- Repository is nu 1.6.6.
- Niet meer upgraden en als de repository ook 1.6.9 of nieuwer is overgaan op de repository versie.
- Oplossen waar we verder nog tegenaan lopen.
- Oude PHP versies 8.2 en ouder verwijderen.
PHP installed
Versie-agnostisch
Het is niet verstandig om de versie-agnostische variant van de diverse PHP packages te installeren. Het is reeds gebleken dat de PHP applicaties die we gebruiken niet altijd (direct) werken met de nieuwste versie van PHP.
Aantal
27 php7.4_installed.txt 27 php8.1_installed.txt 23 php8.3_installed.txt
PHP 7.4
ii php7.4 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 all server-side, HTML-embedded scripting language (metapackage) ii php7.4-apcu 5.1.27-1+ubuntu24.04.1+deb.sury.org+1 amd64 APC User Cache for PHP ii php7.4-bcmath 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 Bcmath module for PHP ii php7.4-bz2 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 bzip2 module for PHP ii php7.4-cli 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 command-line interpreter for the PHP scripting language ii php7.4-common 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 documentation, examples and common module for PHP ii php7.4-curl 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 CURL module for PHP ii php7.4-dev 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 Files for PHP7.4 module development ii php7.4-fpm 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary) ii php7.4-gd 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 GD module for PHP ii php7.4-gmp 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 GMP module for PHP ii php7.4-igbinary 3.2.16-3+ubuntu24.04.1+deb.sury.org+1 amd64 igbinary PHP serializer ii php7.4-imap 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 IMAP module for PHP ii php7.4-intl 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 Internationalisation module for PHP ii php7.4-json 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 JSON module for PHP ii php7.4-ldap 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 LDAP module for PHP ii php7.4-mbstring 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 MBSTRING module for PHP ii php7.4-memcache 1:4.0.5.2-1+ubuntu24.04.1+deb.sury.org+1 amd64 memcache extension module for PHP ii php7.4-memcached 3.3.0-1+ubuntu24.04.1+deb.sury.org+1 amd64 memcached extension module for PHP, uses libmemcached ii php7.4-msgpack 1:3.0.0-1+ubuntu24.04.1+deb.sury.org+1 amd64 PHP extension for interfacing with MessagePack ii php7.4-mysql 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 MySQL module for PHP ii php7.4-opcache 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 Zend OpCache module for PHP ii php7.4-readline 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 readline module for PHP ii php7.4-redis 6.2.0-1+ubuntu24.04.1+deb.sury.org+1 amd64 PHP extension for interfacing with Redis ii php7.4-ssh2 1.4.1-4+ubuntu24.04.1+deb.sury.org+1 amd64 Bindings for the libssh2 library ii php7.4-xml 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 DOM, SimpleXML, XML, and XSL module for PHP ii php7.4-zip 1:7.4.33-21+ubuntu24.04.1+deb.sury.org+1 amd64 Zip module for PHP
PHP 8.1
ii php8.1 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 all server-side, HTML-embedded scripting language (metapackage) ii php8.1-apcu 5.1.27-1+ubuntu24.04.1+deb.sury.org+1 amd64 APC User Cache for PHP ii php8.1-bcmath 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 Bcmath module for PHP ii php8.1-bz2 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 bzip2 module for PHP ii php8.1-cli 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 command-line interpreter for the PHP scripting language ii php8.1-common 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 documentation, examples and common module for PHP ii php8.1-curl 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 CURL module for PHP ii php8.1-dev 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 Files for PHP8.1 module development ii php8.1-fpm 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary) ii php8.1-gd 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 GD module for PHP ii php8.1-gmp 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 GMP module for PHP ii php8.1-igbinary 3.2.16-3+ubuntu24.04.1+deb.sury.org+1 amd64 igbinary PHP serializer ii php8.1-imagick 3.8.0-1+ubuntu24.04.1+deb.sury.org+1 amd64 Provides a wrapper to the ImageMagick library ii php8.1-imap 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 IMAP module for PHP ii php8.1-intl 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 Internationalisation module for PHP ii php8.1-ldap 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 LDAP module for PHP ii php8.1-mbstring 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 MBSTRING module for PHP ii php8.1-memcache 8.2-5+ubuntu24.04.1+deb.sury.org+1 amd64 memcache extension module for PHP ii php8.1-memcached 3.3.0-1+ubuntu24.04.1+deb.sury.org+1 amd64 memcached extension module for PHP, uses libmemcached ii php8.1-msgpack 1:3.0.0-1+ubuntu24.04.1+deb.sury.org+1 amd64 PHP extension for interfacing with MessagePack ii php8.1-mysql 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 MySQL module for PHP ii php8.1-opcache 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 Zend OpCache module for PHP ii php8.1-readline 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 readline module for PHP ii php8.1-redis 6.2.0-1+ubuntu24.04.1+deb.sury.org+1 amd64 PHP extension for interfacing with Redis ii php8.1-ssh2 1.4.1-4+ubuntu24.04.1+deb.sury.org+1 amd64 Bindings for the libssh2 library ii php8.1-xml 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 DOM, SimpleXML, XML, and XSL module for PHP ii php8.1-zip 8.1.33-1+ubuntu24.04.1+deb.sury.org+1 amd64 Zip module for PHP
PHP 8.3
ii php8.3 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 all server-side, HTML-embedded scripting language (metapackage) ii php8.3-bcmath 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 Bcmath module for PHP ii php8.3-cli 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 command-line interpreter for the PHP scripting language ii php8.3-common 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 documentation, examples and common module for PHP ii php8.3-dba 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 DBA module for PHP ii php8.3-fpm 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 server-side, HTML-embedded scripting language (FPM-CGI binary) ii php8.3-gd 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 GD module for PHP ii php8.3-gmp 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 GMP module for PHP ii php8.3-imap 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 IMAP module for PHP ii php8.3-intl 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 Internationalisation module for PHP ii php8.3-ldap 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 LDAP module for PHP ii php8.3-mbstring 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 MBSTRING module for PHP ii php8.3-mcrypt 3:1.0.7-5+ubuntu24.04.1+deb.sury.org+1 amd64 PHP bindings for the libmcrypt library ii php8.3-mysql 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 MySQL module for PHP ii php8.3-opcache 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 Zend OpCache module for PHP ii php8.3-phpdbg 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 server-side, HTML-embedded scripting language (PHPDBG binary) ii php8.3-pspell 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 pspell module for PHP ii php8.3-readline 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 readline module for PHP ii php8.3-soap 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 SOAP module for PHP ii php8.3-sqlite3 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 SQLite3 module for PHP ii php8.3-tidy 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 tidy module for PHP ii php8.3-xml 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 DOM, SimpleXML, XML, and XSL module for PHP ii php8.3-zip 8.3.25-1+ubuntu24.04.1+deb.sury.org+1 amd64 Zip module for PHP
Telefonie
Voys is een voip dienst.
Het telefoonnummer van de partij op www.piratenpartij.nl komt op dit account uit.
Het wordt doorgeschakeld naar 06-nummers van bestuursleden/campagnemensen.
Er kan ook direct op dat account getelefoneerd worden.