crazy-max / docker-flarum

Flarum Docker image
MIT License
176 stars 32 forks source link

Can`t Enable Tags Extensions #105

Open AkarinLiu opened 3 months ago

AkarinLiu commented 3 months ago

Support guidelines

I've found a bug and checked that ...

Description

I Enable Tags Extension, Can`t enabled.

Expected behaviour

Tags Extension Can Enabled.

Actual behaviour

Tags Extension Can`t Enabled.

Steps to reproduce

  1. Click to Administration Dashboard
  2. Enable "Tags" Extension

Docker info

PS C:\Users\AkarinLiu> podman info
host:
  arch: amd64
  buildahVersion: 1.33.5
  cgroupControllers:
  - cpuset
  - cpu
  - cpuacct
  - blkio
  - memory
  - devices
  - freezer
  - net_cls
  - perf_event
  - net_prio
  - hugetlb
  - pids
  - rdma
  - misc
  cgroupManager: cgroupfs
  cgroupVersion: v1
  conmon:
    package: conmon-2.1.10-1.fc39.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.1.10, commit: '
  cpuUtilization:
    idlePercent: 97.18
    systemPercent: 1.23
    userPercent: 1.58
  cpus: 4
  databaseBackend: sqlite
  distribution:
    distribution: fedora
    variant: container
    version: "39"
  eventLogger: journald
  freeLocks: 2046
  hostname: DESKTOP-PCT22CE
  idMappings:
    gidmap: null
    uidmap: null
  kernel: 5.15.146.1-microsoft-standard-WSL2
  linkmode: dynamic
  logDriver: journald
  memFree: 1885691904
  memTotal: 2950324224
  networkBackend: netavark
  networkBackendInfo:
    backend: netavark
    dns:
      package: aardvark-dns-1.10.0-1.fc39.x86_64
      path: /usr/libexec/podman/aardvark-dns
      version: aardvark-dns 1.10.0
    package: netavark-1.10.3-1.fc39.x86_64
    path: /usr/libexec/podman/netavark
    version: netavark 1.10.3
  ociRuntime:
    name: crun
    package: crun-1.14.4-1.fc39.x86_64
    path: /usr/bin/crun
    version: |-
      crun version 1.14.4
      commit: a220ca661ce078f2c37b38c92e66cf66c012d9c1
      rundir: /run/crun
      spec: 1.0.0
      +SYSTEMD +SELINUX +APPARMOR +CAP +SECCOMP +EBPF +CRIU +LIBKRUN +WASM:wasmedge +YAJL
  os: linux
  pasta:
    executable: /usr/bin/pasta
    package: passt-0^20240220.g1e6f92b-1.fc39.x86_64
    version: |
      pasta 0^20240220.g1e6f92b-1.fc39.x86_64-pasta
      Copyright Red Hat
      GNU General Public License, version 2 or later
        <https://www.gnu.org/licenses/old-licenses/gpl-2.0.html>
      This is free software: you are free to change and redistribute it.
      There is NO WARRANTY, to the extent permitted by law.
  remoteSocket:
    exists: true
    path: /run/podman/podman.sock
  security:
    apparmorEnabled: false
    capabilities: CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FOWNER,CAP_FSETID,CAP_KILL,CAP_NET_BIND_SERVICE,CAP_SETFCAP,CAP_SETGID,CAP_SETPCAP,CAP_SETUID,CAP_SYS_CHROOT
    rootless: false
    seccompEnabled: true
    seccompProfilePath: /usr/share/containers/seccomp.json
    selinuxEnabled: false
  serviceIsRemote: true
  slirp4netns:
    executable: /usr/bin/slirp4netns
    package: slirp4netns-1.2.2-1.fc39.x86_64
    version: |-
      slirp4netns version 1.2.2
      commit: 0ee2d87523e906518d34a6b423271e4826f71faf
      libslirp: 4.7.0
      SLIRP_CONFIG_VERSION_MAX: 4
      libseccomp: 2.5.3
  swapFree: 1073741824
  swapTotal: 1073741824
  uptime: 0h 17m 9.00s
  variant: ""
plugins:
  authorization: null
  log:
  - k8s-file
  - none
  - passthrough
  - journald
  network:
  - bridge
  - macvlan
  - ipvlan
  volume:
  - local
registries:
  search:
  - docker.io
store:
  configFile: /usr/share/containers/storage.conf
  containerStore:
    number: 2
    paused: 0
    running: 2
    stopped: 0
  graphDriverName: overlay
  graphOptions:
    overlay.imagestore: /usr/lib/containers/storage
    overlay.mountopt: nodev,metacopy=on
  graphRoot: /var/lib/containers/storage
  graphRootAllocated: 1081101176832
  graphRootUsed: 1264140288
  graphStatus:
    Backing Filesystem: extfs
    Native Overlay Diff: "false"
    Supports d_type: "true"
    Supports shifting: "false"
    Supports volatile: "true"
    Using metacopy: "true"
  imageCopyTmpDir: /var/tmp
  imageStore:
    number: 2
  runRoot: /run/containers/storage
  transientStore: false
  volumePath: /var/lib/containers/storage/volumes
version:
  APIVersion: 4.9.3
  Built: 1708357294
  BuiltTime: Mon Feb 19 23:41:34 2024
  GitCommit: ""
  GoVersion: go1.21.7
  Os: linux
  OsArch: linux/amd64
  Version: 4.9.3

Docker Compose config

version: "3"
services:
  runtime:
    image: crazymax/flarum
    environment:
      - UPLOAD_MAX_SIZE=10m
      - FLARUM_BASE_URL=http://localhost:8008
      - DB_HOST=database
      - DB_NAME=flarum
      - DB_USER=flarum
      - DB_PASSWORD=flarum
    volumes:
      - ./data:/data
    ports:
      - 8008:8000
    networks:
      - flarum
  database:
    image: mariadb:lts
    environment:
      - name=value
      - MYSQL_ROOT_PASSWORD=flarumpasswd
      - MYSQL_DATABASE=flarum
      - MYSQL_USER=flarum
      - MYSQL_PASSWORD=flarum
    volumes:
      - ./database:/var/lib/mysql
    networks:
      - flarum
networks:
  flarum:
    driver: bridge

Logs

database-1  | 2024-03-24  0:13:29 21 [ERROR] InnoDB: Cannot rename './flarum/flarum_users_tags.ibd' to './flarum/flarum_tag_user.ibd' because the source file does not exist.
runtime-1   | 10.89.0.1 - - [24/Mar/2024:00:13:29 +0000] "POST /api/extensions/flarum-tags HTTP/1.1" 500 57 "http://localhost:8008/admin" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"
database-1  | 2024-03-24  0:13:32 22 [ERROR] InnoDB: Cannot rename './flarum/flarum_users_tags.ibd' to './flarum/flarum_tag_user.ibd' because the source file does not exist.
runtime-1   | 10.89.0.1 - - [24/Mar/2024:00:13:32 +0000] "POST /api/extensions/flarum-tags HTTP/1.1" 500 57 "http://localhost:8008/admin" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"
runtime-1   | 2024/03/24 00:13:33 [info] 634#634: *36 client closed connection while waiting for request, client: 10.89.0.1, server: 0.0.0.0:8000
runtime-1   | 2024/03/24 00:13:33 [info] 634#634: *34 client 10.89.0.1 closed keepalive connection
database-1  | 2024-03-24  0:13:35 23 [ERROR] InnoDB: Cannot rename './flarum/flarum_users_tags.ibd' to './flarum/flarum_tag_user.ibd' because the source file does not exist.
runtime-1   | 10.89.0.1 - - [24/Mar/2024:00:13:35 +0000] "POST /api/extensions/flarum-tags HTTP/1.1" 500 57 "http://localhost:8008/admin" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"
database-1  | 2024-03-24  0:13:37 24 [ERROR] InnoDB: Cannot rename './flarum/flarum_users_tags.ibd' to './flarum/flarum_tag_user.ibd' because the source file does not exist.
runtime-1   | 10.89.0.1 - - [24/Mar/2024:00:13:37 +0000] "POST /api/extensions/flarum-tags HTTP/1.1" 500 57 "http://localhost:8008/admin" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 Edg/122.0.0.0"
runtime-1   | 2024/03/24 00:13:43 [info] 634#634: *40 client closed connection while waiting for request, client: 10.89.0.1, server: 0.0.0.0:8000
runtime-1   | 2024/03/24 00:13:43 [info] 634#634: *38 client 10.89.0.1 closed keepalive connection
database-1  | 2024-03-24  0:13:44 25 [ERROR] InnoDB: Cannot rename './flarum/flarum_users_tags.ibd' to './flarum/flarum_tag_user.ibd' because the source file does not exist.

Additional info

No response

crazy-max commented 2 months ago

Did you install it as explained in https://github.com/crazy-max/docker-flarum?tab=readme-ov-file#manage-extensions?