Closed unstablemaple closed 1 year ago
Same issue here.
I am trying to host a public instance for wikiless, however for each link that I click it returns
CANNOT GET <topic>
. I have tried redirectinghttps://wiki.example.com
tohttps://wiki.example.com/
using NGINX but then nothing seems to function properly. NGINX serves the instance as it supposed to but links and other CSS elements don't load. Any idea how to fix this?
I got it working. I edited wikiless.config to use my domain (without the https://).
domain: process.env DOMAIN || 'wikiless.hyperreal.coffee'
Then I removed the images that were built, because those images were using the old wikiless.config. I ran podman-compose again, which rebuilt the images and created containers with the new config. This seems to have done the trick.
If you're using Docker, the commands are the same, but you replace "podman-" with "docker-".
Stop the wikiless instance:
podman-compose down
Remove the image that was built previously:
podman rmi localhost/wikiless_wikiless
Run the compose command again:
podman-compose up -d
The wikiless image will be rebuilt with the new config.
@hyperreal64 It's still not working, it loads a static page and the CSS elements aren't working properly.
@hyperreal64 It's still not working, it loads a static page and the CSS elements aren't working properly.
Can you provide a screen shot?
I have noticed that the CSS is messed up when using the dark theme on some instances. My instance does not have this issue. Does this issue happen for you on a specific theme, or all of them?
@hyperreal64 Surely, And this is what I get in the console:
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.
wikiless | Got key https://en.wikipedia.org/?useskin=vector&useskin=vector from cache.```
I don't see anything wrong in the screenshot. Can you paste your wikiless.config (removing secret information)?
I am trying to host a public instance for wikiless, however for each link that I click it returns
CANNOT GET <topic>
. I have tried redirectinghttps://wiki.example.com
tohttps://wiki.example.com/
using NGINX but then nothing seems to function properly. NGINX serves the instance as it supposed to but links and other CSS elements don't load. Any idea how to fix this?