After updating my WikiJS docker container I suddenly get presented with this error on the logs of the container:
EACCES: permission denied, mkdir ‘/home/wiki’
This happens with pretty much anything related to the wiki application i’m using.
I’m pretty sure the solution is to chmod 777 a certain directory but for the love of god I have no idea where this is. The user ID in my container = 1000 but it doesn’t seem to have the correct permissions anymore after I updated the wikijs imaage
.
All github pages and posts seem to point at the same thing but I can’t figure out where this directory is. Can’t find it in the container or on the attached volume. I have no clue where this is located
Been stuck for a good 6 hours so all help is much appreciated!
Ubuntu 20.04 LTS
WikiJS
Using Docker Compose
in case it helps, here’s my docker compose file
version: "3"
services:
db:
image: postgres:11-alpine
environment:
POSTGRES_DB: wiki
POSTGRES_PASSWORD: nodetails
POSTGRES_USER: nodetails
driver: "none"
restart: unless-stopped
volumes:
- db-data:/var/lib/postgresql/data
wiki:
image: requarks/wiki:2
depends_on:
- db
environment:
DB_TYPE: postgres
DB_HOST: db
DB_PORT: 5432
DB_USER: nodetails
DB_PASS: nodetails
DB_NAME: wiki
restart: unless-stopped
ports:
- "3000:3000"
volumes:
db-data:
networks:
web:
external: true
wiki-js_default:
external: false