H2CK / webtrees

Docker Image containing Webtrees
Apache License 2.0
36 stars 9 forks source link

Modules not loading. #54

Closed arsaboo closed 2 years ago

arsaboo commented 2 years ago

I have added a custom module under the modules_v4 folder, but it is not showing up anywhere (even under preferences). I am using the latest version (2.1.1) of Webtrees in docker and I am using the descendants chart, which was updated to support the latest release. Here's my docker-compose file:

version: '3.0'

services:
  webtrees:
    image: dtjs48jkt/webtrees
    restart: unless-stopped
    container_name: webtrees
    ports:
      - 8079:8079
    environment:
      - DISABLE_SSL=TRUE
      - PORT=8079
    volumes:
      - /mnt/docker/containers/webtrees/data:/var/www/html/data
      - /mnt/docker/containers/webtrees/modules_v4:/var/www/html/modules_v4
      - /mnt/docker/containers/webtrees/media:/var/www/html/media
    networks:
      - my-network

  mysql:
    image: mysql:5.5
    restart: unless-stopped
    container_name: webtrees_mysql
    environment:
      - MYSQL_ROOT_PASSWORD=PASSWORD
      - MYSQL_DATABASE=webtrees
      - MYSQL_USER=webtrees
      - MYSQL_PASSWORD=PASSWORD
    networks:
      - my-network
    volumes:
      - /mnt/docker/containers/webtrees_mysql:/var/lib/mysql
networks:
  my-network:

Everything is working except for the custom modules. It does not even show up in modules:

image
arsaboo commented 2 years ago

Sorry....looks like it was a permission issue. changed the permissions to 777 and now it is working :)