# Migrate an SMF2 forum to Discourse

**URL:** <https://meta.discourse.org/t/migrate-an-smf2-forum-to-discourse/90314>\
**Category:** Sysadmins\
**Tags:** how-to\
**Created:** [June 20, 2018, 2:26pm UTC](https://meta.discourse.org/t/migrate-an-smf2-forum-to-discourse/90314 "2018-06-20T14:26:51Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![FireAllianceNX](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/firealliancenx/32/141959_2.png) [@FireAllianceNX](https://meta.discourse.org/u/FireAllianceNX)\
**Post date:** [May 27, 2019, 1:09am UTC](https://meta.discourse.org/t/migrate-an-smf2-forum-to-discourse/90314/4 "2019-05-27T01:09:33Z")

</div>

So I’ve pretty much followed this guide all the way through (except for the script running with CLI settings rather than the settings.php) I adjusted all the SQL settings, but I am still getting attachment fails.

It’s not very detailed in the error however. Was wondering how I should be troubleshooting this?

Here’s a sample:

```plaintext
    11573 / 27235 ( 42.5%) [1089 items/min] Attachment for post 13812 failed: sf-logo-1.jpg
Attachment for post 13812 failed: sf-logo-2.jpg
    13854 / 27235 ( 50.9%) [1097 items/min] Attachment for post 16815 failed: Kaiah3.JPG
    14757 / 27235 ( 54.2%) [1099 items/min] Attachment for post 18085 failed: 2010-10-29_19-35-06_292.jpg
    17536 / 27235 ( 64.4%) [1094 items/min] Attachment for post 20762 failed: WoWScrnShot_052511_221316.jpg
    17559 / 27235 ( 64.5%) [1094 items/min] Attachment for post 20792 failed: WoWScrnShot_052511_221316.jpg
Attachment for post 20792 failed: WoWScrnShot_052511_221316.jpg
    17562 / 27235 ( 64.5%) [1094 items/min] Attachment for post 20793 failed: WoWScrnShot_052511_221316.jpg
```

All the topics and posts went through, along with users. (There are image links pointing to old servers still and no idea how to fix those either, but that’s for another day.)

My old hosting provider also decided that our SMF hosted server was too outdated now and will be cutting us off next month so now I’m trying to get this imported off the ground ::sigh::

Thank you for this wonderful guide and any help is appreciated.

---

_[View the full topic](https://meta.discourse.org/t/migrate-an-smf2-forum-to-discourse/90314)._
