Obsolete Releases > SME 8.x Contribs
Is there a Wiki Contrib for SME 8?
janet:
ajkeane
--- Quote ---What in your post is constructive and offers any assistance with the problem that the poster has?
--- End quote ---
The advice to use ibays.
There was a push years ago to use /opt but that has caused many to have problems, so I was just asking for the benefit of all, that your instructions referred to ibays also.
Is there a problem I don't know about with making polite requests like that ?
It assists OP with easier management.
k_graham:
--- Quote from: ajkeane on May 16, 2013, 04:40:17 AM ---OK Sorry it has taken so long but this has been a mission.
I finally have mediawiki working.
Please follow the following instructions and you should end up with a working wiki.
If you still have smeserver-mediawiki installed please remove it with yum remove smeserver-mediawiki and then run the unistall.sh script.
Download and install
http://wiki.contribs.org/SME_Site_Maker
--- End quote ---
Hello Tony;
Thanks for the lesson - There is a issue with downloading the above link however as it does not install on 8. I assume it was because it was in the 7 repositories so used this instead which downloaded it from the 7 repositories.
yum --enablerepo=sme7contribs install smeserver-sitemaker
Regards the ibay vs /opt debate, I am happy to take it whichever way works.
As I want to get it working quickly I expect to put what I have in PDF's like msds sheets, video, and Manuals, into a dedicated ibay anyway and simply link to those in the Wiki, things like document files of instructions and spreadsheets I will see if they can be copied and pasted to Wiki style without a lot of formatting changes, if not they will be linked as pdf's.
I will let you know my progress on installation of Wiki.
Thanks,
Ken
ajkeane:
Ken
If you follow the instructions in the above post you will have a working wiki. As per the instructions use yum to remove the SME contrib first.
That contrib won't work on SME 8 and the upgrade caused all sorts of issues so in order to get you a working wiki that authenticates against you sme users I have shown you how to complete a new install.
Tony
k_graham:
This was done using the reference to sme 7 repositories, I will try again but I did use yum once to try removing before starting.
Following was after I had tried to do it with sme 7 repositories
Okay I printed out your instructions and almost made the mistake of associating the Y/N to the item below instead of above - so went back and marked a big bracket for each instruction starting at top of list.
Also I did not delete the index.html immediately after installing the Sitemaker script but it is required or prevents the MediaWiki welcome screen from showing.
The Following shows a few warnings, was your thought to run a earlier version of MediaWiki?
MediaWiki 1.20.5 installation
Language
Existing wiki
Welcome to MediaWiki!
Connect to database
Upgrade existing installation
Database settings
Name
Options
Install
Complete!
Restart installation
Welcome to MediaWiki!
Environmental checks
Basic checks are performed to see if this environment is suitable for MediaWiki installation. You should provide the results of these checks if you need help during installation.
PHP 5.3.3 is installed.
Warning: you have SQLite 3.3.6, which is lower than minimum required version 3.3.7. SQLite will be unavailable.
Warning: SQLite is compiled without the FTS3 module, search features will be unavailable on this backend.
Warning: Could not find APC, XCache or WinCache.
Object caching is not enabled.
GNU diff3 not found.
Found GD graphics library built-in.
Image thumbnailing will be enabled if you enable uploads.
Using server name "https://10.0.0.1".
Using server URL "https://10.0.0.1/cpwiki".
Warning: The intl PECL extension is not available to handle Unicode normalization, falling back to slow pure-PHP implementation.
If you run a high-traffic site, you should read a little on Unicode normalization.
The environment has been checked. You can install MediaWiki.
___________________________________________-
When configuring MediaWiki
Installation refused when configuring database as root - Must use admin
Warning
Warning: You have selected MyISAM as storage engine for MySQL, which is not recommended for use with MediaWiki, because:
it barely supports concurrency due to table locking
it is more prone to corruption than other engines
the MediaWiki codebase does not always handle MyISAM as it should
If your MySQL installation supports InnoDB, it is highly recommended that you choose that instead. If your MySQL installation does not support InnoDB, maybe it's time for an upgrade.
_______________
Another issue - could not create database - I therefore installed phpmyadmin in order to create the database
I think I got a bit farther but see I was unable to create the table user
errors follow
Install
Including extensions... done
Setting up database... done
Creating tables... A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
CREATE TABLE `user` ( user_id int unsigned NOT NULL PRIMARY KEY AUTO_INCREMENT, user_name varchar(255) binary NOT NULL default '', user_real_name varchar(255) binary NOT NULL default '', user_password tinyblob NOT NULL, user_newpassword tinyblob NOT NULL, user_newpass_time binary(14), user_email tinytext NOT NULL, user_touched binary(14) NOT NULL default '', user_token binary(32) NOT NULL default '', user_email_authenticated binary(14), user_email_token binary(32), user_email_token_expires binary(14), user_registration binary(14), user_editcount int ) ENGINE=MyISAM, DEFAULT CHARSET=binary
from within function "DatabaseBase::sourceFile( /opt/cpwiki/maintenance/tables.sql )". Database returned error "1142: CREATE command denied to user 'admin'@'localhost' for table 'user' (localhost)".
Backtrace:
#0 /opt/cpwiki/includes/db/Database.php(916): DatabaseBase->reportQueryError('CREATE command ...', 1142, 'CREATE TABLE `u...', 'DatabaseBase::s...', false)
#1 /opt/cpwiki/includes/db/Database.php(3236): DatabaseBase->query('CREATE TABLE `u...', 'DatabaseBase::s...')
#2 /opt/cpwiki/includes/db/Database.php(3148): DatabaseBase->sourceStream(Resource id #84, false, false, 'DatabaseBase::s...')
#3 /opt/cpwiki/includes/installer/DatabaseInstaller.php(185): DatabaseBase->sourceFile('/opt/cpwiki/mai...')
#4 [internal function]: DatabaseInstaller->createTables(Object(MysqlInstaller))
#5 /opt/cpwiki/includes/installer/Installer.php(1454): call_user_func(Array, Object(MysqlInstaller))
#6 /opt/cpwiki/includes/installer/WebInstallerPage.php(1161): Installer->performInstallation(Array, Array)
#7 /opt/cpwiki/includes/installer/WebInstaller.php(269): WebInstaller_Install->execute()
#8 /opt/cpwiki/mw-config/index.php(50): WebInstaller->execute(Array)
#9 /opt/cpwiki/mw-config/index.php(18): wfInstallerMain()
#10 {main}
Sorry I was not successful - Thanks, ajkeane
Ken
Thanks,
Ken
ajkeane:
Ken
Lets try and deal with creating a db to start with.
I take it that you have phpmyadmin installed and that it is working? can you advise what version you installed?
To create the db can you log into your server via ssh (I use Putty)
Issue the following commands changing the values to suit you needs.
# mysqladmin create (database name)
# mysql mysql
mysql> grant all on (database name).* to (user)@localhost identified by '(password)';
mysql> flush privileges;
mysql> \q
Once we have the DB created we will work on the other stuff.
I did not worry about the errors you got though If you are expecting to have multiple users editing document we could look at enabling InnoDB.
Tony
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version