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

VPS1KenmerkenOpmerking
StatusActief
Servernaampp-wordpress
FunctieWordpress / Webshop1) / DokuWiki / Nextcloud / PWM / OTRS / MySQLPWM spreekt direct tegen ldap.
CPU6 cores @ 2.4 Ghz@ 100%
Memory16 GB
HD320 GB
1 GB
2 TB
SSD
Network1Gbps unmetered
OSUbuntu 24.04.3 LTS2)De statuspagina van Tilaa laat Ubuntu 14.04 zien
VPS2KenmerkenOpmerking
StatusActief
Servernaampp-mail
FunctieLDAP / Mail (SMTP+IMAP) / Mailinglijsten
CPU2 cores @ 1.5 Ghz@ 90%
Memory6.144 MB
HD160 GB SSD
Network1Gbps unmetered
OSUbuntu 22.04.5 LTS3)
Opmerking Voor een reboot eerst de exim paniclog legen
VPS3KenmerkenOpmerking
StatusActief
Servernaampp-leden
FunctieLedenadministratie
CPU2 cores @ 1.9 Ghz@ 90%
Memory6.144 MB
HD160 GB SSD
Network1Gbps unmetered
OSUbuntu 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

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:

PackageMAOmschrijvingFunctieOpmerking
abiword V Heeft geen functie meer
docker.ioMK
elixir V Heeft geen functie meer
epmd VOnderdeel van erlangHeeft geen functie meer
erlang V Heeft geen functie meer
etckeeper I? Logging van wijzigingen in de /etc directory
ffmpeg K
libavdevice58MK
libcanberrapulse K
libsmbclient-devMK
memcached B Zorgt voor een snellere database
hermodMBChat bot gateway ding tussen signal, mattermost etc.SocialmediaburgPerl
icinga2 Host and network monitoring systemOf zabbix5)
Onlyoffice I? Office voor Nextcloudcollabora zou een alternatief kunnen zijn. Opmerkingen over Collabora en nagware
Oude kernels VHebben geen functie meer
nagios I network monitoring and management systemOf icinga2 wat moderner is.
ntpdate (deprecated)MK
PHP KVersies ouder van versie 8.3
PHP-Redis-8.1 K
pipewire K
poppler-utils K
pppoeconfMK
redis K
Sane KScanner zaken
samba K
smbclient K
smem Kmemory reporting tool Is free voldoende?
software-properties-common K
tilix KGNOME tiling terminal emulator.
tor KAnonymizing overlay network for TCP
wireplumber KPolicy 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/

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.

DomeinApplicatieVersieMPHPnu6)MinPHP7)MaxPHP8)Opmerking
100_phpldapadmin.piratenpartij.nlWeb-based LDAP client1.2.6.7-1R8.48.48.4Geen benodigde PHP packages.
101_status.piratenpartij.nl 8.3 Uitgezet want wordt niet gebuikt.
104_wiki.piratenpartij.nlDokuwikiRelease 2025-05-14a “Librarian”M8.3.258.? Benodigde PHP packages.
107_tickets.piratenpartij.nlZnuny(OTRS)6.5.4*9)NVTNVTNVT
108_webmail.piratenpartij.nlRoundcube Webmail1.6.9 8.37.38.3Status augustus 2025: Repository versie: 1.6.6.
Benodigde PHP packages.
112_share.piratenpartij.nlNextcloud31.0.910) 8.3 8.4Benodigde PHP packages.
999_piratenpartij.nlWordpress *11)8.3 Benodigde PHP packages.

'Wie' welke packages

Welke applicatie heeft welke PHP packages nodig. Dit is alles, benodigd12), aanbevolen13) en speciale gevallen14) zonder onderscheid. Voor het onderscheid zie de website van de applicatie. Link in de tabel hierboven:

PackageDokuwikiRoundcubeNextcloudWordpressOpmerking
bz2Y
curl Y
dom Y
exif Y
fileinfo Y
gdY
hash Y
igbinary Y
imagick Y
intlY Y
jsonY Y
mbstringY Y
mysqlnd YOf mysqli
opensslY Y
pcreY Y
pdo_sqliteY
sessionY
xmlY Y
zip Y
zlibY

Migratie / upgrade / update plan

Afgezien van

  1. ✅ Wat zit er achter status.piratenpartij.nl ? Tabel hierboven bijwerken als dat duidelijk is.
  2. ✅ Owncloud (draait niet op PHP 8) naar Nextcloud migreren.
  3. ✅ Znuny nu versie 6.5.4 heeft ook een update nodig.
    1. De nieuwste versie is 7.2.
    2. Znuny zit ook in de Ubuntu repository met versie 6.5.6-1.
      1. ✅ Over naar de repository versie. Kan nu al.
  4. ✅ Oude PHP versie 6 en ouder verwijderen.
    1. ✅ Ubuntu updaten.
  5. ✅ Dokuwiki upgraden.
  6. Roundcube:
    1. Geïnstalleerd versie 1.6.9.
    2. Repository is nu 1.6.6.
    3. Niet meer upgraden en als de repository ook 1.6.9 of nieuwer is overgaan op de repository versie.
  7. Oplossen waar we verder nog tegenaan lopen.
  8. 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.

1)
Onderdeel van Wordpress
5)
Niet in de Ubuntu repository
6)
Voor de huidige versie
7) , 8)
Voor de geupdate / geupgrade versie
9)
Status augustus 2025: Repository versie: 6.5.6
10)
See: /opt/webdata/share.piratenpartij.nl/version.php
11)
Status augustus 2025: Repository versie: 6.4.3
12)
required
13)
recommended
14)
special use cases