I have been going around in circles for hours now trying to work out what is going on and I have now hit a wall and I could do with some help.
For some reason all of the sites show the same web page and additionally some of the sites when I click on the open site button. By the time it gets to the browser (chrome), the port gets stripped from the url and I get presented with the welcome to NGINX screen.
If I put the port in to try and get to admin I get a login screen but no css as I assume its not getting the port on the url right either. I login and it gives me a nginx not found error as the port is once again stripped.
Some of the sites do work properly so it must be something unique to the sites themselves.
Only thing I can say is that they were working. There have been no changes. I have totally reset and even uninstalled chrome.
I am pulling my hair out. One of the sites is a site I am migrating from and I really need it to work
Any help in trying to get to the bottom of this issue would be really appreciated.
For the sites that are currently displaying the default Nginx page, could you please check if the WordPress files and database for those sites still exist in the Docker volume?
You can log into the Docker container by using the following command: docker exec -u www-data -it devkinsta_fpm bash
Once you’re inside the container, navigate to the WordPress directory by running: cd /www/kinsta/public/
Then, list the WordPress folders available. Refer to the screenshot below for guidance:
Web folders exist and database access is there also
Distributor ID:
Ubuntu
Description:
Ubuntu 20.04.6 LTS
Release:
20.04
Codename:
focal
Docker version 23.0.5, build bc4487a
DevKinsta version is 2.13.4 and the images are 1.3.6
robert@B450-AORUS-ELITE:~$ docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
kinsta/devkinsta_mailhog 1.3.6 2808fe07b43a 12 months ago 392MB
kinsta/devkinsta_adminer 1.3.6 dd3fb0acd9da 12 months ago 105MB
kinsta/devkinsta_nginx 1.3.6 1888a6252a0d 12 months ago 48.1MB
kinsta/devkinsta_db 1.3.6 b94c2c0a5ddb 12 months ago 412MB
kinsta/devkinsta_fpm 1.3.6 ed897ca0cd5c 12 months ago 682MB
Additional note would be if i create a new site it functions correctly. I have at great inconvenience deleted the caches on the chrome also. Tried firefox (same result) - so I am assured it is a problem with the environment more than it is a browser issue.
Also (and this might be a shot in the dark). Have you tried closing devKinsta, deleting all containers from Docker whose name starts with devkinsta_ and starting DevKinsta again?
For those sites displaying the default Nginx page, can you please check if their associated Nginx config file still exists inside the devkinsta_nginx container? The site Nginx config files are located in the /etc/nginx/sites directory.