4 Replies Latest reply on Dec 12, 2014 10:43 AM by ShadeDream

    The file in the Subversion repository could not be locked.


      Im attempting to integrate SVN into our customer workflow using Contribute, unfortunately I'm running into some deal-breaking problems. The biggest of which is that it's constantly giving messages that a file in the repository could not be locked or unlocked. Clicking the previously selected action (edit or publish) usually works the second time, but this is not really an acceptable extra step in our workflow. I've attempted using different SVN repositories hosted separately and 3 different hosting environments at this point to try and eliminate any potential problem in our configuration that might be causing this.

      Let me know if theres any additional information I can provide.

      Based on initial searching Im assuming this is going to be fruitless but I thought I'd give it a shot... This seems like a nearly unused feature of Contribute/Dreamweaver and google searches mostly just pull up Adobe's pages explaining how to configure Contribute/Dreamweaver with SVN with no troubleshooting information.

        • 1. Re: The file in the Subversion repository could not be locked.
          RajeevAdobe Adobe Employee



          Welcome to Adobe Forums.


          The Subversion server acts as a repository for web pages when integrated with Contribute. All versions of published pages along with information such as their version number, date, author, and comments can be retrieved from the server.If you are an administrator, you can enable Subversion at the time of connecting to a non-administered website, or while administering it. The connection key for Subversion enabled website contains the Subversion server information. If you enable Subversion after the connection keys are distributed, resend the connection key to the users to get connected to the website.

          You need to check the configuration of Contribute for SVN. Please check the workflow which you are using to configure SVN. you may check the links given below for this purpose.

          http://help.adobe.com/en_US/contribute/cs/using/WSbafaa19fcb0bbdfd4eaeee91124e9b50a23-7fff .html

          http://www.adobe.com/inspire-archive/december2008/articles/article1/index.html?trackingid= EFBKY



          • 2. Re: The file in the Subversion repository could not be locked.
            ShadeDream Level 1



            I'm well aware of what SVN is and how to use it and if you'd actually read my post you'd realize I've seen both of the pages you'd linked and found them worthless for troubleshooting the issue as the provide zero troubleshooting information, only how to set it up.


            As far as further information, in again testing this the dialog box has decided to sometimes spit out an error message that may be useful in getting to the root of the problem:


            Error 1.png

            Error 2.png

            The error messages were produced by navigating to a page, clicking edit page, making an edit on the page and clicking publish.

            • 3. Re: The file in the Subversion repository could not be locked.
              RajeevAdobe Adobe Employee

              Hi there,


              I agree that we often receive such queries for Adobe Contribute. The above links which I provided is just for reference purpose to make sure that you are following the right workflow. It seems to be an issue with permission either on Subversion repository or FTP site. Could you please provide me some more information related to this issue.

              Do you have any firewall settings applied to your SVN?

              Are you the administrator of the site which you are using in this workflow?

              Which model you are using in Subversion repository. (lock-modify-unlock) http://svnbook.red-bean.com/en/1.6/svn-book.html#svn.advanced.locking.lock-communication





              • 4. Re: The file in the Subversion repository could not be locked.
                ShadeDream Level 1

                I do own and admin the site, but I don't own or admin the SVN repository. I'm sure there is a firewall on it but all appropriate ports have been opened as this is a university wide service inside our institution. I've also used an external third party SVN provider (http://beanstalkapp.com) and had the same results as mentioned above. I can confirm SVN working properly as I use it regularly via SVN specific clients, the unix command line and via the application I use for the majority of my code (not Dreamweaver). I haven't tested Dreamweaver beyond setting up a site according to Adobe's instructions and ran into similar problems as I did with Contribute.


                We use the copy-modify-merge model for our development otherwise. In the case of all of my Contribute testing my client was the only one editing or modifying files on a brand new isolated repositories so there wouldn't be any conflicts with our normal development. As I said in my first post, if I try to publish a file I'll get a warning as posted above, but clicking publish a second time successfully publishes the file and commits it to SVN.