Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

error when uploading favicon

Open justechn opened this issue 9 years ago • 19 comments

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

justechn avatar Apr 25 '17 16:04 justechn

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

saeedjalalisj avatar May 07 '17 14:05 saeedjalalisj

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?

rrepolona avatar May 12 '17 04:05 rrepolona

It is an issue. I cannot upload a favicon too

davidsiaw avatar Jul 25 '17 05:07 davidsiaw

any idea how to solve this problem?

ccfiel avatar Nov 05 '17 14:11 ccfiel

Indeed, us as well on commit 65e06c283226ddb56f2d3a592dfc31df09115421. 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

Supermathie avatar Dec 21 '17 23:12 Supermathie

I have the same issue as well

kvingedal avatar Jan 03 '18 05:01 kvingedal

we have too!

cdiegosr avatar Feb 03 '18 00:02 cdiegosr

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

Is this solved yet?

rammurthyuio avatar Feb 16 '18 19:02 rammurthyuio

I have the same issue RocketChat v 0.62.2

alexleosumy avatar Mar 29 '18 08:03 alexleosumy

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

rudygodoy avatar Apr 10 '18 20:04 rudygodoy

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

jamescgalindo avatar Apr 16 '18 00:04 jamescgalindo

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

rudygodoy avatar Apr 16 '18 00:04 rudygodoy

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

jamescgalindo avatar Apr 16 '18 00:04 jamescgalindo

I jumped back over to Chrome and all was good.

jamescgalindo avatar Apr 16 '18 00:04 jamescgalindo

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

rudygodoy avatar Apr 20 '18 19:04 rudygodoy

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

thepowerprocess avatar Dec 11 '18 08:12 thepowerprocess

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!

ooguz avatar Feb 28 '19 15:02 ooguz

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

yb-shin87 avatar Mar 01 '19 07:03 yb-shin87

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'];

jdpond avatar Mar 31 '19 14:03 jdpond