# Migrate a Vanilla forum to Discourse

**URL:** <https://meta.discourse.org/t/migrate-a-vanilla-forum-to-discourse/27273>\
**Category:** Sysadmins\
**Tags:** how-to\
**Created:** [4월 6, 2015, 9:27오후 UTC](https://meta.discourse.org/t/migrate-a-vanilla-forum-to-discourse/27273 "2015-04-06T21:27:39Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![Don\_Fletcher](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don_fletcher/32/66508_2.png) [@Don\_Fletcher](https://meta.discourse.org/u/Don_Fletcher)\
**Post date:** [1월 26, 2017, 4:11오전 UTC](https://meta.discourse.org/t/migrate-a-vanilla-forum-to-discourse/27273/3 "2017-01-26T04:11:54Z")

</div>

So… I’m trying to import a forum from YAF. I’ve passed through vanilla and I’m trying to follow these instructions.  
I’m running on a bitnami dicourse vm (bitnami-discourse-1.5.3-1-r28-linux-ubuntu-14.04-x86\_64).  
I’ve come to step 5 :  
`RAILS_ENV=production ruby script/import_scripts/vanilla.rb /shared/export.txt`

I get the following error:  
`You are running an old version of bundler, please upgrade bundler ASAP, if you are using Discourse docker, rebuild your container.`  
and  
script/import\_scripts/vanilla.rb:82:in `import_users': undefined method `’ for nil:NilClass (NoMethodError)  
from script/import\_scripts/vanilla.rb:19:in `execute' from /opt/bitnami/apps/discourse/htdocs/script/import_scripts/base.rb:45:in `perform’  
from script/import\_scripts/vanilla.rb:254:in `’  
The bundler version installed in the vm is Bundler version 1.10.4

I don’t get the impression that the bundler error is fatal, but the final error is confusing me. any help here would be appreciated.

Update – if I setup an development environment like described here : [Discourse as Your First Rails App | BlogDiscourse](https://blog.discourse.org/2013/04/discourse-as-your-first-rails-app/)  
I stil get the same fatal error …  
script/import\_scripts/vanilla.rb:82:in `import_users': undefined method `’ for nil:NilClass (NoMethodError)  
from script/import\_scripts/vanilla.rb:19:in `execute' from /opt/bitnami/apps/discourse/htdocs/script/import_scripts/base.rb:45:in `perform’  
from script/import\_scripts/vanilla.rb:254:in `’

---

_[View the full topic](https://meta.discourse.org/t/migrate-a-vanilla-forum-to-discourse/27273)._
