Allow guest without login
Wiki.js always prompts for user login
There should be a way to allow everyone to see wiki pages without the need to log in
in config.yml set
public: true
auth:
defaultReadAccess: true
local:
enabled: true
observe login still popping up.
Setting public: true will allow guest viewing. Have you restarted Wiki.js after making the change?
Yes, I did restart it. I even upgraded the wiki.js (and lost all the pages in the process).
All content is stored in /repo folder, which is kept in sync with your remote git. The only way to loose your pages is that you delete the repo folder AND didn't configure the remote git sync.
We know that now! We assumed, that the wiki/tools/docker-compose.yml creates all mutable volumes automatically. This is not true. We have learned our lesson the hard way and will not trust these files in the future. Back to main topic - public wiki is not working - so we decided to publish markdown using other means.
Nobody else has this issue so you must be doing something wrong.
- Can you share your
docker-compose.ymlandconfig.ymlwith private info removed? - In the wiki, under Account > Users, is the Guest account listed? What are the access rights of that user?
It is https://github.com/Requarks/wiki/blob/master/tools/docker-compose.yml It was the default Guest user, we haven't change it.
I have the same (or similar?) problem.
public: true
auth:
defaultReadAccess: false
local:
enabled: true
When entering the top URL in the browser I get the "Forbidden" sign:

Related to issue #143
If you set "public: true" after first starting the site / container, you'll need to edit / wipe the MongoDB database to remove the guest account. It needs to be recreated with the public permission.