Koozali.org: home of the SME Server

SVN subversion on SME9?

Offline beast

  • *
  • 245
  • +0/-0
SVN subversion on SME9?
« on: July 24, 2015, 12:09:33 AM »
Hi

Anybody that have some experience with subversion installation on SME9?

Looks like http://wiki.contribs.org/Subversion is quite old now an out dated.

Just like any hint before I do my own testing with the installation from the following sources:


/Benny

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: SVN subversion on SME9?
« Reply #1 on: July 24, 2015, 08:52:47 AM »
Never tested before you ask but

- you have a contrib for smeserver-git ( i do prefer git, it is more modern)
- you must change the path of perl files between sme7/8 and sme9
/usr/lib/perl5/site_perl/esmith/*  to /usr/share/perl5/vendor_perl/esmith
- You may have some unitialized variables in
« Last Edit: July 24, 2015, 08:57:45 AM by stephdl »
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline beast

  • *
  • 245
  • +0/-0
Re: SVN subversion on SME9?
« Reply #2 on: July 24, 2015, 09:45:27 AM »
Never tested before you ask but

- you have a contrib for smeserver-git ( i do prefer git, it is more modern)
- you must change the path of perl files between sme7/8 and sme9
/usr/lib/perl5/site_perl/esmith/*  to /usr/share/perl5/vendor_perl/esmith
- You may have some unitialized variables in

I sort of dislike Git and like to use a server/client model for my project with a small amount of deveopers working on seperate parts - the reason for the SVN request.

Stupid question - but where do I change the paths? In the RPM or after installation etc.

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: SVN subversion on SME9?
« Reply #3 on: July 24, 2015, 12:29:19 PM »
After the installation IF the contrib uses it because old contrib used esmith-cgi in /etc/esmith/web/function therefore in this case you have nothing to do.

Sorry but i'm still in holydays i cant' verify it myself.

Maybe the better way to be sure is to open the rpm and look inside.

After that you should open a bug, ask to push it to sme9contribs and write there all you did to solve issues you found.
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: SVN subversion on SME9?
« Reply #4 on: July 24, 2015, 11:53:21 PM »
try this please

Code: [Select]
yum install http://mirror.de-labrusse.fr/Sme-Server/smeserver-subversion/smeserver-subversion-1.7-1.el6.sme.noarch.rpm --enablerepo=smecontribs
signal-event post-upgrade; signal-event reboot

it seems workable here, but I need your return please.
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline beast

  • *
  • 245
  • +0/-0
Re: SVN subversion on SME9?
« Reply #5 on: July 26, 2015, 10:17:39 AM »
try this please

Code: [Select]
yum install http://mirror.de-labrusse.fr/Sme-Server/smeserver-subversion/smeserver-subversion-1.7-1.el6.sme.noarch.rpm --enablerepo=smecontribs
signal-event post-upgrade; signal-event reboot

it seems workable here, but I need your return please.

First impression looks good but I have the following problems!

Old version used (minor problem)

If I set some sort of authentification access I get a "Internal Server Error" page when I try to access the repository web page after the page have asked about my credentials. Also the same situation with TortoiseSVN.

Have only for now testet on a VirtualBox SME9 64bit server

Offline beast

  • *
  • 245
  • +0/-0
Re: SVN subversion on SME9?
« Reply #6 on: July 26, 2015, 01:53:12 PM »
First impression looks good but I have the following problems!

Old version used (minor problem)

If I set some sort of authentification access I get a "Internal Server Error" page when I try to access the repository web page after the page have asked about my credentials. Also the same situation with TortoiseSVN.

Have only for now testet on a VirtualBox SME9 64bit server

Only happens when I select a user og group for read access - the rest of the setting do not seam to change anything.

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: SVN subversion on SME9?
« Reply #7 on: July 26, 2015, 11:11:42 PM »
Only happens when I select a user og group for read access - the rest of the setting do not seam to change anything.
can you catch something in logs ?
/var/log/httpd/admin_error_log
/var/log/httpd/error_log
/var/log/messages
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: SVN subversion on SME9?
« Reply #8 on: July 27, 2015, 07:16:17 PM »
found the bug, new version is coming
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline beast

  • *
  • 245
  • +0/-0
Re: SVN subversion on SME9?
« Reply #9 on: July 27, 2015, 07:24:18 PM »
found the bug, new version is coming

Was just about to access the logs - really :-)

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: SVN subversion on SME9?
« Reply #10 on: July 27, 2015, 09:37:55 PM »
yum install http://mirror.de-labrusse.fr/Sme-Server/smeserver-subversion/smeserver-subversion-1.7-2.el6.sme.noarch.rpm --enablerepo=smecontribs
signal-event post-upgrade; signal-event reboot

now I can log to http with relevant credentials, as a side note I have not tested more, I don't know how work subversion, I do love Git
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline beast

  • *
  • 245
  • +0/-0
Re: SVN subversion on SME9?
« Reply #11 on: July 27, 2015, 10:54:51 PM »
Now it does not fail directly but I am unable to login with the right credentials??

Offline beast

  • *
  • 245
  • +0/-0
Re: SVN subversion on SME9?
« Reply #12 on: July 27, 2015, 11:00:08 PM »
Seam as if it is not the correct credentials, but I have changed my test user to the same password a number of times now:

[Mon Jul 27 22:55:28 2015] [error] [client 192.168.11.141] AuthExtern pwauth [/usr/lib/httpd/modules/pwauth]: Failed (255) for user benny
[Mon Jul 27 22:55:28 2015] [error] [client 192.168.11.141] user benny: authentication failure for "/test/addon/": Password Mismatch
exec of '/usr/lib/httpd/modules/pwauth' failed: (2) No such file or directory
[Mon Jul 27 22:55:29 2015] [error] [client 192.168.11.141] AuthExtern pwauth [/usr/lib/httpd/modules/pwauth]: Failed (255) for user benny
[Mon Jul 27 22:55:29 2015] [error] [client 192.168.11.141] user benny: authentication failure for "/test/addon/": Password Mismatch
exec of '/usr/lib/httpd/modules/pwauth' failed: (2) No such file or directory
[Mon Jul 27 22:55:29 2015] [error] [client 192.168.11.141] AuthExtern pwauth [/usr/lib/httpd/modules/pwauth]: Failed (255) for user benny
[Mon Jul 27 22:55:29 2015] [error] [client 192.168.11.141] user benny: authentication failure for "/test/addon/": Password Mismatch
exec of '/usr/lib/httpd/modules/pwauth' failed: (2) No such file or directory
[Mon Jul 27 22:58:22 2015] [error] [client 192.168.11.141] AuthExtern pwauth [/usr/lib/httpd/modules/pwauth]: Failed (255) for user benny, referer: https://192.168.11.18/test/
[Mon Jul 27 22:58:22 2015] [error] [client 192.168.11.141] user benny: authentication failure for "/test/addon/": Password Mismatch, referer: https://192.168.11.18/test/
exec of '/usr/lib/httpd/modules/pwauth' failed: (2) No such file or directory
[Mon Jul 27 22:58:22 2015] [error] [client 192.168.11.141] AuthExtern pwauth [/usr/lib/httpd/modules/pwauth]: Failed (255) for user benny, referer: https://192.168.11.18/test/
[Mon Jul 27 22:58:22 2015] [error] [client 192.168.11.141] user benny: authentication failure for "/test/addon/": Password Mismatch, referer: https://192.168.11.18/test/

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: SVN subversion on SME9?
« Reply #13 on: July 27, 2015, 11:03:03 PM »
You are in 64 bit or 32 bit ?
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!

Offline stephdl

  • *
  • 1,519
  • +0/-0
    • Linux et Geekeries
Re: SVN subversion on SME9?
« Reply #14 on: July 27, 2015, 11:06:18 PM »
What is the output

rpm -qa pwauth
See http://wiki.contribs.org/Koozali_Foundation
irc : Freenode #sme_server #sme-fr

!!! Please write your knowledge to the Wiki !!!