reed Posted January 21, 2023 Share Posted January 21, 2023 Hey y'all, having a confusing morning over here. I use SSH to push template changes to arthistoryproject.com, and this morning I push and get this error: @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. So I look up the issue, and it sounds like its usually triggered just by some server side change, and you basically just have to delete your .known_hosts file and then re-accept the server to the list of known hosts. I do that, and now I can push edits to my templates again, but now I can't see the updates on the live site. The updated template files are viewable in dreamhost's WebFTP, but PW isn't using them? So I turn off all my caching (procache and cloudflare) and while the live site will show changes to stuff like page titles and content, the templates don't show my latest changes. To further test things, I created a new template folder, pushed it to Dreamhost via SSH, and when I try to "add new template" in PW, I get the "No new template files were found in: /site/templates/*.php" error. I have no idea what's going on, and any thoughts, ideas, fixes, or well-wishes would be much appreciated. Thanks ? Link to comment Share on other sites More sharing options...
elabx Posted January 23, 2023 Share Posted January 23, 2023 Maybe a user permissions issue? It has happened to me that if the system user running the server cannot write the compiled processwire files (if compiled is turned on) it all fails. Though I do get warning in the processwire admin which you don't mention. 1 Link to comment Share on other sites More sharing options...
reed Posted January 23, 2023 Author Share Posted January 23, 2023 Ahoy! Turns out Dreamhost updated my VPN and changed my hostname and dedicated IP, and I didn't get the email where they let me know those facts ? Still took some figuring out to get things working with Cloudflare again, but it's all working again, and as usual, none of the issues were Processwire's fault! Thanks @elabx for jumping in! 1 Link to comment Share on other sites More sharing options...
Fruitcake Posted February 3, 2023 Share Posted February 3, 2023 Also, you should never ignore the SSH warning you got. After all, turned out the warning was right and you didn't connect to the right place anymore ? 2 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now