# Uploading Files to Discourse

**URL:** https://meta.discourse.org/t/uploading-files-to-discourse/185356
**Category:** Support
**Created:** [April 3, 2021, 4:43pm UTC](https://meta.discourse.org/t/uploading-files-to-discourse/185356 "2021-04-03T16:43:18Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![vmsman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/vmsman/32/215633_2.png) [@vmsman](https://meta.discourse.org/u/vmsman)
#### Post date: [April 3, 2021, 4:43pm UTC](https://meta.discourse.org/t/uploading-files-to-discourse/185356/1 "2021-04-03T16:43:18Z")

</div>

My Discourse server allows me to post only Text. I am running the latest version. It looks like Discourse might support uploading graphics in the form of PNG files. However, I have tried even very small files and I get the error:

sorry, there was an error uploading that file. please try again

I have tried over and over and I will see the same error.

in the error log, I am seeing this error:

MaxMindDB (/var/www/discourse/vendor/data/GeoLite2-ASN.mmdb) could not be found: No such file or directory @ rb\_sysopen - /var/www/discourse/vendor/data/GeoLite2-ASN.mmdb

I have loaded phpBB on another server and it does support embedded graphics in a post. After Googling a lot of solutions, it appears that the “files” are legacy and that Discourse only handles text files.

Is that correct or is there a solution to this?

---

<div class="post-metadata">

### Author: ![Benjamin\_D](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/benjamin_d/32/277831_2.png) [@Benjamin\_D](https://meta.discourse.org/u/Benjamin_D)
#### Post date: [April 3, 2021, 5:32pm UTC](https://meta.discourse.org/t/uploading-files-to-discourse/185356/2 "2021-04-03T17:32:30Z")

</div>

Hi,

- about the maxmind error in your log, what to do is detailed here: [Configure MAXMIND for reverse IP lookups](https://meta.discourse.org/t/configuring-maxmind-for-reverse-ip-lookups/173941)
- about the fact that your are not able to upload png, this is not a limitation a discourse, (unless it’s voluntary), something is wrong somewhere 🤔

Considering the error message I don’t think this is linked to TL (did you try as an admin?), [component](https://meta.discourse.org/t/restrict-uploads/112688) or authorized extensions (`https://your.domain/admin/site_settings/category/files?filter=authorized`). Perhaps something on your host is preventing an upload (max size?), what kind of install do you have?

ps. just saw your other post, you can also try to upload something here: [https://try.discourse.org/](https://try.discourse.org/)

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [April 3, 2021, 6:10pm UTC](https://meta.discourse.org/t/uploading-files-to-discourse/185356/3 "2021-04-03T18:10:06Z")

</div>

Did you do a [Discourse official Standard Installation](https://meta.discourse.org/t/discourse-official-standard-installation/142537)?
