Metastem / wikiless

A free open source alternative Wikipedia front-end focused on privacy.
https://wikiless.metastem.su/
GNU Affero General Public License v3.0
175 stars 19 forks source link

Local Wikiless instance quasi-broken #96

Closed harkfujow closed 1 year ago

harkfujow commented 1 year ago

I'm running a local instance of wikiless for my use only. Recently it sort of broke. I can go to any wikipedia article (e.g. from a web search using LibRedirect). However, clicking any link in the article gives me an error. Here is my docker-compose:

version: "3.7"

services:
  wikiless:
   #build from source, incase repo goes down!
    #build:
      #context: .
      #dockerfile: Dockerfile
    image: ghcr.io/metastem/wikiless:latest
    restart: always
    networks:
      wikiless_net:
        ipv4_address: 172.4.0.6
    environment:
      REDIS_HOST: redis://172.4.0.5:6379
    ports:
      - "8380:8080" # change port if needed
    security_opt:
      - no-new-privileges:true
    cap_drop:
      - ALL
    depends_on:
        - wikiless_redis

  wikiless_redis:
    image: redis:latest
    restart: always
    networks:
      wikiless_net:
        ipv4_address: 172.4.0.5
    ports:
      - "6379"
    user: nobody
    read_only: true
    security_opt:
      - no-new-privileges:true
    tmpfs:
      - /data:size=10M,mode=0770,uid=65534,gid=65534,noexec,nosuid,nodev
    cap_drop:
      - ALL
    cap_add:
      - SETGID
      - SETUID
      - DAC_OVERRIDE

networks:
  wikiless_net:
    ipam:
      config:
        - subnet: 172.4.0.0/16

Everything was working fine, but now I get (from today's front page):

Cannot GET /Revolutionary_Girl_Utena

I've noticed that when the link resolves it's missing '/wiki/' in the URL. If I manually add it in, it works.

This doesn't work: http://192.168.1.114:8380/Revolutionary_Girl_Utena?lang=en This does: http://192.168.1.114:8380/wiki/Revolutionary_Girl_Utena?lang=en

Any help would be appreciated.