Ok, so what is the best way to get all the necessary files loaded in for an import? Those scripts require many additional files so I’ve been manually adding the required files as the scripts error out and ask for them.
Ran the “30 minute install” earlier. Now trying to do a test import of my database and noticing a lot of those files aren’t included in the docker package.
XenForo for this test. I managed to make it all the way to the step where I’m to call the xenforo.rb file. Then realized I needed to add several dependencies so I decided to finish the import tomorrow and ask a few questions here in the meantime.
Well, when running xenforo.rb, for example, I’m told that the server can’t find base.rb from the same directory, so I added it. Then I’m told it can’t find /var/discourse/config/environments/ so I’m adding that and files within it.
These dependencies weren’t mentioned in that guide, but the install process does output the errors, so it’s simple enough to know what to add. I can also check the code itself in these files to see what other files are required.
At some point I’ll get them all and be able to run the script, so it’s not a big deal. I was just curious if I was missing something and I’d these files should have been included in the distribution I used or not.
That guide assumes that you have a development installation of Discourse. You should either follow one of the development installation guides or look at another import guide that runs the import inside the container of a production install.
Thanks for that info. I was only aware of the production install guide. Would you mind sharing a link to the development install guide you referenced? I’d love to take a look.
And is there another guide that runs the import in the way that you mentioned? Would love to check that out too if you can provide a link.
Also, I was only aware of this XenForo import guide: Importing Xenforo to Discourse. I had posted some of my import struggles there too, which I suspect could be solved if I use the development install. I would just need to know what steps are needed to convert a development install to production once its ready.