Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Photos (web) does not display the latest media files scanned by OCC #2506

Closed
5 of 8 tasks
ncheng89 opened this issue Jun 18, 2024 · 1 comment
Closed
5 of 8 tasks
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. 28-feedback bug Something isn't working

Comments

@ncheng89
Copy link

⚠️ This issue respects the following points: ⚠️

Bug description

After upgrading to nc28, files not added through the client are scanned through occ

Mobile (ios): The latest scanned media files can be displayed in the media

Web: The latest scanned media files can be seen at url: /apps/files/files

Web: The latest scanned media files cannot be displayed at url: /apps/photos/, only the latest media files uploaded through the client are displayed

There was no such problem in versions before version 28. After upgrading to version 28, this problem was discovered. However, after upgrading some minor versions on version 28, some previously scanned media files can be displayed again. After the upgrade, the latest scanned media files are not displayed. I guess OCC has enabled some settings when upgrading

Steps to reproduce

  1. Upload some media files on the external storage device (not through the nc client)
  2. Scan through occ scan
  3. The web media tag does not display the latest media files
  4. The mobile client will display the latest media files on the media page

Expected behavior

The media content on the web should be consistent with the media content displayed on the client

Installation method

Community Manual installation with Archive

Nextcloud Server version

28

Operating system

RHEL/CentOS

PHP engine version

PHP 8.2

Web server

Nginx

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 22 to 23)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "192.168.0.*",
            "10.147.17.37"
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "28.0.6.1",
        "overwrite.cli.url": "http:\/\/***.***.com",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "default_language": "zh_CN",
        "default_locale": "zh",
        "default_phone_region": "CN",
        "default_timezone": "Asia\/Shanghai",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "preview_ffmpeg_path": "\/usr\/bin\/ffmpeg",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 0,
            "read_timeout": 0
        },
        "enabledPreviewProviders": [
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\HEIC",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP4",
            "OC\\Preview\\AVI",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\Movie",
            "OC\\Preview\\PDF",
            "OC\\Preview\\Photoshop"
        ],
        "loglevel": 2,
        "maintenance": false,
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauth": 1,
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpsecure": "ssl",
        "mail_smtpport": "465",
        "theme": "",
        "app_install_overwrite": [
            "onlyoffice"
        ],
        "maintenance_window_start": 1
    }
}

List of activated Apps

Enabled:
  - activity: 2.20.0
  - admin_audit: 1.18.0
  - circles: 28.0.0
  - cloud_federation_api: 1.11.0
  - comments: 1.18.0
  - contactsinteraction: 1.9.0
  - dav: 1.29.1
  - federatedfilesharing: 1.18.0
  - federation: 1.18.0
  - files: 2.0.0
  - files_external: 1.20.0
  - files_pdfviewer: 2.9.0
  - files_reminders: 1.1.0
  - files_sharing: 1.20.0
  - files_trashbin: 1.18.0
  - files_versions: 1.21.0
  - firstrunwizard: 2.17.0
  - logreader: 2.13.0
  - lookup_server_connector: 1.16.0
  - nextcloud_announcements: 1.17.0
  - notifications: 2.16.0
  - oauth2: 1.16.3
  - password_policy: 1.18.0
  - photos: 2.4.0
  - privacy: 1.12.0
  - provisioning_api: 1.18.0
  - recommendations: 2.0.0
  - related_resources: 1.3.0
  - serverinfo: 1.18.0
  - settings: 1.10.1
  - sharebymail: 1.18.0
  - support: 1.11.1
  - survey_client: 1.16.0
  - systemtags: 1.18.0
  - text: 3.9.1
  - theming: 2.3.0
  - twofactor_backupcodes: 1.17.0
  - updatenotification: 1.18.0
  - user_status: 1.8.1
  - viewer: 2.2.0
  - weather_status: 1.8.0
  - workflowengine: 2.10.0
Disabled:
  - bruteforcesettings: 2.8.0 (installed 2.2.0)
  - dashboard: 7.8.0 (installed 7.0.0)
  - encryption: 2.16.0
  - suspicious_login: 6.0.0
  - twofactor_totp: 10.0.0-beta.2
  - user_ldap: 1.19.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

No errors have been found.

Additional info

No response

@ncheng89 ncheng89 added 0. Needs triage Pending approval or rejection. This issue is pending approval. bug Something isn't working labels Jun 18, 2024
@joshtrichards joshtrichards changed the title [Bug]: Web media does not display the latest media files scanned by OCC [Bug]: Photos (web) does not display the latest media files scanned by OCC Jun 18, 2024
@joshtrichards
Copy link
Member

joshtrichards commented Jun 18, 2024

Mobile (ios): The latest scanned media files can be displayed in the media

Good

Web: The latest scanned media files can be seen at url: /apps/files/files

Good

Web: The latest scanned media files cannot be displayed at url: /apps/photos/, only the latest media files uploaded through the client are displayed

This is the Photos app. I'll transfer this over there. Not sure why this would be happening offhand.

EDIT: Wait... Yes I do. Photos gets pointed at a specific Media Folder. It's under Photos Settings. It doesn't include every media file in your account by default. So this is expected behavior as of #2319. Multiple directories can also now be added: #2426. And I believe the plan is for mobile to sync up with these settings eventually. Also, I believe you can set it to your root folder, if you prefer the old behavior of "include everything".

@joshtrichards joshtrichards transferred this issue from nextcloud/server Jun 18, 2024
@joshtrichards joshtrichards closed this as not planned Won't fix, can't repro, duplicate, stale Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending approval or rejection. This issue is pending approval. 28-feedback bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants