Skip to content

[BUG] PiwigoNG app not playing videos #85

@Wh1t3Rabyt3

Description

@Wh1t3Rabyt3

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

Hi! o/

After two issues open on Piwigo official Github, people suggested to me to forward my issue directly to your github repo.
The previous thread regarding the issue is: Piwigo/piwigo-flutter-app#224

Context in a nutshell:

  • piwigo installed on docker on OMV (OpenMediaVault)
  • reverse proxy Nginx also on docker, also on OMV
  • all videos with format ".mp4" load and play on the piwigo version in the web browser but not in PiwigoNG app (Android & iOS)

If you need further details, let me know.

Hope you will be able to help mates!

Cheers! \o

Expected Behavior

Video playing on PiwigoNG and Piwigo web version.

Steps To Reproduce

  1. Enable plugins: localfiles editor, VideoJS, Community
  2. In localfiles editor > config.inc.php > enables "$conf['upload_form_all_types'] = true;" from false to true, add mp4 to "$conf['picture_ext'],
    array('tiff', 'tif', 'mpg','zip','avi','mp3','ogg','pdf','svg', 'heic', 'mp4')
    );" and enables "$conf['upload_form_all_types'] = true;" from false to true
  3. Grant album access to a user or a group through normal PAM (Privilege Access Management) and through Community.
  4. Play the video on the web browser (will normally work) and then on PiwigoNG mobile app (will normally not work)

Environment

- OS: OpenMediaVault
- How docker service was installed: docker compose up -d (see below details on the docker-compose.yml

CPU architecture

x86-64

Docker creation

services:
  piwigo:
    image: lscr.io/linuxserver/piwigo:latest
    container_name: piwigo
    restart: unless-stopped
    environment:
      - PUID=1001
      - PGID=1001
      - TZ=Europe/Paris
    volumes:
      - ./config:/config
      - ./gallery:/gallery
      - ./piwigo_overrides/php/php-local.ini:/config/php/php-local.ini
    networks:
      - proxy
      - internal_services
    depends_on:
      - piwigo-db
    labels:
      - "com.centurylink.watchtower.enable=false"

  piwigo-db:
    image: mariadb:10.11
    container_name: piwigo-db
    restart: unless-stopped
    environment:
      - MYSQL_ROOT_PASSWORD=<password>
      - MYSQL_DATABASE=piwigo
      - MYSQL_USER=piwigo
      - MYSQL_PASSWORD=<password>
    volumes:
      - ./database:/var/lib/mysql
    networks:
      - internal_services

networks:
  proxy:
    external: true
  internal_services:
    external: true

Container logs

**docker logs piwigo:**

[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] done
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1001
User GID:    1001
───────────────────────────────────────
Linuxserver.io version: 15.5.0-ls302
Build-date: 2025-04-19T15:30:00+00:00
───────────────────────────────────────
    
using keys found in /config/keys
[custom-init] No custom files found, skipping...
[ls.io-init] done.
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] done
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1001
User GID:    1001
───────────────────────────────────────
Linuxserver.io version: 15.5.0-ls302
Build-date: 2025-04-19T15:30:00+00:00
───────────────────────────────────────
    
using keys found in /config/keys
[custom-init] No custom files found, skipping...
[ls.io-init] done.
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] done
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1001
User GID:    1001
───────────────────────────────────────
Linuxserver.io version: 15.5.0-ls302
Build-date: 2025-04-19T15:30:00+00:00
───────────────────────────────────────
    
using keys found in /config/keys
[custom-init] No custom files found, skipping...
[ls.io-init] done.
[migrations] started
[migrations] 01-nginx-site-confs-default: skipped
[migrations] done
usermod: no changes
───────────────────────────────────────

      ██╗     ███████╗██╗ ██████╗
      ██║     ██╔════╝██║██╔═══██╗
      ██║     ███████╗██║██║   ██║
      ██║     ╚════██║██║██║   ██║
      ███████╗███████║██║╚██████╔╝
      ╚══════╝╚══════╝╚═╝ ╚═════╝

   Brought to you by linuxserver.io
───────────────────────────────────────

To support LSIO projects visit:
https://www.linuxserver.io/donate/

───────────────────────────────────────
GID/UID
───────────────────────────────────────

User UID:    1001
User GID:    1001
───────────────────────────────────────
Linuxserver.io version: 15.5.0-ls302
Build-date: 2025-04-19T15:30:00+00:00
───────────────────────────────────────
    
using keys found in /config/keys
[custom-init] No custom files found, skipping...
[ls.io-init] done.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions