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]: user avatars not shown after migration to S3 Object Storage #45169

Open
5 of 8 tasks
DmSilkin opened this issue May 3, 2024 · 1 comment
Open
5 of 8 tasks

[Bug]: user avatars not shown after migration to S3 Object Storage #45169

DmSilkin opened this issue May 3, 2024 · 1 comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 27-feedback bug needs info

Comments

@DmSilkin
Copy link

DmSilkin commented May 3, 2024

⚠️ This issue respects the following points: ⚠️

Bug description

We are trying to migrate our nextcloud instance from local storage to S3.
After switching storage we noticed that user avatars (LDAP) are not shown.

  1. For example, this is how records look like on old instance with working avatars:
image 2. On the new instance with S3 storage there are more records for the same user: image image

Ho do we restore user avatars on instance with S3 Object Storage?

Steps to reproduce

  1. Migrate to S3

Expected behavior

Avatars are shown

Installation method

None

Nextcloud Server version

27

Operating system

None

PHP engine version

None

Web server

None

Database engine version

PostgreSQL

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

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

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

Configuration report

{
    "system": {
        "memcache.local": "\\OC\\Memcache\\APCu",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "skeletondirectory": "",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": "6379",
            "password": "***REMOVED SENSITIVE VALUE***"
        },
        "objectstore": {
            "class": "OC\\Files\\ObjectStore\\S3",
            "arguments": {
                "bucket": "nextcloud-storage",
                "autocreate": false,
                "key": "***REMOVED SENSITIVE VALUE***",
                "secret": "***REMOVED SENSITIVE VALUE***",
                "hostname": "miniocluster-lb-api.k8s.domain.com",
                "port": 443,
                "use_ssl": true,
                "use_path_style": true
            }
        },
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "nextcloud.k8s.domain.com"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "27.0.0.8",
        "overwrite.cli.url": "http:\/\/localhost",
        "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***",
        "maintenance": false,
        "data-fingerprint": "daac6ea11448abb344c54d66fcf740c3"
    }
}

List of activated Apps

No response

Nextcloud Signing status

No response

Nextcloud Logs

No response

Additional info

No response

@DmSilkin DmSilkin added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug labels May 3, 2024
@joshtrichards
Copy link
Member

Migrate to S3

How, precisely, are you migrating your existing data?

    `"version": "27.0.0.8",`

You're not only running a seriously out of date instance, but one that reached end of support status a long time ago. v27 is still well supported, but the current maintenance release is v27.1.9. Please read up on our maintenance and release approach:

https://docs.nextcloud.com/server/latest/admin_manual/release_schedule.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap 27-feedback bug needs info
Projects
None yet
Development

No branches or pull requests

2 participants