-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Avatar migration still not working properly #7385
Comments
Probably related to #7172 |
I'm using the docker rocketchat image, and and i just had a failed migration. Newly uploaded avatars appear to work, but none of the old ones do. My log file looked similar to the above one. My avatar storage was gridfs, my upload storage s3. |
@lucasvanhalst / @khobbits had you guys tried any release candidate prior to rc.3 ? If so your migrations are in a partially functioning state. Please see #7172 where trying to walk through and get instances stuck in a limbo state repaired. |
No, no rc builds here. Upgraded from .56 to .57.
I'll look though that thread tomorrow.
…On 4 Jul 2017 22:44, "Aaron Ogle" ***@***.***> wrote:
@lucasvanhalst <https://github.com/lucasvanhalst> / @khobbits
<https://github.com/khobbits> had you guys tried any release candidate
prior to rc.3 ? If so your migrations are in a partially functioning state.
Please see #7172 <#7172>
where trying to walk through and get instances stuck repaired.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#7385 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAaLC9lgedFPUPYzMJ0dMOni9xBOdKN6ks5sKrJFgaJpZM4OLrc2>
.
|
We don't use docker and hat 5 instances set up on a single 6 core server. In version 0.56.0 we had the problem that avatar went missing random too. We just clean the the avatarchunks from the database (db.avatars.chunks.remove({})) and resynced. |
guys we just released if you were using file system as your avatar storage previous the update, you'll need to set a new environmente variable on first restart to be able to fix the issue. set an env var: |
Does anyone know what will happen if multiple instances have different versions? Edit: comparing the 0.57.1 and 0.57.2 milestones I think I will wait a bit. o.o |
I can confirm that upgrading from 0.57.0 to 0.57.1 does fix my avatars. |
I can also confirm 0.57.1 sort off works, but not completely. I have 58 users, it migrated 48 avatars. Those remaining 10 users now have a blank avatar. Requests for the avatar return status code 200 but with no content. Whatever, not gonna waste any more time on this, they'll just have to upload a new one. |
@sampaiodiego 0.57.1 had also resolved my issues with migrating avatars. But its @lucasvanhalst mentioned, 2 of 12 users are now missing their avatar. There are no errors in the log after first start of the instance and running the migration. |
@sampaiodiego upgraded another env, it seems that there is an issue with jpegs?
|
@TheReal1604 are you getting this on regular uploads or just during the migration? |
Doesn't tested uploads, this one was during the migration. @sampaiodiego |
we have a fresh install of 0.57.1 and the login problem persists - meaning: as soon as we have the avatar sync option turned on, users cannot log in. users that are already logged in get all avatars displayed as they are stored in the LDAP directory. But logging out such a client and trying to re-login fails. LDAPSync ➔ info Syncing user avatar After that, no more info on this login process. Any ideas on that? |
@TheReal1604 which was the avatar file storage and the file upload storage? |
@sampaiodiego @TheReal1604 - we have the same problem while upgrading from 0.56.0 to 0.57.1 - we see the same errors like I have reverted back to 0.56.0 until this is solved. |
@danpospisil The problem seams to be related with your imagemagick Which OS are you using? Can you run |
@rodrigok - I am using the official Docker image for running Rocket.Chat and I see JPEG there:
|
Can confirm, using the official Docker image in
|
@Horgix please try 0.57.2 as it contains an additional bug fix specifically for avatars |
@geekgonecrazy : just updated to
So nothing has been migrated anyway, but now it's not even possible to update avatars:
No idea why it's not trying to look for files directly in |
@sampaiodiego @rodrigok you guys have ideas here? |
@Horgix are you using filesystem to store avatars? Can you show me the configuration? |
@rodrigok yes I am! I'm using the official Docker image with the default configuration that is provided inside it. For reference, here is the
|
We just updated our instance from 0.56 to 0.57.2. I can see some migration steps taking place in the logs. But afterwards for users who had an uploaded avatar it shows a blank image: Startup Logs: https://pastebin.com/raw/vagNu3sH |
@rodrigok - any update on this? |
using avatars in LDAP seems to be still broken on 0.58.2. Whenever the avatar sync option is enabled, users cant login anymore. Anything we can do to help fixing this? |
It looks like that it works already. |
Just to be sure, it isn't fixed in 0.59.1 but moved to 0.60 ? @rodrigok |
Updated to |
Going to go ahead and close. Should be resolved for everyone |
The improved avatar migration (#7352) still isn't working properly, and the error messages aren't really saying much. See the log here: https://pastebin.com/kN7F0Npz
Those avatars are currently stored in the database so I assume it's trying to migrate them to place them on disk but it's not working. I'm using the docker image from dockerhub if that makes a difference. The migration is also marked as being executed successfully while it's clearly not.
Rocket.Chat Version: 010a60a
Running Instances: 1
DB Replicaset OpLog: true
Node Version: 4.6
docker-compose.yml:
The text was updated successfully, but these errors were encountered: