Posts

Showing posts from 2024

The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key

 W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://packages.sury.org/php buster InRelease: The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <[email protected]> W: Failed to fetch https://packages.sury.org/php/dists/buster/InRelease  The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key <[email protected]> W: Some index files failed to download. They have been ignored, or old ones used instead. To fix this problem use these commands: apt-get update apt-get -y install lsb-release ca-certificates curl curl -sSLo /tmp/debsuryorg-archive-keyring.deb https://packages.sury.org/debsuryorg-archive-keyring.deb dpkg -i /tmp/debsuryorg-archive-keyring.deb sh -c 'echo "deb [signed-by=/usr/share/keyrings/deb.sury.org-php.gpg] https://packages.sury.org/php/ $(lsb_release -sc) main" > /et

Docker network not found

 Docker network not found   Failed to remove network <id>: Error response from daemon: network <id> not foundFailed to remove some resources from stack: <name> When using docker network ls, the network is indeed not removed, however, docker network rm <id> always results in the following: Error response from daemon: network <id> not found 1. If you are attempting to add a container to an existing network that no longer exists, then you can use docker-compose up --force-recreate.  2. Inspect the network which we are unable to delete docker network inspect <id> or <name> Disconnect the network docker network disconnect -f <networkID> <endpointName> or <endpointId> Delete unused networks docker network prune docker system prune will remove 'all networks not used by at least one container' allowing them to be recreated next docker-compose up

Postfix/sendmail fatal: User nginx is not allowed to submit mail

Postfix/sendmail fatal: User nginx is not allowed to submit mail   You need to edit /etc/postfix/main.cf    and find   authorized_submit_users = root,www-data   and add nginx.   After that reload postfix and now you can send emails from web php forms.