garethflowers / docker-svn-server

A Docker image running a simple Subversion server, using `svnserve`.
https://garethflowers.dev/docker-svn-server/
MIT License
64 stars 12 forks source link

svnsync: E170001: Authorization failed #6

Closed EraseLiu closed 10 months ago

EraseLiu commented 4 years ago

No permission when initializing the image library operation.

Here are some of my configuration. Thank you.

/usr/local/docker/svn-server/svn/svn-mirror/hooks/pre-revprop-change

#!/bin/sh
exit 0

docker-compose.yml

version: '2'
services:
  svn-server:
    image: garethflowers/svn-server:1.3.3
    volumes:
    - /usr/local/docker/svn-server/svn:/var/opt/svn
    ports:
    - 3690:3690/tcp
    restart: always

initialize

$ svnsync initialize \
    svn://192.168.1.10:3690/svn-mirror \
    svn://192.168.1.11:3690/svn-source\
    --username syncuser --password syncpasswd
svnsync: E170001: Authorization failed
garethflowers commented 4 years ago

@EraseLiu is passing the --username argument twice a typo?

EraseLiu commented 4 years ago

@garethflowers Sorry this is my input error. I fixed the script. --password I tried again and still got the same error. svnsync: E170001: Authorization failed image

garethflowers commented 10 months ago

Closing this - assuming its resolved.

If it's still an issue I would recommend looking at your subserve.conf to see what auth settings you have configured.