Closed tofuSCHNITZEL closed 4 years ago
Hi,
honestly I have no idea, I will check it and let you know if I find any solution! ๐
Hi @tofuSCHNITZEL,
I'm investigating the issue, and the problem seems related to the svn authz file. Specifically, removing the line AuthzSVNAccessFile /etc/subversion/subversion-access-control
from the dav_svn.conf
file everything works as expected.
I still have to find a proper fix, if you can find it don't hesitate to submit a pull request. In the meantime, I will keep to work on that. ๐
Hi, ่ฟๅบ่ฏฅๆฏsvn็ๆฌ็้ฎ้ข๏ผๅฝๅ็้ๅๅๅปบๅ๏ผๆฅ็็svn็ๆฌๆฏ1.12๏ผๅฐsvnๅ็บงไธบๆด้ซ็ๆฌไผ่งฃๅณ่ฟไธช้ฎ้ข
Hi @Lixianggh,
Thank you for the suggestion, I will try to upgrade SVN version! ๐
Any updates on this?
From what I read, this in an Alpine Linux 3.9 issue. Changing Dockerfile to "FROM smebberson/alpine-base:3.2.0" and removing apache-ctl from the package list appears to make it work. However, this has a known security issue https://alpinelinux.org/posts/Docker-image-vulnerability-CVE-2019-5021.html
Hello,
Sorry for being MIA, busy times. ๐ @velocityfactor thank you for pointing that out, I will have a look at that. Hope to find a viable solution soon.
Has the problem been solved?
Hi @liunancun,
As @velocityfactor highlighted this is an issue of the Alpine image. If it is solved in the new Alpine version, once the base image is updated the issue will be fixed. In the meantime we could:
I will try to do a test in the next few days. If anyone has the time to try and test it, he is more then welcome. ๐
Ok guys, I did what I said in the previous comment. I did a quick test and seems ok. You can find the modification in branch issue-12. Please, try to test and validate it. ๐
Still NOT work in DIGEST:ba9ead4321e9. When visit by http://ip/svn/repo, the tcp connection is broken.
Here is the error.log:
[Fri Nov 08 03:50:53.609241 2019] [core:warn] [pid 256] AH00098: pid file /run/apache2/httpd.pid overwritten -- Unclean shutdown of previous Apache run? [Fri Nov 08 03:50:53.610294 2019] [mpm_prefork:notice] [pid 256] AH00163: Apache/2.4.41 (Unix) SVN/1.12.2 PHP/7.2.22 configured -- resuming normal operations [Fri Nov 08 03:50:53.610312 2019] [core:notice] [pid 256] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND' [Fri Nov 08 03:52:07.703767 2019] [core:notice] [pid 256] AH00052: child pid 272 exit signal Segmentation fault (11) [Fri Nov 08 03:52:07.703883 2019] [core:notice] [pid 256] AH00052: child pid 273 exit signal Segmentation fault (11) [Fri Nov 08 03:52:07.703935 2019] [core:notice] [pid 256] AH00052: child pid 274 exit signal Segmentation fault (11) ... and so on..
Hello @newlife2002, I didn't push on the docker hub the image with the possible fix. If you want to test it, please checkout branch issue-12, build the image and try that one. ๐
Hi @newlife2002,
I added github actions to automatically push images on the docker hub. You can try the image elleflorio/svn-server:issue-12
to test the fix.
The fixed image works great for me, thanks for the great work you do.
@greinet thank you for the QA, I'm gonna merge the PR so the latest
image will be updated. I'm going to delete the one with the issue-12
tag then. ๐
Hi, I have the following problem:
fresh container, no volume only ports mapped created user with docker exec
if no repository exists http /svn displays correctly with no repositories. as soon as I create a repo either via web svnadmin or via docker exec svnadmin create there is nothing displayed under the /svn url anymore just the error "connection reset" in the apache error log I found these entries:
[Sun Jul 14 20:24:26.274401 2019] [core:notice] [pid 263] AH00051: child pid 3236 exit signal Segmentation fault (11), possible coredump in /var/www
even chown'ing the files in /home/svn as apache:apache and chmod'ing them 777 did not help.
any ideas?