Skip to main content

Posts

Showing posts from December, 2020

(Docker Solved) Post-processing of the image failed likely because the server is busy or does not have enough resources ERROR

Hi All!   Photo by Markus Spiske on Unsplash   Post-processing of the image failed likely because the server is busy or does not have enough resources. Encountered this issue, when uploading media files to my 4nutz.tk website! To solve this issue it might comes from PHP setting and Nginx settings. Thus i took the chance to fix both!   Fix PHP settings First i increased the minimum size file upload in PHP settings by introducing new php.ini / uploads.ini file link to local file to the wordpress container  example in docker.yaml file setting.   wordpress:     depends_on:       - db     image: wordpress:5.1.1-fpm-alpine     container_name: anutz_wordpress     restart: unless-stopped     env_file: .env     environment:       - WORDPRESS_DB_HOST=db:3306       - WORDPRESS_DB_USER=$MYSQL_USER   ...

Git push changes to remote repo issue on different port

 Taking security precaution I have changed the SSH access port on my DO droplet. Recently as i have setup the docker Wordpress stack in the droplet an i wanted to keep track the version changes by pushing to git remote repo.      Unfortunately i encountered error.    xxx@ubuntuxxxx:~/wordpress$ git push origin main -v Pushing to git@github.com:aliaramli/xxx-docker.git ssh: connect to host github.com port 10xx: Connection timed out fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.   As we can see I'm using verbose flag to troubleshoot the issue, "-v". Error reported that the server unable to connect with github.com server tru port 10xx (i purposely censored the full port number)   to correct the issue i will need to set ssh connection to github server using github supported port which is 22.  eg setup of my ~/.ssh/config file  Host github.com  Port 22 ...