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

Mehma Sarja mehmasarja at gmail.com
Fri Aug 17 15:52:58 EDT 2018


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/20180817/95bdccfb/attachment.html>


More information about the moin-user mailing list