Issue #10 resolved
Sergio Paganoni
created an issue

Hi Sebastian,

sorry to push you so much work here :)

It already happens to me a couple of time that the repositories disappears from the Repository List on the Web interface (I can see the repository in the repository form) but I can always access it via his url: http://IP/scm/hg/MyRepo

How can I recover from this? Are the repositories configurations stored in some kind of XML (I try to look but I found nothing)

To solve this I have to delete manually the repo files (rm -rf repo/), recreate the repo using the web interface and repush all changes from the client.

Comments (8)

  1. Sebastian Sdorra repo owner
    • changed status to open

    The repository informations are stored in the repositories.xml which is located in the .scm/config folder in your home directory. But the questions is why are the repositories disappears from the list? Perhabs it is a caching issue. Next time this issue occures, have a look at the repositories.xml and tell me if the repository exists in this file.

  2. Sergio Paganoni reporter

    It looks like a permission problem, I launch the scm-server as SUID so it runs as root, the file are than stored under /root/.scm/config/repositories.xml and looks correctly...


    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
        <creationTime>2011-04-12 11-33-15</creationTime>
        <lastModified>2011-04-13 09-16-39</lastModified>
                <creationDate>2011-04-12 15-33-32</creationDate>

    It's maybe this the reason that I cannot see any repositories in the web interface? But as far as I understood if scm-server run as root he should be able to access the repo folder (which in my case is located in /home/repos)

    root@scm-01:~/.scm/config# ls -al /home/repos/
    total 16
    drwxr-xr-x 4 wizche wizche 4096 2011-04-13 09:20 .
    drwxr-xr-x 4 root   root   4096 2011-04-12 11:42 ..
    drwxr-xr-x 3 root   root   4096 2011-04-12 14:21 BestPracticeExtension
    drwxr-xr-x 3 root   root   4096 2011-04-13 09:16 DemoRepo

    The hg.xml file looks like this:

    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  3. Sergio Paganoni reporter

    Sebastian I think I understood what's the problem, when I use FF4 I cant see the repository list, when I use FF3, IE7 or Chrome it works! Seems to be a CSS/Formatting problem with FF4.

    I cant even move the Repository Form bar, could you please check if it happens to you too?

  4. Sebastian Sdorra repo owner

    I use FF4 too and for me it works fine. But i can reproduce this problem, when i resize the browserwindow. You could try to remove the "ys-repositoryEditPanel" cookie and reload the page.

  5. Log in to comment