photos icon indicating copy to clipboard operation
photos copied to clipboard

Videos showing up in My Photos

Open JSkier21 opened this issue 4 years ago • 8 comments

Describe the bug When I browse to Your photos, I get video files showing with thumbnails and when I click them the video plays properly. I have attached a screenshot below.

3/7/21 - Updated version of components as issue is still present.

Running on rpi4, ArchLinux

  • NextCloud 20.0.6 - 21
  • Photos 1.2.3 - 1.3.0
  • nginx 1.18.0
  • php 7.4.14 - 7.4.16

When I click Your videos, it works as expected, and only displays video files.

To Reproduce Steps to reproduce the behavior:

  1. Go to Your photos after video files have been uploaded
  2. Click on a video file, player comes up and plays video

Expected behavior I expected that Your photos would only display image files, not video files.

Screenshots image

Desktop (please complete the following information):

  • OS: Linux
  • Browser Chrome (Brave, Firefox also)
  • Version 88.0.4324.96 (Official Build) (64-bit)

Smartphone (please complete the following information):

  • Device: OnePlus 5
  • OS: Android 10
  • Browser NextCloud app
  • Version 3.14.3

Browser log

index.js:46 No OC found
jquery-migrate.min.js:2 JQMIGRATE: Migrate is installed, version 1.4.1
globals.js:60 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.
globals.js:60 $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.
globals.js:60 $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.
globals.js:60 $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.
globals.js:60 $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.
globals.js:60 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.
globals.js:60 $ is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.
globals.js:60 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20
activity-sidebar.js?v=e97c6418-5:603 Uncaught TypeError: Cannot read property 'extend' of undefined
    at activity-sidebar.js?v=e97c6418-5:603
    at activity-sidebar.js?v=e97c6418-5:803
globals.js:60 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20
commentstabview.js:21 Uncaught TypeError: Cannot read property 'extend' of undefined
    at commentstabview.js:21
    at Module.<anonymous> (commentstabview.js:16)
    at n (bootstrap:19)
    at bootstrap:83
    at comments.js?v=e97c6418-5:1
globals.js:60 Handlebars is deprecated: please ship your own, this will be removed in Nextcloud 20
versionstabview.js:18 Uncaught TypeError: Cannot read property 'extend' of undefined
    at Module.<anonymous> (versionstabview.js:18)
    at n (bootstrap:19)
    at bootstrap:83
    at files_versions.js?v=e97c6418-5:1
capabilities.js:32 OC.getCapabilities is deprecated and will be removed in Nextcloud 21. See @nextcloud/capabilities
globals.js:60 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.
globals.js:60 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.
Viewer.vue:217 Please do NOT wait for the DOMContentLoaded before registering your viewer handler
Viewer.vue:511 The following mime is already registered text/csv 
{__ob__: De}
session-heartbeat.js:97 session heartbeat polling started
Viewer.vue:217 Please do NOT wait for the DOMContentLoaded before registering your viewer handler
Viewer.vue:230 Opening viewer for file  /InstantUpload/Camera Video/2021/02/VID_20210201_181002.mp4
globals.js:60 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.
globals.js:60 jQuery is deprecated: The global jQuery is deprecated. It will be updated to v3.x in Nextcloud 21. In later versions of Nextcloud it might be removed completely. Please ship your own.

Additional context Android app Photos section does work as expected; appears to be web browser specific.

JSkier21 avatar Feb 02 '21 17:02 JSkier21

I'm having this same issue.

TheWanderer1983 avatar Mar 07 '21 07:03 TheWanderer1983

cc @Mikescops, :thinking:

skjnldsv avatar Mar 11 '21 07:03 skjnldsv

Same issue!

Joshua2504 avatar Mar 27 '21 21:03 Joshua2504

I think we should have one section where you have your file in a chronological order, then one only for photo and one only for videos OR, on the same chronological page, we should add filter

Aurnytoraink avatar Apr 23 '21 11:04 Aurnytoraink

Also reporting this issue. We have video files that are shown in the "Your photos" view, which is unwanted, and on top of that, the previews for the video files don't work so it just comes up as a bunch of empty space:

Screenshot 2021-10-04 at 18-54-39 Photos - MALS

Client details:

  • OS: Windows 10
  • Browser: Firefox
  • Version: 92.0.1
  • Device: Desktop
Server details

Operating system: Ubuntu 18.04.6 Server LTS

Web server: nginx 1.18.0

Database: PostgreSQL psql 10.18

PHP version: PHP 8.0.11

Nextcloud version: (see Nextcloud admin page) Nextcloud 22.2.0

Where did you install Nextcloud from: nextcloud.com

Signing status:

No errors have been found.

List of activated apps:

