Koozali.org: home of the SME Server

Obsolete Releases => SME 9.x Contribs => Topic started by: DanB35 on June 07, 2016, 03:13:12 PM

Title: Hosting a wiki on SME9
Post by: DanB35 on June 07, 2016, 03:13:12 PM
I'm not finding a whole lot of information on the SME wiki about this, but I think it's a little tricky to search the wiki for information about hosting a wiki.  As the subject suggests, I'm looking at hosting a wiki on my SME9 server, and looking for software suggestions.  On the contribs.org wiki, I see these:
...so nothing very recent.  The manual for MediaWiki makes it sound like installation should be pretty straightforward (I'm thinking create an ibay, create a database and user, untar the source package into the ibay, and use the web installer), but I'm curious if there's any experience out there with setting up and running a wiki on SME before I dive in.
Title: Re: Hosting a wiki on SME9
Post by: Daniel B. on June 07, 2016, 03:35:08 PM
I'm using https://wiki.contribs.org/Dokuwiki
This contrib is maintained (although I should update some plugins packages in dokuwiki-plugins, but nothing critical)
Title: Re: Hosting a wiki on SME9
Post by: DanB35 on June 07, 2016, 03:56:01 PM
Ah, I just looked at the how-to index, not the contribs index.  Thanks for the pointer, I'll have to check that out.

Edit:  It installs fine, and seems to run without issues.  I notice that the extension manager says that the extension/template directory is not writable.  Should I change permissions on something, or is that as intended?
Title: Re: Hosting a wiki on SME9
Post by: Jean-Philippe Pialasse on June 07, 2016, 05:43:02 PM
I'm not finding a whole lot of information on the SME wiki about this, but I think it's a little tricky to search the wiki for information about hosting a wiki.  As the subject suggests, I'm looking at hosting a wiki on my SME9 server, and looking for software suggestions.  On the contribs.org wiki, I see these:
  • https://wiki.contribs.org/PMWiki (last updated 2011)
  • https://wiki.contribs.org/TWiki (written in 2008)
  • https://wiki.contribs.org/Mediawiki (last updated 2011)
...so nothing very recent.  The manual for MediaWiki makes it sound like installation should be pretty straightforward (I'm thinking create an ibay, create a database and user, untar the source package into the ibay, and use the web installer), but I'm curious if there's any experience out there with setting up and running a wiki on SME before I dive in.

If the need is there i could update the contrib for mediawiki. But it has even not been updated for sme8 from my memory and nobody ask for it.

https://wiki.contribs.org/SME8.0_Contribs_QA#smeserver-mediawiki

However i am more and more wondering if we should not more provide ease to install any webapp in an ibay with best customisation of php flags rather than offering a few webapps as contribs. Unless we provide some more customization like authetication against the sme user db.
Title: Re: Hosting a wiki on SME9
Post by: ReetP on June 08, 2016, 05:01:16 PM
However i am more and more wondering if we should not more provide ease to install any webapp in an ibay with best customisation of php flags rather than offering a few webapps as contribs. Unless we provide some more customization like authetication against the sme user db.

It would indeed be much easier to drop a web app bundle in an ibay and do a standard install rather than have to create some monstrous contrib with all the issues with updating things  - quite a few webapps have their own updaters these days.

Definitely the way forward IMHO

B. Rgds
JC
Title: Re: Hosting a wiki on SME9
Post by: Daniel B. on June 08, 2016, 05:04:00 PM
Both approach are different. Manual install in an ibay (or /opt or similar) is OK for a single/personnal installation. But clearly not an option when you want to deploy the same app on several servers, and you want to make sure the app stays updated, and everything integrated correctly, and automatically
Title: Re: Hosting a wiki on SME9
Post by: ReetP on June 08, 2016, 06:26:45 PM
Both approach are different. Manual install in an ibay (or /opt or similar) is OK for a single/personnal installation. But clearly not an option when you want to deploy the same app on several servers, and you want to make sure the app stays updated, and everything integrated correctly, and automatically

I don't dispute that. But some are absolute buggers to upgrade..... so I wouldn't necessarily want a new updated contrib hosing say my existing CRM installation.

Wordpress for example upgrades itself. Owncloud... err talk to HSF :-)

There are clearly several different scenarios here that need to be thought through, and clearly one size does not fit all.

Title: Re: Hosting a wiki on SME9
Post by: DanB35 on June 08, 2016, 11:48:31 PM
Owncloud... err talk to HSF :-)
Owncloud isn't too bad, once they get around to releasing a version to their auto-updater.  Of course, that may take weeks, or even months, after the "release".  Manual updates are straightforward enough (the step-by-step on the wiki is correct and complete), but can take a long time with a large installation (I have only a handful of users, but > 50 GB of data, and the directory backup step can take a couple of hours).

Nextcloud is placing significant emphasis on the update process, so hopefully it will see some major improvements in the near future.
Title: Re: Hosting a wiki on SME9
Post by: stephdl on June 09, 2016, 01:03:57 PM
I have a different approach

Either the rpm is available in epel or whatever other repository and then a contrib is welcome to integrate the webbapp in smeserver
Or the rpm of the webapp must be done and follow new versions....here clearly it is a huge work and a webapp in an ibay is probably the simplest solution. Of course if the auto updater works or exists.
Title: Re: Hosting a wiki on SME9
Post by: Daniel B. on June 09, 2016, 01:07:05 PM
Auto updater in modern web apps are convinient, but a real disaster security wise. They imply the apache user (or the user running php-fpm) must have full write access on the whole app. While this will be the case in ibay, properly packaged RPM are much more secure, because only places where data must be written will be available with write access. This prevents a lot of security breaches
Title: Re: Hosting a wiki on SME9
Post by: Jean-Philippe Pialasse on June 09, 2016, 01:33:13 PM
Gentlemen,
We are moving away from the initial question to an endless talk.

We have numerous example of this particular talk on this forum or in the French ixus.net forum ( opt / ibay / contrib).

Is Dokuwiki as contrib and howtos for others are enough to cover the need or do you need we work on importing mediawiki (https://pkgs.org/search/mediawiki) as contribs for sme9 ?

Title: Re: Hosting a wiki on SME9
Post by: DanB35 on June 10, 2016, 02:29:54 AM
For my purposes, dokuwiki appears to be sufficient.
Title: Re: Hosting a wiki on SME9
Post by: Jean-Philippe Pialasse on June 10, 2016, 04:06:37 AM
For my purposes, dokuwiki appears to be sufficient.

thank you Dan.
there are so many contribs and so few taskforce, that I try to work first on the one peoples ask for or can give a hand.