Skip to content

moin run results in Wiki index not found error #1893

@ernstki

Description

@ernstki

Hi all, hope you're well.

Surprisingly there didn't seem to be any existing search results for this one, in several different search engines, nor a mention of it in the issue tracker. Fixing that!

Excerpt of error log running moin create-instance --full
⋮
Item loaded: video.mp4
Success: help namespace help-common loaded successfully with 7 items
2025-04-10 03:13:55,330 INFO moin.cli.maint.modify_item:338 Load welcome page started
2025-04-10 03:13:55,545 INFO moin.cli.maint.modify_item:347 Load welcome finished
2025-04-10 03:13:55,545 ERROR moin.cli.maint.index:122 Error: Wiki index does not exist.

# echo $? 1
Log after running moin run
# moin run
    2025-04-10 03:14:13,406 ERROR moin.app:179 Error: Wiki index not found. Try 'moin help' or 'moin --help' to get further information.

Workaround

moin index-create
moin index-build
moin run

If you're trying to do this inside a Docker container, the following RUN statement

RUN . <path-to-venv>/bin/activate && moin create-instance --full || true

…will prevent the build from stopping on error at that statement.

Environment details

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions