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

The repository ‘http://ftp.debian.org/debian buster-backports Release’ no longer has a Release file

This error is due to an outdated debian repository. The backports repository moved from debian to debian archive. You need to change the URL to the repository. Solution for Debian buster: Find the old source with grep -r “stretch-backports” /etc/apt/ Sample output: /etc/apt/sources.list.d/backports.list:deb http://ftp.debian.org/debian stretch-backports main The first part is the file where the source […]

Read More… from The repository ‘http://ftp.debian.org/debian buster-backports Release’ no longer has a Release file

E: The repository ‘https://packages.sury.org/php stretch Release’ does no longer have a Release file.

When updating your old Debian Stretch server, you experience the following error:E: The repository ‘https://packages.sury.org/php stretch Release’ does no longer have a Release file. Solution: Use a mirror of the old repository. echo “deb https://debian.octopuce.fr/snapshots/sury-php/stretch-latest/ stretch main” | sudo tee /etc/apt/sources.list.d/php.list wget -qO – https://debian.octopuce.fr/sury-php/apt.gpg | sudo apt-key add – sudo apt update Note: if […]

Read More… from E: The repository ‘https://packages.sury.org/php stretch Release’ does no longer have a Release file.

Bitninja EXPKEYSIG 4AC1BB4C7F8B47DC or KEYEXPIRED 1684660916

When updating Bitninja on your Debian based server, you experience the errorGPG error: http://apt.bitninja.io/debian bitninja InRelease: The following signatures were invalid: EXPKEYSIG 4AC1BB4C7F8B47DC Heimdall.IO (Heimdall.IO Repository key) packaging@haimdall.io Solution: You can update your BitNinja GPG key with this command: apt-key adv –keyserver keyserver.ubuntu.com –recv-key 7F8B47DC After that, do an apt update && apt upgrade again. […]

Read More… from Bitninja EXPKEYSIG 4AC1BB4C7F8B47DC or KEYEXPIRED 1684660916

EXPKEYSIG 97BD1A0133449C3D

Aaaand another expired signature, this time from goaccess.io W: An error occurred during the signature verification. The repository is not up dated and the previous index files will be used. GPG error: https://deb.goaccess .io buster InRelease: The following signatures were invalid: EXPKEYSIG 97BD1A013 3449C3D Gerardo Orellana goaccess@prosoftcorp.comW: Failed to fetch https://deb.goaccess.io/dists/buster/InRelease The following signatures were […]

Read More… from EXPKEYSIG 97BD1A0133449C3D

EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG

While updating my Debian 10 Buster server, I experienced an invalid signature from deb.sury.org root@www112:~# apt updateHit:1 http://deb.debian.org/debian buster InReleaseHit:2 http://deb.debian.org/debian buster-updates InReleaseHit:3 http://security.debian.org buster/updates InReleaseHit:4 http://apt.bitninja.io/debian bitninja InReleaseGet:5 https://packages.sury.org/php buster InRelease [7,559 B]Get:6 https://packages.microsoft.com/ubuntu/18.04/mssql-server-2019 bionic InRel ease [3,630 B]Get:7 https://packages.microsoft.com/ubuntu/18.04/prod bionic InRelease [3,638 B ]Err:5 https://packages.sury.org/php buster InReleaseThe following signatures were invalid: EXPKEYSIG B188E2B695BD4743 […]

Read More… from EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG

Write PHP Array with print_r as debug output to a file instead of echoing it

PHP debugging made easy At some point in our life as PHP developer, we come to the point where we are debugging PHP by checking the values of our variables, arrays and objects.We all know: Its easy to debug in Javascript. You can do something like:console.log(“variable is:”+myVar); This is a problem for PHP debug.You can […]

Read More… from Write PHP Array with print_r as debug output to a file instead of echoing it

413 Request Entity Too Large (nginx)

Above error shoved up in my browser when uploading a database dump to phpmyadmin. The server runs a nginx webserver and so my apache knowledge was completely useless. But after some googling I found, i just had to add the line to my “http {}” Block in my /etc/nginx/nginx.conf config. But i don’t like to […]

Read More… from 413 Request Entity Too Large (nginx)

Obtaining a Let’s Encrypt SSL Certificate fails on a freshly installed forge server with:”ERROR: Challenge is invalid!”

I tried to create a SSL certificate on a new digitalocean server administered by forge (a Laravel deployment and server administration service), but eventually failed with an error: ERROR: Challenge is invalid! (returned: invalid) (result: [“type”] “http-01” After some testing and research (I tried removing the .htaccess Basic Auth, changing the hostname, changing the webroot […]

Read More… from Obtaining a Let’s Encrypt SSL Certificate fails on a freshly installed forge server with:”ERROR: Challenge is invalid!”