nextcloud/all-in-one

Can not switch to next image

Closed this issue · 3 comments

Steps to reproduce

  1. Go to a folder with more then one photo
  2. Open image
  3. switch to next image by cursor key or the arrow right/left buttons in webview

Expected behavior

Next/preview image opens

Actual behavior

Nothing hapens. Can not go to previous or next image

Other information

Host OS

Debian Trixie

Output of sudo docker info

It's not docker related. It's from frontend.

Docker run command or docker-compose file that you used

# cat docker-compose.yml 
---
services:
  nextcloud:
    image: ghcr.io/nextcloud-releases/all-in-one:latest
    init: true
    restart: unless-stopped
    container_name: nextcloud-aio-mastercontainer
    ports:
      - "8080:8080"
    environment:
      - APACHE_PORT=11000
      - APACHE_IP_BINDING=0.0.0.0
      - SKIP_DOMAIN_VALIDATION=false  # This is required for this setup for local only
      - NC_DOMAIN=nc.schuerz.at
      - NEXTCLOUD_ENABLE_DRI_DEVICE=true
      - FACERECOGNITION_API_KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx=
    volumes:
      - nextcloud_aio_mastercontainer:/mnt/docker-aio-config
      - /var/run/docker.sock:/var/run/docker.sock:ro
volumes:
  nextcloud_aio_mastercontainer:
    name: nextcloud_aio_mastercontainer


networks:
  default:
    driver: bridge
    driver_opts:
      com.docker.network.driver.mtu: 1450

Other valuable info

From Browser (Firefox) devtools: (It's the same in chromium)

Could not open file /Medien/Persönlich/2012/2012_07/2012-07-06_14.24.24.jpg TypeError: can't access property "filename", h is undefined
    currentIndex Viewer.vue:802
    openFileInfo Viewer.vue:802
[Viewer.vue:681:1](https://nc.schuerz.at/apps/viewer/src/views/Viewer.vue)
    openFile Viewer.vue:681

and

TypeError: can't access property "mime", e is undefined
    openFileFromList Viewer.vue:820
    next Viewer.vue:1087
    VueJS 4
    next NcModal.mjs:445
    VueJS 4
    click NcButton-CWPBzbcC.mjs:284
    VueJS 3

Is there a backport to Nextcloud 31 also planned, or do i have to upgrade to the beta nc32? @szaimen

Ok.. just seen, there is a stable release since 2 weeks...
Have upgraded to it...

And surprise: no it does not work. Can not browse images. Same error again.