Downgrade Ubuntu PHP Version from PHP 8 to PHP 7.4

Recently my Ubuntu server updated itself, and I suddenly had version PHP 8.0 on my terminal. I use PHP for composer installations, and some packages in my composer.json required PHP 7.4 and wouldn’t install with PHP 8. So I had to downgrade my PHP Version from PHP 8.0 to PHP 7.4 This is done like […]

Read More… from Downgrade Ubuntu PHP Version from PHP 8 to PHP 7.4

spatie/laravel-google-fonts on local environment with e.g. laragon shows “blocked: mixed content” when served over HTTPS

Problem: You use the famous https://github.com/spatie/laravel-google-fonts/, but on local development or laragon you get “blocked: mixed content”, when you call your app with HTTPS. Solution: […]

Read More… from spatie/laravel-google-fonts on local environment with e.g. laragon shows “blocked: mixed content” when served over HTTPS

“Cannot refresh snap-store” Error when updating Ubuntu 24.04

Problem: In Ubuntu 24.04 you see available updates, but the update fails with “cannot refresh snap-store”. This is a known logical problem due to the half-baked integration of the canonical snap store next to apt in ubuntu. The snap store is a snap package itself, so if you start it to update your snap packages, […]

Read More… from “Cannot refresh snap-store” Error when updating Ubuntu 24.04

OpenVPN 2.6 OPTIONS ERROR: failed to negotiate cipher with server. Add the server’s cipher (‘AES-256-CBC’) to –data-ciphers (currently ‘AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305’) if you want to connect to this server.

Your OpenVPN config file is an old version, for OpenVPN >=2.6 you need to change cipher AES-256-CBC to data-ciphers AES-256-CBC in your client.conf If this is not possible, you can also try with the command line option –compat-mode 2.3.0 […]

Read More… from OpenVPN 2.6 OPTIONS ERROR: failed to negotiate cipher with server. Add the server’s cipher (‘AES-256-CBC’) to –data-ciphers (currently ‘AES-256-GCM:AES-128-GCM:CHACHA20-POLY1305’) if you want to connect to this server.

http://repo.mysql.com/apt/debian jessie InRelease NO_PUBKEY 8C718D3B5072E1F5

The Mysql repository does not support jessie anymore. Solution: change jessie to buster in your /etc/apt/sources.list.d/mysql.list, so it looks like this: deb [trusted=yes][signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ buster mysql-apt-configdeb [trusted=yes][signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ buster mysql-5.7deb [trusted=yes][signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ buster mysql-toolsdeb-src [trusted=yes][signed-by=/usr/share/keyrings/mysql-apt-config.gpg] http://repo.mysql.com/apt/debian/ buster mysql-5.7 […]

Read More… from http://repo.mysql.com/apt/debian jessie InRelease NO_PUBKEY 8C718D3B5072E1F5

The following signatures were invalid: KEYEXPIRED 1587841717 KEYEXPIRED 1668891673

Debian Jessie is expired. Update to a new OS. If you cannot do this, there is a workaround with the freexian LTS repo. wget https://deb.freexian.com/extended-lts/pool/main/f/freexian-archive-keyring/freexian-archive-keyring_2022.06.08_all.deb && sudo dpkg -i freexian-archive-keyring_2022.06.08_all.deb After this, comment out all your sources in /etc/apt/sources.list and only use: deb http://deb.freexian.com/extended-lts jessie main contrib non-free Then apt update && apt upgrade should […]

Read More… from The following signatures were invalid: KEYEXPIRED 1587841717 KEYEXPIRED 1668891673