Koozali.org: home of the SME Server

Howto install Mediawiki 1.16.0 on SME8b6

Offline le pop etre

  • *
  • 7
  • +0/-0
Re: Howto install Mediawiki 1.16.0 on SME8b6
« Reply #15 on: August 23, 2011, 07:21:39 PM »
it worked on clean install
but
- it is not linked to sme user system accounts - each user need to make another user :( probably need one extension as LDAP login)
- it has no "local/global" flavor into config (I must try the other type of installs - but into "straight" one is public and that's all )

So how you did it ? it's confuse for me ... i tryed to follow row per row the wiki ... non of them seak the goal. i've allways an error .

My problem is that i dont note the code....

i do it once again and give error message or you can post something to help ?

thanks for your time.

Guillaume

___________________________________________________________________

"sur les épaules de darwin, sur les épaules des géants"

Offline le pop etre

  • *
  • 7
  • +0/-0
Re: Howto install Mediawiki 1.16.0 on SME8b6
« Reply #16 on: August 23, 2011, 10:47:11 PM »
to install the standard smeserver mediawki (v 1.6.10) it is quite easy
you'll need to set the repos as the wiki says

http://wiki.contribs.org/SME8.0_Contribs_QA

Quote

in fact the first bug appears here :
 :x

Code: [Select]
db yum_repositories set sme7contribs repository \
GPGCheck yes \
MirrorList http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/smecontribs-7 \
Name 'SME 7 - contribs' \
Visible no \
status disabled

error message db: command not found

Offline johnp

  • *****
  • 312
  • +0/-0
Re: Howto install Mediawiki 1.16.0 on SME8b6
« Reply #17 on: August 24, 2011, 01:41:21 AM »
Did you copy and paste the whole code snipet? I works for me using putty and logged in as root

Offline le pop etre

  • *
  • 7
  • +0/-0
Re: Howto install Mediawiki 1.16.0 on SME8b6
« Reply #18 on: August 24, 2011, 06:26:09 PM »
Quote
I pasted it into this wiki page http://wiki.contribs.org/Talk:Mediawiki

Acheived, as well, using this post herelinked, and connected as "root"

to connect as root press : "Alt"+"F2" at prompt

then step by step

Offline larieu

  • *****
  • 214
  • +0/-0
Re: Howto install Mediawiki 1.16.0 on SME8b6
« Reply #19 on: August 25, 2011, 07:40:12 AM »
I have found a solution to authentication issue
I don't get why nobody (me in front of the row) didn't look at Talk page of the problematic plugin

practically now I have version 17 in "classical SME tradition"

short "How to" tested on SME 8b6 clean install

1. change the repo to have also sme7contribs
2. install smeserver-mediawiki
3. download latest wiki version you'll prefer
(
I have tested for 8,15,16,17 in 2 scenario
scenario 1
start at 1.6 standard upgrade to 1.7 and work without plugin alteration then upgraded to 1.8 and altered the plugin, then to 1.15,16,17
scenario 2
start with 1.6 and direct upgrade to 1.17
)
4. unpack over the installed one (/opt/mediawiki)
5. set ownership root:root for everithing in /opt/mediawiki and root:www for /opt/mediawiki/images
6. temporary change the mediawikiuser rights to database (for 1.7 you-ll need only create and alter structure but to other is more and more complex - I hope is not to dangerous to give all to structure - considering that you'll do it only to upgrade)
7. copy AdminSettings.sample AdminSettings.php and change the user as SME (mediawikiuser) without password
8. run the update from root of mediawiki
9. change back the user rigths to database to basic ones
10. go to /opt/mediawiki/extensions/PwAuthPlugin.php and change it according to the Talk page of the plugin
http://www.mediawiki.org/wiki/Extension_talk:PwAuthPlugin
Quote
// $pass = ;
// for($i=0; $i<15;++$i) $pass .= chr(mt_rand(0,255));
// $user->setPassword($pass);

now everything seems to be ok

do you think this should have a note into our wiki to mediawiki contrib - for sme8 users?
if everybody's life around you is better, probably yours will be better
just try to improve their life

Offline le pop etre

  • *
  • 7
  • +0/-0
Re: Howto install Mediawiki 1.16.0 on SME8b6
« Reply #20 on: August 25, 2011, 07:45:13 AM »
I have found a solution to authentication issue
I don't get why nobody (me in front of the row) didn't look at Talk page of the problematic plugin

practically now I have version 17 in "classical SME tradition"

short "How to" tested on SME 8b6 clean install

1. change the repo to have also sme7contribs
2. install smeserver-mediawiki
3. download latest wiki version you'll prefer
(
I have tested for 8,15,16,17 in 2 scenario
scenario 1
start at 1.6 standard upgrade to 1.7 and work without plugin alteration then upgraded to 1.8 and altered the plugin, then to 1.15,16,17
scenario 2
start with 1.6 and direct upgrade to 1.17
)
4. unpack over the installed one (/opt/mediawiki)
5. set ownership root:root for everithing in /opt/mediawiki and root:www for /opt/mediawiki/images
6. temporary change the mediawikiuser rights to database (for 1.7 you-ll need only create and alter structure but to other is more and more complex - I hope is not to dangerous to give all to structure - considering that you'll do it only to upgrade)
7. copy AdminSettings.sample AdminSettings.php and change the user as SME (mediawikiuser) without password
8. run the update from root of mediawiki
9. change back the user rigths to database to basic ones
10. go to /opt/mediawiki/extensions/PwAuthPlugin.php and change it according to the Talk page of the plugin
http://www.mediawiki.org/wiki/Extension_talk:PwAuthPlugin
now everything seems to be ok

do you think this should have a note into our wiki to mediawiki contrib - for sme8 users?

 :shock:
As far as I prefer, i can tell you i will not do so until their's code listed to do your how to ...

Ofcourse I'm BEGINER ... :D