Closed TylerBarnes closed 5 years ago
I think this was a server configuration issue. I guess it's best practise to add another user to the sudoers list and then disable ssh access to the root user. I did that and everything seems to be working great.
For anyone else with this issue, this is what I did -> https://www.a2hosting.com/kb/getting-started-guide/accessing-your-account/disabling-ssh-logins-for-root#Disabling-SSH-login-for-root
Revisr seems to be doing git pull as the server root user. Is this a configuration error on my end or is this to do with revisr? Because of this, files in the theme directory can only be edited via ftp when connected as the root user. This wouldn't be an issue for me except that someone in my office likes to edit via ftp.