[moin-user] Newbie Needs Help - Moin won't load full page [long post]

Mehma Sarja mehmasarja at gmail.com
Sun Aug 19 12:26:34 EDT 2018


UNCLE
Httpd attempt didn't work out. I changed the data directory to
/var/www/htdocs in wikiconfig.py and copied the directory over. And finally
started httpd and restarted moin. That's probably not the way to go.

So I'm giving up but remain hopeful if someone has gone through the pain to
shed some light. I'll make moin a backup wiki server.

HISTORY
A little story of how I got here. In my quest to find a simpler server, I
found moin. A short while ago, my previous server divorced me due to
infidelity to the OS. I had Arch linux on the beagle bone black and it was
maxing out the puny 2 GB built in storage. I attempted to slash the OS a
bit too much and messed it up. Bought a microsd card and started over.

For some reason arch won't load now and I end up with openbsd. Beautiful os
and it has packages for both moin and my divorcee wiki..... wait for
it....dokuwiki. Yes php. Now you know why a simpler python application
appealed to me.

Installed dokuwiki first and it wants new to load all of X with it. Talk
about bloat. All I'm trying for is a wiki for my home. People I'm talking
two dozen pages to host my accounts info.

Now moin is strike two. I purchased raspberry pi and will be loading slitaz
linux and running tazwikiss which is an offshoot of lionwiki with busybox
httpd. Pure and simple. Yes, I know how that load goes and it works.

Yudhvir


On Sat, Aug 18, 2018, 9:24 AM Mehma Sarja <mehmasarja at gmail.com> wrote:

