photos icon indicating copy to clipboard operation
photos copied to clipboard

[Bug]: After creating new album , adding new photos to album doesn't work

Open prbt2016 opened this issue 1 year ago • 5 comments

⚠️ This issue respects the following points: ⚠️

Bug description

Hello ,

I was in the process of manual installation of Nextcloud 29.0.0 on Centos 7 with Apache 2.4, PHP 8.0/8.1/8.2/8.3, MYSQL 8.0.

However, after a successful install I observed that on creating albums. And trying to add new image to the album via 'New' button. After selecting the image, I don't see the image getting added to the album .

Also there are errors in the browser console output.

For example if i try to add image i.e {{IMAGE-NAME}}.jpg following is the browser console output i.e :


TypeError: URL constructor: undefined/{{IMAGE-NAME}}.jpg is not a valid URL.
    upload index-f812dc31.mjs:1705
    onPick index-f812dc31.mjs:3022
    onPick index-f812dc31.mjs:3021
    VueJS 3
        un
        n
        _wrapper
vue.runtime.esm.js:3035:70

Following is the screenshot of the same i.e :

error

What could be the issue?. Could you please replicate.

Steps to reproduce

  1. Install Nextcloud
  2. Go to Photos -> Albums -> New Album 3.Go to the new album . Click Add and then click New
  3. Select the image 5.Image is not added to the album.

Expected behavior

Selected image must have been added to the new album.

Installation method

Community Manual installation with Archive

Nextcloud Server version

29

Operating system

RHEL/CentOS

PHP engine version

PHP 8.0

Web server

Apache (supported)

Database engine version

MySQL 8.0

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

Fresh Nextcloud Server install

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": [
            "{{DOMAIN_NAME}}"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.0.19",
        "overwrite.cli.url": "http:\/\/{{DOMAIN-NAME}}\/{{NEXTCLOUD-FOLDER-NAME}}",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true
    }
}

List of activated Apps

Enabled:
  - activity: 2.21.1
  - circles: 29.0.0-dev
  - cloud_federation_api: 1.12.0
  - comments: 1.19.0
  - contactsinteraction: 1.10.0
  - dashboard: 7.9.0
  - dav: 1.30.1
  - federatedfilesharing: 1.19.0
  - federation: 1.19.0
  - files: 2.1.0
  - files_downloadlimit: 2.0.0
  - files_pdfviewer: 2.10.0
  - files_reminders: 1.2.0
  - files_sharing: 1.21.0
  - files_trashbin: 1.19.0
  - files_versions: 1.22.0
  - firstrunwizard: 2.18.0
  - logreader: 2.14.0
  - lookup_server_connector: 1.17.0
  - nextcloud_announcements: 1.18.0
  - notifications: 2.17.0
  - oauth2: 1.17.0
  - password_policy: 1.19.0
  - photos: 2.5.0
  - privacy: 1.13.0
  - provisioning_api: 1.19.0
  - recommendations: 2.1.0
  - related_resources: 1.4.0
  - serverinfo: 1.19.0
  - settings: 1.12.0
  - sharebymail: 1.19.0
  - support: 1.12.0
  - survey_client: 1.17.0
  - systemtags: 1.19.0
  - text: 3.10.0
  - theming: 2.4.0
  - twofactor_backupcodes: 1.18.0
  - updatenotification: 1.19.1
  - user_status: 1.9.0
  - viewer: 2.3.0
  - weather_status: 1.9.0
  - workflowengine: 2.11.0
Disabled:
  - admin_audit: 1.19.0
  - bruteforcesettings: 2.9.0
  - encryption: 2.17.0
  - files_external: 1.21.0
  - suspicious_login: 7.0.0
  - twofactor_totp: 11.0.0-dev
  - user_ldap: 1.20.0

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

TypeError: URL constructor: undefined/{{IMAGE-NAME}}.jpg is not a valid URL.
    upload index-f812dc31.mjs:1705
    onPick index-f812dc31.mjs:3022
    onPick index-f812dc31.mjs:3021
    VueJS 3
        un
        n
        _wrapper
vue.runtime.esm.js:3035:70

prbt2016 avatar Apr 25 '24 07:04 prbt2016