Hi,
Can you remove the “.git/index.lock” file and see if the issue persists?
Thanks so much for your help. Actually, I checked in the .git directory and don’t see that file. When my server admin and I were troubleshooting, we may have already removed it.
What if I just reinstall the plugin? I’m wondering if the two different server environments are causing the problem?
I tried reinstalling, but it appeared to maintain settings even though I thought WordPress said it would delete everything.
Is there a way to do a truly clean re-installation?
Thanks
Hi,
That makes sense – rereading this thread with a fresh set of eyes I see that it’s actually failing to create the index.lock in the first place.
When you deleted and recreated the “.git” folder, did you recreate it manually?
If pushing works manually but not via Revisr it’s definitely just a permissions issue – I would make sure that the files are owned by the same user as your Apache user and have the correct numerical permissions.
Failing all that, you could try deleting just the “.git” folder one last time and reinitializing it through Revisr.
Sorry the permissions, etc. are giving you trouble, but it’s a problem with using the Git installation on your server. This will ultimately be addressed in a later version of the plugin.
Thanks for your response. Let’s see… some follow up questions…
1. when you say “I would make sure that the files are owned by the same user as your Apache user and have the correct numerical permissions.” can you clarify which files you’re referring to?
2. one thing I noticed when examining previously successful commits (from this new server) in Bitbucket is that sometimes user listed in BitBucket was the one associated with the email of the WordPress admin account I was logged in with at the time rather than the one I had specified in the Revisr settings. Any idea why?
3. I’d really like to try a clean installation of Revisr now that we’re on this new server. I’ve tried to do that through the Plugins menu, but after reinstalling I see that the settings are still there, so it’s not been a completely fresh install. How do I completely get rid of the old install of the plugin?
thanks so much
Marking this resolved as it was resolved externally, but please don’t hesitate to let me know if you run into any further issues. Thanks!