I was having same issue as i was copying .env file from my local machine to server, and even after copying successfully, i could not see my file in machine after running "ls" command, this is because env file is usually under hidden files, so i had to run "ls -a" command to view hidden files. Maybe you did the same. Hope this is helpful for you.