nextcloud / photos

📸 Your memories under your control
GNU Affero General Public License v3.0
517 stars 59 forks source link

[Bug]: No longer able to add additional Photos to Album after creation #2427

Open Vamp898 opened 2 months ago

Vamp898 commented 2 months ago

⚠️ This issue respects the following points: ⚠️

Bug description

This worked in the past, but does no longer since one of the latest updates (sadly can't tell which)

When you create an Album, you can add photos, but after that, you are no longer able to add more photos. You can only upload photos from the device using the file browser, but no longer add already existing photos from the Nextcloud

Steps to reproduce

  1. Create an Album
  2. Add images
  3. Try to add additional images

Expected behavior

An dialog option asking to add from the Nextcloud or local should appear

Installation method

Community Web installer on a VPS or web space

Nextcloud Server version

28

Operating system

Other

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database engine version

MariaDB

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

Updated from a MINOR version (ex. 22.1 to 22.2)

Are you using the Nextcloud Server Encryption module?

None

What user-backends are you using?

Configuration report

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "ignaz.org"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "28.0.4.1",
        "overwrite.cli.url": "https:\/\/ignaz.org\/nextcloud",
        "installed": true,
        "mail_smtpmode": "smtp",
        "mail_smtpauth": 1,
        "mail_sendmailmode": "smtp",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "25",
        "enable_previews": true,
        "enabledPreviewProviders": [
            "OC\\Preview\\Movie",
            "OC\\Preview\\PNG",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\GIF",
            "OC\\Preview\\BMP",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\MP3",
            "OC\\Preview\\MP4",
            "OC\\Preview\\TXT",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\PDF"
        ],
        "maintenance": false,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "theme": "",
        "loglevel": 2,
        "maintenance_window_start": 0,
        "mysql.utf8mb4": true,
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***"
    }
}

List of activated Apps

- activity: 2.20.0
  - calendar: 4.6.7
  - circles: 28.0.0
  - cloud_federation_api: 1.11.0
  - comments: 1.18.0
  - contactsinteraction: 1.9.0
  - dashboard: 7.8.0
  - dav: 1.29.1
  - federatedfilesharing: 1.18.0
  - federation: 1.18.0
  - files: 2.0.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
  - mail: 3.5.7
  - maps: 1.3.1
  - nextcloud_announcements: 1.17.0
  - notes: 4.9.4
  - notifications: 2.16.0
  - oauth2: 1.16.3
  - password_policy: 1.18.0
  - passwords: 2024.4.20
  - photos: 2.4.0
  - previewgenerator: 5.5.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:
  - admin_audit: 1.18.0
  - bruteforcesettings: 2.8.0
  - encryption: 2.16.0
  - files_external: 1.20.0
  - spreed: 18.0.6 (installed 18.0.6)
  - suspicious_login: 6.0.0
  - twofactor_totp: 10.0.0-beta.2 (installed 10.0.0-beta.2)
  - user_ldap: 1.19.0

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

Vamp898 commented 2 months ago

I've just noticed, that i can add images to Albums i created in the past, just not to new albums anymore.

An Album i created some time ago image

This exact dialog no longer appears on newly created albums. When clicking on Add, the File Open dialog from the OS instantly appears, the second option to add new images from the gallery is gone.

Vamp898 commented 2 months ago

I was able to further trace down the issue.

What i tested so far was creating the following Albums

"Test" --> Worked (Able to add images multiple times) "Test2" --> Worked "New Test" --> Doesn't work (not able to add images multiple times) "テスト" --> Doesn't work (not able to add images multiple times) "New_Test --> Worked --> renamed from "New_Test" to "New Test" --> Adding no longer works

Vamp898 commented 2 months ago

Maybe an duplicate of #2378 ? I also can not upload images using the explorer, just tested

haohetao commented 2 months ago

I have same problem

haohetao commented 2 months ago

php occ files:scan --all --generate-metadata