Enabled:
  - accessibility: 1.8.0
  - activity: 2.15.0
  - admin_audit: 1.12.0
  - announcementcenter: 6.0.0
  - apporder: 0.13.0
  - bruteforcesettings: 2.2.0
  - calendar: 2.3.4
  - camerarawpreviews: 0.7.12
  - circles: 22.1.1
  - cloud_federation_api: 1.5.0
  - cms_pico: 1.0.16
  - comments: 1.12.0
  - dav: 1.19.0
  - deck: 1.5.3
  - drawio: 1.0.1
  - event_update_notification: 1.3.0
  - external: 3.9.0
  - extract: 1.3.2
  - federatedfilesharing: 1.12.0
  - files: 1.17.0
  - files_downloadactivity: 1.11.1
  - files_linkeditor: 1.1.6
  - files_pdfviewer: 2.3.0
  - files_readmemd: 1.2.0
  - files_rightclick: 1.1.0
  - files_sharing: 1.14.0
  - files_texteditor: 2.14.0
  - files_trashbin: 1.12.0
  - files_versions: 1.15.0
  - files_videoplayer: 1.11.0
  - firstrunwizard: 2.11.0
  - forms: 2.3.0
  - groupfolders: 10.0.0
  - impersonate: 1.9.0
  - integration_whiteboard: 0.0.14
  - logreader: 2.7.0
  - lookup_server_connector: 1.10.0
  - metadata: 0.14.0
  - notes: 4.1.1
  - notifications: 2.10.1
  - oauth2: 1.10.0
  - onlyoffice: 7.1.2
  - password_policy: 1.12.0
  - passwords: 2021.10.20
  - photos: 1.4.0
  - privacy: 1.6.0
  - provisioning_api: 1.12.0
  - quota_warning: 1.11.0
  - ransomware_protection: 1.11.0
  - recommendations: 1.1.0
  - serverinfo: 1.12.0
  - settings: 1.4.0
  - sharebymail: 1.12.0
  - systemtags: 1.12.0
  - tasks: 0.14.2
  - text: 3.3.0
  - theming: 1.13.0
  - twofactor_backupcodes: 1.11.0
  - updatenotification: 1.12.0
  - viewer: 1.6.0
  - workflowengine: 2.4.0
Disabled:
  - contactsinteraction
  - dashboard
  - encryption
  - federation
  - files_external
  - nextcloud_announcements
  - previewgenerator
  - support
  - survey_client
  - user_ldap
  - user_status
  - weather_status

Nextcloud configuration:

{
    "system": {
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "***REMOVED SENSITIVE VALUE***",
            "***REMOVED SENSITIVE VALUE***"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "tempdirectory": "***REMOVED SENSITIVE VALUE***\/__temp",
        "skeletondirectory": "***REMOVED SENSITIVE VALUE***\/__skeleton",
        "templatedirectory": "***REMOVED SENSITIVE VALUE***\/__templates",
        "dbtype": "pgsql",
        "version": "22.2.0.2",
        "overwrite.cli.url": "***REMOVED SENSITIVE VALUE***",
        "htaccess.RewriteBase": "\/",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "log_type": "file",
        "logfile": "\/var\/log\/nextcloud\/nextcloud.log",
        "loglevel": 2,
        "logtimezone": "Australia\/Melbourne",
        "mail_smtpmode": "smtp",
        "remember_login_cookie_lifetime": 0,
        "log_rotate_size": "10485760",
        "trashbin_retention_obligation": "auto, 14",
        "versions_retention_obligation": "auto, 365",
        "simpleSignUpLink.shown": false,
        "login_form_autocomplete": true,
        "filelocking.enabled": true,
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": "6379",
            "dbindex": "0",
            "timeout": "1.5"
        },
        "maintenance": false,
        "default_phone_region": "AU",
        "default_locale": "en_AU",
        "force_locale": "en_AU",
        "default_language": "en",
        "force_language": "en",
        "defaultapp": "activity,files",
        "activity_expire_days": 180,
        "session_lifetime": 14400,
        "session_keepalive": false,
        "auth.webauthn.enabled": false,
        "overwriteprotocol": "https",
        "app_install_overwrite": [
            "activitylog",
            "files_readmemd",
            "files_texteditor"
        ],
        "updater.release.channel": "stable",
        "theme": "",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "forwarded_for_headers": [
            "HTTP_CF_CONNECTING_IP"
        ],
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "updater.secret": "***REMOVED SENSITIVE VALUE***"
    }
}

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... No

Logs

Nextcloud log (data/nextcloud.log)

nooblag avatar Oct 04 '21 07:10 nooblag

Having this issue too

BingoDeeVee avatar Feb 09 '22 23:02 BingoDeeVee

Hello, unfortunately I am also affected by this problem. Is there a workaround or a patch for this? Greetings Manuela

Toolmaster30 avatar Mar 08 '22 09:03 Toolmaster30

And so it is with NC 24.0.1, Photos v1.6.0.

juengling avatar May 30 '22 11:05 juengling

still a problem 24.0.4

codevski avatar Oct 01 '22 00:10 codevski

Fixed on 25

skjnldsv avatar Oct 14 '22 08:10 skjnldsv