Open mdanetzky opened 6 years ago
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.
docker-compose.yml
and config.yml
with private info removed?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.
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
observe login still popping up.