Giter Site home page Giter Site logo

Comments (5)

NGPixel avatar NGPixel commented on May 10, 2024

Seems like native modules were not compiled properly.
Stop wiki.js (node wiki stop) and then run the following commands:

npm install
npm rebuild

from wiki.

nullpixel avatar nullpixel commented on May 10, 2024

@NGPixel I ran these commands, the wiki still isn't working.

If it helps, we're not running as root, and there's nothing logged into the logs anymore

from wiki.

nullpixel avatar nullpixel commented on May 10, 2024

@thomasmiguelthompson Can be closed, the wiki requires root to run.

Or you can port redirect, like me iptables -A PREROUTING -t nat -i eth0 -p tcp --dport 80 -j REDIRECT --to-port 8080.

This could be made clearer in the documentation.

from wiki.

sleepadru avatar sleepadru commented on May 10, 2024

Thanks ❤️
It was a pain to setup, but nevertheless is not bad

from wiki.

NGPixel avatar NGPixel commented on May 10, 2024

I added a Troubleshooting section in the documentation:

https://docs.wiki.requarks.io/troubleshooting

There's no need to run Wiki.js as root (and not recommended either). This is an issue with Node.js in general, not specific to Wiki.js. The port redirect is good solution however, authorizing the node user to use the 80 port is even better. Check solution A in the link above.

Nick

from wiki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.