Re: Fwd: data_underlay_dir Not being what it's supposed to be
Rovanion Luckey <[email protected]> Mon, 13 Oct 2014 12:56:09 +0200
| Newsgroups | gmane.comp.web.wiki.moin.general |
|---|---|
| Message-ID | <CAAaf0CCZneMncL6PSwuLRiHOqd4zQoRG1Z4PMMSJCCkgx-etrg@mail.gmail.com> |
Yes, thank you! Adding the line in mywiki.py about data_underlay_dir ended up working! 2014-10-12 23:44 GMT+02:00 Paul Boddie <[email protected]>: > On Sunday 12. October 2014 17.09.53 Rovanion Luckey wrote: > > Hi, > > I'm trying to set up MoinMoin using the packages in the Ubuntu > > repositories, nginx and uwsgi. I'm having an issue [0] where I get an > error > > stating that the underlay directory is not accessible where > > data_underlay_dir is stated to be located in a directory not set in any > > config file. > > > > You see the error [0] says that data_underlay_dir is set to ./underlay > > while the wikiconfig.py clearly sets it to a non-relative url. > > The wikiconfig.py file probably isn't used. See below for why I think this > is. > > > For completeness my site conf [2], uwsgi conf [3] and farmconf [4] is > also > > provided in the links below. > > > > I've made sure to restart uwsgi after changing the configurations related > > to moinmoin, even though a reload should suffice. The nginx conf [5] > points > > to the socket provided by uwsgi, has been restarted and .. well .. I'm > > running short of ideas. > > > > [0] http://paste.debian.net/125837/ > > [1] http://paste.ubuntu.com/8546386/ > > In this copy of the configuration (wikiconfig.py), I see the following > lines... > > instance_dir = /usr/share/moin/ > > # Where your own wiki pages are (make regular backups of this > directory): > data_dir = os.path.join(instance_dir, 'data', '') # path with trailing > / > > # Where system and help pages are (you may exclude this from backup): > data_underlay_dir = /usr/share/moin/underlay/ # path with trailing / > > Note that neither instance_dir nor data_underlay_dir seem to be set to > valid > strings. Remember that this file is a Python source file and thus these > values > must be valid Python syntax. > > Since this file seems to be for a single wiki and not for a farm (or > instance > thereof), I imagine that you aren't using this particular file, however. If > this file were being used, you'd get a syntax error from Moin, certainly. > > Meanwhile... > > > [2] http://paste.ubuntu.com/8546401/ > > ...in this file (mywiki.py) you might consider setting something like... > > data_underlay_dir = '/usr/share/moin/underlay' > > ...just to see if it helps. > > Paul > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > http://p.sf.net/sfu/Zoho > _______________________________________________ > Moin-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/moin-user > ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://p.sf.net/sfu/Zoho _______________________________________________ Moin-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/moin-user