> UPDATE
> Clearing of cache with moin maint made no difference. Next up, change
> webserver. Try openbsd default httpd first. Then lighttpd.
>
> Yudhvir
>
>
>
> On Fri, Aug 17, 2018, 6:18 PM Mehma Sarja <mehmasarja at gmail.com> wrote:
>
>> UPDATE
>> Some pages load fine and others are slow to load or timeout. However, I
>> have learned that waiting 3 to 4 minutes does make some loads complete. I
>> have about a couple of dozen pages and a handful are giving me this
>> slow-load problem. Which made me think it is some character/s in the page
>> which is doing this.
>>
>> I've rebooted the machine and the symptom does not go away. Now I am
>> shooting to clear out any cache. Mind you, I'm just shooting blanks hoping
>> something will come of it.
>>
>> Yudhvir
>>
>> On Fri, Aug 17, 2018 at 12:52 PM Mehma Sarja <mehmasarja at gmail.com>
>> wrote:
>>
>>> Hi All,
>>>
>>> INTRO
>>> I'm a newbie Moin user and need your help. I've looked through a few of
>>> the back threads of the list and did not find any reference to the problem
>>> I am having. Sorry if this has been discussed before. If so, please point
>>> me there.
>>>
>>> For the longest time, I thought there is a special character in my page
>>> that is causing Moin or Python to not render the full page. The page load
>>> indicator just keeps spinning.
>>>
>>> ENVIRONMENT
>>> I have installed the wiki on my home server, a BeagleBone Black on an
>>> OpenBSD OS. Details are below.
>>>
>>> PROBLEM
>>> Some of my wiki pages load fine, others load partially. The partial
>>> loads are inconsistent on how much info is loaded.
>>>
>>> Thanks,
>>>
>>> Yudhvir
>>> ---
>>> SETUP
>>> ----
>>> Python 2.7.15
>>> OpenBSD 6.4 GENERIC#33 armv7 - on a Beaglebone Black micro sd card
>>> INSTALL - installed moinmoin via OpenBSD package manager pkg_add as user
>>> root. It installed python as well.
>>> RUN THE WIKI
>>> moin server standalone --config-dir=/usr/local/share/moin/config
>>>                        --wiki-url=http://localhost:8080/sidhuwiki
>>>                        --host 0.0.0.0
>>>                        --interface '' &
>>>
>>> I get this on the terminal when I run the wiki process:
>>> 2018-08-16 10:19:39,631 INFO MoinMoin.log:151 using logging
>>> configuration read from built-in fallback in MoinMoin.log module
>>> 2018-08-16 10:19:39,634 INFO MoinMoin.log:157 Running MoinMoin 1.9.9
>>> release code from /usr/local/lib/python2.7/site-packages/MoinMoin
>>> 2018-08-16 10:19:40,964 INFO werkzeug:87  * Running on
>>> http://localhost:8080/ (Press CTRL+C to quit)
>>>
>>> WHEN I BROWSE TO THE WIKI AND OPEN UP ONE OF MY PAGES:
>>> 2018-08-16 10:21:35,329 WARNING MoinMoin.log:112
>>> /usr/local/lib/python2.7/site-packages/MoinMoin/support/werkzeug/filesystem.py:63:
>>> BrokenFilesystemWarning: Detected a misconfigured UNIX filesystem: Will use
>>> UTF-8 as filesystem encoding instead of 'US-ASCII'
>>> 2018-08-16 10:21:35,522 INFO MoinMoin.config.multiconfig:127 using wiki
>>> config: /usr/local/share/moin/config/wikiconfig.py
>>> 2018-08-16 10:21:36,798 WARNING MoinMoin.Page:1530 The page
>>> "MissingPage" could not be found. Check your underlay directory setting.
>>> 2018-08-16 10:21:36,905 INFO MoinMoin.web.serving:41 192.168.1.150 "GET
>>> /sidhuwiki HTTP/1.1" 404 -
>>>
>>> When I edit and save a page:
>>> 2018-08-16 10:37:15,793 INFO MoinMoin.web.serving:41 192.168.1.150 "GET
>>> /sidhuwiki/moin_static199/modernized/css/print.css HTTP/1.1" 404 -
>>> 2018-08-16 10:37:15,840 INFO MoinMoin.web.serving:41 192.168.1.150 "GET
>>> /sidhuwiki/moin_static199/modernized/css/projection.css HTTP/1.1" 404 -
>>> 2018-08-16 10:37:27,715 INFO MoinMoin.web.serving:41 192.168.1.150 "POST
>>> /utilities HTTP/1.1" 200 -
>>> 2018-08-16 10:37:28,220 WARNING MoinMoin.Page:1530 The page
>>> "MissingPage" could not be found. Check your underlay directory setting.
>>>
>>> I've checked the underlay directory setting in wikiconfig.py and it
>>> matches what's on the system.
>>> The underlay directory has a subdirectory called pages. Which contains
>>> BadContent and LanguageSetup subdirectories.
>>>
>>> CONFIG FILE SNIPPET /usr/local/share/moin/config/wikiconfig.py
>>> import os
>>> from MoinMoin.config import multiconfig, url_prefix_static
>>> class Config(multiconfig.DefaultConfig):
>>> instance_dir = '/usr/local/share/moin/'
>>> data_dir = '/usr/local/share/moin/data/'
>>> data_underlay_dir = '/usr/local/share/moin/underlay/'
>>>   url_prefix_static = '/sidhuwiki' + url_prefix_static
>>>     sitename = u'Sidhu Wiki'
>>>
>>> DIRECTORIES
>>> /usr/local/share/moin/
>>>
>>> drwxr-xr-x   6 root   wheel  512 Aug 13 15:02 .
>>> drwxr-xr-x  23 root   wheel  512 Aug 13 15:02 ..
>>> drwxr-xr-x   5 root   wheel  512 Aug 14 10:57 config
>>> drwxr-xr-x   7 sidhu  sidhu  512 Aug 13 15:03 data
>>> drwxr-xr-x   2 root   wheel  512 Aug 13 15:03 server
>>> drwxr-xr-x   3 sidhu  sidhu  512 Aug 13 15:02 underlay
>>>
>>> /usr/local/share/moin/config/
>>> drwxr-xr-x  2 root  wheel   512 Aug 13 15:03 logging
>>> drwxr-xr-x  2 root  wheel  1024 Aug 13 15:03 more_samples
>>> -rw-r--r--  1 root  bin    7482 Aug 16 08:32 wikiconfig.py
>>> -rw-r--r--  1 root  wheel  6800 Aug 13 16:10 wikiconfig.py.ORIG
>>> -rw-r-----  1 root  wheel  2126 Aug 13 18:23 wikiconfig.pyc
>>> drwxr-xr-x  2 root  wheel   512 Aug 13 15:03 wikifarm
>>>
>>> /usr/local/share/moin/data
>>> drwxr-xr-x   7 sidhu  sidhu     512 Aug 13 15:03 .
>>> drwxr-xr-x   6 root   wheel     512 Aug 13 15:02 ..
>>> drwxr-xr-x   4 sidhu  sidhu     512 Aug 13 18:23 cache
>>> drwxr-xr-x   2 sidhu  sidhu     512 Aug 13 15:03 dict
>>> -rw-r--r--   1 sidhu  sidhu    7469 Aug 16 08:12 edit-log
>>> -rw-r--r--   1 sidhu  sidhu  996918 Aug 16 08:29 event-log
>>> -rw-r--r--   1 sidhu  sidhu    5053 Oct 31  2016 intermap.txt
>>> -rw-r--r--   1 sidhu  sidhu      30 Oct 31  2016 meta
>>> drwxr-xr-x  56 sidhu  sidhu    1024 Aug 14 21:07 pages
>>> drwxr-xr-x  12 sidhu  sidhu     512 Aug 13 18:23 plugin
>>> drwxr-xr-x   3 sidhu  sidhu     512 Aug 14 11:14 user
>>>
>>> /usr/local/share/moin/data/edit-log - last few lines
>>> 1534429804586615        00000018        SAVE    utilities
>>>  192.168.1.150   192.168.1.150   1534270425.86.24878
>>> 1534431856766358        00000019        SAVE    utilities
>>>  192.168.1.150   192.168.1.150   1534270425.86.24878
>>> 1534432379306033        00000020        SAVE    utilities
>>>  192.168.1.150   192.168.1.150   1534270425.86.24878
>>>
>>> /usr/local/share/moin/data/event-log - last few lines
>>> 1534433380521895        VIEWPAGE
>>> pagename=sidhuwiki%2Fmoin_static199%2Fmodernized%2Fcss%2Fscreen.css&HTTP_USER_AGENT=Mozilla%2F5.0+%28X11%3B+Linux+x86_64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F68.0.3440.84+Safari%2F537.36&HTTP_REFERER=http%3A%2F%2F192.168.1.10%3A8080%2Futilities&REMOTE_ADDR=192.168.1.150
>>> 1534433380694323        VIEWPAGE
>>> pagename=sidhuwiki%2Fmoin_static199%2Fmodernized%2Fcss%2Fcommon.css&HTTP_USER_AGENT=Mozilla%2F5.0+%28X11%3B+Linux+x86_64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F68.0.3440.84+Safari%2F537.36&HTTP_REFERER=http%3A%2F%2F192.168.1.10%3A8080%2Futilities&REMOTE_ADDR=192.168.1.150
>>> 1534433381217126        VIEWPAGE
>>> pagename=sidhuwiki%2Fmoin_static199%2Fmodernized%2Fcss%2Fprojection.css&HTTP_USER_AGENT=Mozilla%2F5.0+%28X11%3B+Linux+x86_64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F68.0.3440.84+Safari%2F537.36&HTTP_REFERER=http%3A%2F%2F192.168.1.10%3A8080%2Futilities&REMOTE_ADDR=192.168.1.150
>>> 1534433381329164        VIEWPAGE
>>> pagename=sidhuwiki%2Fmoin_static199%2Fmodernized%2Fcss%2Fprint.css&HTTP_USER_AGENT=Mozilla%2F5.0+%28X11%3B+Linux+x86_64%29+AppleWebKit%2F537.36+%28KHTML%2C+like+Gecko%29+Chrome%2F68.0.3440.84+Safari%2F537.36&HTTP_REFERER=http%3A%2F%2F192.168.1.10%3A8080%2Futilities&REMOTE_ADDR=192.168.1.150
>>>
>>>
>>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20180819/46d45a87/attachment.html>


More information about the moin-user mailing list