DesktopEdition Questions & Comments
<< back to DesktopEdition why not using the link in the theme left part of DesktopEdition/DesktopEditionQuestions?
- How do I run over ssl in standalone mode?
- I cannot get the "unzip" link to appear when I upload a zip file. Desktop Edition has very open permissions, so I should not have to set any ACL. I am logged-in with my username, I can upload files, but only individually. It would be very useful to "batch upload" files using the unzip feature. How do I enable this feature in Desktop Edition?
- I would like to migrate an existing Moinx desktop wiki to Moinmoin desktop edition. Once I install Moinmoin desktop, is there an easy way to just copy the files over from the Moinx installation to the Moinmoin one ? Thanks !!!
Is there a graceful way to shutdown the standalone server on windows - is simply closing the DOS-like command window enough? yes, that is enough.
- What's the recommended way of running multiple desktop wikis? Are there instructions for how to do this somewhere?
- look into wikiserverconfig.py and change the port of a wiki to be different than 8080
or use the moin command pointing on different wiki instances and a different port
MoinMoinTodo/Release 1.6.0 states
in case you are still running a pre-1.5 moin version, please consider upgrading to latest 1.5 release (currently 1.5.8) before you want to upgrade to 1.6.x
Installations of the released DesktopEdition are still at MoinMoin 1.5.5, which means that following the advice on migrating to 1.6.0 forces migration to a full installation of MoinMoin 1.5.8, then the upgrade to 1.6. Is there a better option. If not, will there be one?
- The migration is very likely to also work from a 1.5.5 data directory. The advice with 1.5.8 is because we use a modified copy of the 1.5.8 parser for the migration and is mainly addressed to users who still use very old moin versions.
In Changes in the 1.6 repository is the statement:
The standalone server script moved to the toplevel directory. This makes it possible to directly start moin.py without additional configuration to run a MoinMoin DesktopEdition like wiki setup.
If so, further work on DesktopEdition might be wasted effort. I am not a MoinMoin developer, so I must ask: is it planned that DesktopEdition is no longer supported with MoinMoin 1.6 and later versions?
This change integrates the DesktopEdition into the MoinMoin release.
... in that case, this page needs cleanup. At present it contains instructions for download and installation of Desktop Edition of MoinMoin 1.5.5. It ought to focus on MoinMoin 1.6 set-ups that offer the features that made MoinDesktop under MoinMoin 1.5.5 so useful. This page should simply state that users of MoinMoin 1.5.5 DesktopEdition can use the release version of 1.6 or later. The page should also provide instructions for upgrading a DesktopEdition set-up, or link to those instructions. The contents that are relevant to deploying DesktopEdition under 1.5 and earlier remain valuable; they should be moved elsewhere -- perhaps to a page documenting the set-up of the earlier version.
I have added a link at the first paragraph of this page, but I think the standalone mode of moin 1.6 is not the same as the DesktopEdition. The standalone-mode moin is not portable on a USB-drive. Or am I wrong? -- PascalR 2008-02-11 13:16:30
It does work very well from a USB-drive too.
-- ReimarBauer 2008-02-11 15:53:18
OK, there are these Points 1 to 4 at HelpOnInstalling/StandaloneServer, wich confused me. I thougt, it is necessary to use the installation script. But it works right out of the Box, located in any path. -- PascalR 2008-02-12 17:48:20
- How to package moin 1.6 with content and Python?
I am interested in a way to make an easy-to-use package out of a standalone wiki with content (as an editable manual). It should work (at least in Windows) without having Python installed on the computer. There is a file /contrib/DesktopEdition/setup_py2exe.py should I use this? Or what do you think is the best way? -- PascalR 2008-02-12 17:48:20
I'm trying to do this, too, because I want to set up a serverless wiki - no installation required - must be multiuser - just put the files on a shared drive and use it. I found Portable Python, but I haven't tried it yet. scott.tiner( @ ) yahoo.com
- I Have installed it in Windows (simply uncompressing into a folder) and so far I have found two problems:
- In wikiconfig.py, adding the line sitename = u'SampleWiki' causes a syntax error when I try to open a page. I didn't forget the 4 spaces, I tried with double quotes instead of single ones... always the same. - linktexts don't work: [[InternalPage|show this text]] produces exactly what you type, brackets included (and the page name linked). Changing the number of brackets, adding quotes, spaces, etc. did not work.
Am I missing anything? David 2008-05-12 00:13:20
Do you have used 1.6.3? You may want to show your wikiconfig.py.
I use 1.5.5. I don't mind updating to a newer DesktopEdition (1.6.x?) as long as it still works from a USB. My wikiconfig.py is below, the commented line gives an error if I uncomment it; apart from that line and changing the coding to UTF, all is as in the original.
# -*- coding: utf-8 -*- "MoinMoin - Configuration" from MoinMoin.multiconfig import DefaultConfig class Config(DefaultConfig): acl_rights_after = acl_rights_default = u"All:read,write,delete,revert,admin" # sitename = 'DubiDubiWiki'
Thanks - David 2008-05-12 11:46:00
Well for the link text you have to read the help pages in your wiki (1.6 has a different syntax for that). indenting of sitename looks wrong it needs to be on the same position as acl_rights_after. -- ReimarBauer 2008-05-13 07:36:37
Indeed, my version has a slightly different syntax for links... now I got it working. On the other hand, the indenting of sitename was correct when I typed it (4 spaces), but you are right... it looks strange because my editor changed them into a tabulation. Now it works like a charm. Thanks a lot 2008-05-13 20:07:37
1.6.3 works pretty well from a USB disk too
-- ReimarBauer 2008-05-13 20:18:54
- How to run multiple wikis?
- The standalone / desktop edition is maybe not quite the appropriate thing to run a wiki farm, but nevertheless it could work like that:
- use host based wiki farming: alias multiple host names to the same IP (e.g. 127.0.0.1), use your hosts file or DNS for this
- use path based wiki farming (you maybe need to change how the standalone server works as it usually serves 1 wiki at / (root) url)
- How to add a user from the command line :
there is file wiki/server/moin , run it as moin account create --name=username --password=secret_password --email=_ ( see modules in MoinMoin/script/account for more options ) . This will create a file "timestamp.random_number" in wiki/data/user -- remove it to remove a user .
How to enable logging for DesktopEdition(1.9.7) --- holzkaefer 2014-05-05 13:46:00
wikiserverlogging.py default doesn't write anything to moin.log; after touch moin.log file stays empty, as user and as root
default writes to stderr(console which starts wikiserver.py); set level = DEBUG in wikiserverlogging.py to get more information!
How to SyncJob DesktopEdition <> MainServer ? (this is how I tried it) --- holzkaefer 2014-05-06 11:42:00
server-moin wikiconfig.py - xmlrpc is excluded from actions; must be removed from excluded:
actions_excluded = MoinMoin.config.multiconfig.DefaultConfig.actions_excluded actions_excluded.remove('xmlrpc')
desktop-moin needs interwikiname in wikiconfig.py right under sitename
interwikiname = u'mywiki'
- server-moin needs interwikiname too
check interwikiname with <<SystemAdmin>>
- syncjobtemplate (beware of syntax)
error -> ?action=xmlrpc2 >> empty? called from client(desktop-moin)
?action=xmlrpc2 > String
<class 'xml.parsers.expat.ExpatError'>: no element found: line 1, column 0 File "/usr/lib/python2.6/site-packages/MoinMoin/xmlrpc/__init__.py", line 140, in process params, method = xmlrpclib.loads(data) File "/usr/lib64/python2.6/xmlrpclib.py", line 1183, in loads p.close() File "/usr/lib64/python2.6/xmlrpclib.py", line 604, in close self._parser.Parse("", 1) # end of data
- the problem was resolved... it was my ssl-redirect and I had the interwikiname pointed at http...
I will try to summaries this into a new howto-sync