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

error when uploading favicon #6791

Closed
justechn opened this issue Apr 25, 2017 · 19 comments
Closed

error when uploading favicon #6791

justechn opened this issue Apr 25, 2017 · 19 comments

Comments

@justechn
Copy link

justechn commented Apr 25, 2017

Rocket.Chat Version: 0.55.1
Running Instances: 1
DB Replicaset OpLog:
Node Version:

I just installed the docker image to test this out, but when I try and upload a favicon I get an error

Invalid file type
image/vnd.microsoft.icon

screen shot 2017-04-25 at 10 35 53 am
this should be a valid favicon format

FYI I used this website to generate the icon incase you want to test it

@saeedjalalisj
Copy link

Hi @MartinSchoeler .
Why this feature is not working?
How to fix it ?

@rrepolona
Copy link

rrepolona commented May 12, 2017

hi,

we also have the same issue with uploading asset files we cannot upload it, saying "Invalid file type"
plus also we have problem deleting the files for favicon.png (64x64/96x96,128x128).

asking assistance anyone have the same problem?

@davidsiaw
Copy link

It is an issue. I cannot upload a favicon too

@ccfiel
Copy link

ccfiel commented Nov 5, 2017

any idea how to solve this problem?

@Supermathie
Copy link

Indeed, us as well on commit 65e06c2. Here's a file I'm having trouble with: rocket-chat-discourse.ico.gz

Created using:

convert rocket-chat-discourse.png -define icon:auto-resize=128,64,48,32,16 rocket-chat-discourse.ico

@kvingedal
Copy link

I have the same issue as well

@cdiegosr
Copy link

cdiegosr commented Feb 3, 2018

we have too!

@rammurthyuio
Copy link

I'm facing the same issue.
Rocket chat version: 0.61.0

Is this solved yet?

@alexleosumy
Copy link

I have the same issue
RocketChat v 0.62.2

@rudygodoy
Copy link

I'm running 0.62.1 and facing the exact same issue. Nothing on logs.

@jamescgalindo
Copy link

You'll need to use another browser. I used Safari and it worked! I was able to set all of my .ico files. Crazy.

@rudygodoy
Copy link

@jamescgalindo I've tested in Safari, Firefox and with the Desktop client. Problem persist.

@jamescgalindo
Copy link

Weird....I'm using Safari Version 11.1 (13605.1.33.1.2)
screen shot 2018-04-15 at 5 31 49 pm

@jamescgalindo
Copy link

I jumped back over to Chrome and all was good.

@rudygodoy
Copy link

I was able to upload the favicon using the latest Firefox. So, the problem seems to be reduced to the desktop app and Safari < 11.1

@thepowerprocess
Copy link

I am getting this error as well. "Invalid file type image/x-icon"

@tassoevan tassoevan assigned tassoevan and unassigned rodrigok Dec 11, 2018
@ooguz
Copy link

ooguz commented Feb 28, 2019

Hello everyone,

I was getting this error and there is no real solution on the web.

The solution is:

  • Go to "Administration"
  • Enter "File Upload" section
  • Append the file type which you get error at the end of "Accepted Media Types" field

Screenshot is on the link:

https://hackerspace.ist/ico_problem_solution.png

Have a nice day!

@yb-shin87
Copy link

I got same issue (File type invalid image/x-icon)...upload favicon.ico even though I added image/x-icon

@jdpond
Copy link

jdpond commented Mar 31, 2019

File type invalid image/x-icon
image
Have tried multiple types of upload and image/x-icon added to File Upload.
Occurs in both client and web browser (Chrome, Firefox, IE, Edge)
Maybe something to do with programs/server/packages/rocketchat_assets.js not explicitly specifying?
mime.extensions['image/x-icon'] = ['ico'];

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests