Menu

create repository creates empty folder

Help
Thomas
2007-06-21
2013-05-01
  • Thomas

    Thomas - 2007-06-21

    Hello

    I'm the next one who has the problem of creating just empty folders by using svnmanager.
    I read all the threads here but every user had further problems too.

    In my case i have no further problem (except the dumping, but thats not intresting for me at the moment) Svnmanager gives me no failure on creating a new repository.

    Another problem (maybe the same cause) is on creating new users. They will not write to the htpasswd-file but will write to the database. If i give the users a permisssion for specific repos the accessfile will be updated.

    If i create a repo with "svnadmin create path", append the user manually to the htpasswd and edit the accessfile with the permission i can access via https (apacheconfig) to the repo and can do the normal svn stuff on it. So there's no false dav_svn configuration.

    Here is my config.php file:

    //Shell command's
    $htpassword_cmd                 =       "/usr/bin/htpasswd";
    $svn_cmd                        =       "/usr/bin/svn";
    $svnadmin_cmd                   =       "/usr/bin/svnadmin";

    //Subversion locations
    $svn_repos_loc                  =       "/srv/lib/svn/repos";
    $svn_passwd_file                =       "/srv/lib/svn/.htpasswd";
    $svn_access_file                =       "/srv/lib/svn/accessfile";

    All files exist and have the right permissions (user:group www-data:www-data)
    The Host system is a ubuntu dapper drake ServerEdition

    Can you give me a hint or a solution for this problem. Is there a logfile from svnmanager which i can check?

    Thanks in advance
    Daimonion

     
    • Thomas

      Thomas - 2007-06-23

      Hello again

      I had a look on apaches error.log and found the messages

      "sh /svnadmin: no such file or directory"

      after i wanted to create a new repository.

      I think there is a existing configuration problem in php::pear on my system but i don't know where to look. can you give me a hint?

      The files svnadmin and htpasswd are existing and the path in config.php is correct.

      Thanks in advance
      Daimonion

       
    • Thomas

      Thomas - 2007-06-23

      Okay, i found a solution for the problem.

      It's the php safe_mode who restricts the execution of svnmanager. But i wont set it to off. Is there a possible workaround for this?

      Daimonion

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.